diff options
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl')
82 files changed, 3197 insertions, 1745 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatedJointImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatedJointImpl.java index f524adff753..23d3072293b 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatedJointImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatedJointImpl.java @@ -20,6 +20,7 @@ public class ActuatedJointImpl extends JointImpl implements ActuatedJoint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ActuatedJointImpl() { @@ -29,6 +30,7 @@ public class ActuatedJointImpl extends JointImpl implements ActuatedJoint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ActuatedJointImpl extends JointImpl implements ActuatedJoint { return RobotMLPackage.Literals.ACTUATED_JOINT; } -} //ActuatedJointImpl +} // ActuatedJointImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorHardwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorHardwareImpl.java index b4860d90af2..54f3a3868e4 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorHardwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorHardwareImpl.java @@ -20,6 +20,7 @@ public class ActuatorHardwareImpl extends HardwareImpl implements ActuatorHardwa /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ActuatorHardwareImpl() { @@ -29,6 +30,7 @@ public class ActuatorHardwareImpl extends HardwareImpl implements ActuatorHardwa /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ActuatorHardwareImpl extends HardwareImpl implements ActuatorHardwa return RobotMLPackage.Literals.ACTUATOR_HARDWARE; } -} //ActuatorHardwareImpl +} // ActuatorHardwareImpl 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 ae80eb3e92e..1f4ad88688f 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 @@ -20,6 +20,7 @@ public class ActuatorSystemImpl extends RoboticSystemImpl implements ActuatorSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ActuatorSystemImpl() { @@ -29,6 +30,7 @@ public class ActuatorSystemImpl extends RoboticSystemImpl implements ActuatorSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ActuatorSystemImpl extends RoboticSystemImpl implements ActuatorSys return RobotMLPackage.Literals.ACTUATOR_SYSTEM; } -} //ActuatorSystemImpl +} // ActuatorSystemImpl 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 25247ece64c..3a00d0df356 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 @@ -21,7 +21,7 @@ import org.eclipse.papyrus.RobotML.Surface; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AgentImpl#getMovesOver <em>Moves Over</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AgentImpl#getMovesOver <em>Moves Over</em>}</li> * </ul> * </p> * @@ -32,6 +32,7 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { * The cached value of the '{@link #getMovesOver() <em>Moves Over</em>}' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMovesOver() * @generated * @ordered @@ -41,6 +42,7 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected AgentImpl() { @@ -50,6 +52,7 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -60,6 +63,7 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EList<Surface> getMovesOver() { @@ -72,13 +76,14 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - return getMovesOver(); + case RobotMLPackage.AGENT__MOVES_OVER: + return getMovesOver(); } return super.eGet(featureID, resolve, coreType); } @@ -86,16 +91,17 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - getMovesOver().clear(); - getMovesOver().addAll((Collection<? extends Surface>)newValue); - return; + case RobotMLPackage.AGENT__MOVES_OVER: + getMovesOver().clear(); + getMovesOver().addAll((Collection<? extends Surface>) newValue); + return; } super.eSet(featureID, newValue); } @@ -103,14 +109,15 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - getMovesOver().clear(); - return; + case RobotMLPackage.AGENT__MOVES_OVER: + getMovesOver().clear(); + return; } super.eUnset(featureID); } @@ -118,15 +125,16 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - return movesOver != null && !movesOver.isEmpty(); + case RobotMLPackage.AGENT__MOVES_OVER: + return movesOver != null && !movesOver.isEmpty(); } return super.eIsSet(featureID); } -} //AgentImpl +} // AgentImpl 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 9b879c3ba5e..8e68cc041b1 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 @@ -22,11 +22,11 @@ import org.eclipse.uml2.uml.Operation; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getBase_Operation <em>Base Operation</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#isIsExternal <em>Is External</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getExtFunctionName <em>Ext Function Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibPath <em>Lib Path</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibFileFormat <em>Lib File Format</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getBase_Operation <em>Base Operation</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#isIsExternal <em>Is External</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getExtFunctionName <em>Ext Function Name</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibPath <em>Lib Path</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibFileFormat <em>Lib File Format</em>}</li> * </ul> * </p> * @@ -37,6 +37,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Operation() * @generated * @ordered @@ -47,6 +48,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The default value of the '{@link #isIsExternal() <em>Is External</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isIsExternal() * @generated * @ordered @@ -57,6 +59,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The cached value of the '{@link #isIsExternal() <em>Is External</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isIsExternal() * @generated * @ordered @@ -67,6 +70,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The default value of the '{@link #getExtFunctionName() <em>Ext Function Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getExtFunctionName() * @generated * @ordered @@ -77,6 +81,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The cached value of the '{@link #getExtFunctionName() <em>Ext Function Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getExtFunctionName() * @generated * @ordered @@ -87,6 +92,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The default value of the '{@link #getLibPath() <em>Lib Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibPath() * @generated * @ordered @@ -97,6 +103,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The cached value of the '{@link #getLibPath() <em>Lib Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibPath() * @generated * @ordered @@ -107,6 +114,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The default value of the '{@link #getLibFileFormat() <em>Lib File Format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibFileFormat() * @generated * @ordered @@ -117,6 +125,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor * The cached value of the '{@link #getLibFileFormat() <em>Lib File Format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibFileFormat() * @generated * @ordered @@ -126,6 +135,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected AlgorithmImpl() { @@ -135,6 +145,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -145,15 +156,17 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Operation getBase_Operation() { if (base_Operation != null && base_Operation.eIsProxy()) { - InternalEObject oldBase_Operation = (InternalEObject)base_Operation; - base_Operation = (Operation)eResolveProxy(oldBase_Operation); + InternalEObject oldBase_Operation = (InternalEObject) base_Operation; + base_Operation = (Operation) eResolveProxy(oldBase_Operation); if (base_Operation != oldBase_Operation) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ALGORITHM__BASE_OPERATION, oldBase_Operation, base_Operation)); + } } } return base_Operation; @@ -162,6 +175,7 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Operation basicGetBase_Operation() { @@ -171,18 +185,21 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public boolean isIsExternal() { @@ -192,18 +209,21 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getExtFunctionName() { @@ -213,18 +233,21 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getLibPath() { @@ -234,18 +257,21 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getLibFileFormat() { @@ -255,34 +281,39 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -290,26 +321,27 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -317,26 +349,27 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -344,21 +377,22 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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); + 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); } @@ -366,11 +400,14 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (isExternal: "); @@ -385,4 +422,4 @@ public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algor return result.toString(); } -} //AlgorithmImpl +} // AlgorithmImpl 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 15ce96084be..24140db848a 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 @@ -20,8 +20,8 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getPath <em>Path</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getPath <em>Path</em>}</li> * </ul> * </p> * @@ -32,6 +32,7 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Class() * @generated * @ordered @@ -42,6 +43,7 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement * The default value of the '{@link #getPath() <em>Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getPath() * @generated * @ordered @@ -52,6 +54,7 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement * The cached value of the '{@link #getPath() <em>Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getPath() * @generated * @ordered @@ -61,6 +64,7 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected AlgorithmLibraryImpl() { @@ -70,6 +74,7 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -80,15 +85,17 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { - InternalEObject oldBase_Class = (InternalEObject)base_Class; - base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); + InternalEObject oldBase_Class = (InternalEObject) base_Class; + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); if (base_Class != oldBase_Class) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS, oldBase_Class, base_Class)); + } } } return base_Class; @@ -97,6 +104,7 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Class basicGetBase_Class() { @@ -106,18 +114,21 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getPath() { @@ -127,28 +138,33 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -156,17 +172,18 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -174,17 +191,18 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -192,15 +210,16 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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); + 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); } @@ -208,11 +227,14 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (path: "); @@ -221,4 +243,4 @@ public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implement return result.toString(); } -} //AlgorithmLibraryImpl +} // AlgorithmLibraryImpl 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 b3ac50715a6..2f1c0f4cc2e 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 @@ -22,7 +22,7 @@ import org.eclipse.uml2.uml.Abstraction; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.AllocateImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.AllocateImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> * </ul> * </p> * @@ -33,6 +33,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca * The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Abstraction() * @generated * @ordered @@ -42,6 +43,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected AllocateImpl() { @@ -51,6 +53,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -61,15 +64,17 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Abstraction getBase_Abstraction() { if (base_Abstraction != null && base_Abstraction.eIsProxy()) { - InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; - base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); + InternalEObject oldBase_Abstraction = (InternalEObject) base_Abstraction; + base_Abstraction = (Abstraction) eResolveProxy(oldBase_Abstraction); if (base_Abstraction != oldBase_Abstraction) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); + } } } return base_Abstraction; @@ -78,6 +83,7 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Abstraction basicGetBase_Abstraction() { @@ -87,26 +93,31 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + if (resolve) { + return getBase_Abstraction(); + } + return basicGetBase_Abstraction(); } return super.eGet(featureID, resolve, coreType); } @@ -114,14 +125,15 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)newValue); - return; + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction) newValue); + return; } super.eSet(featureID, newValue); } @@ -129,14 +141,15 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)null); - return; + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction) null); + return; } super.eUnset(featureID); } @@ -144,15 +157,16 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: - return base_Abstraction != null; + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + return base_Abstraction != null; } return super.eIsSet(featureID); } -} //AllocateImpl +} // AllocateImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ArmImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ArmImpl.java index 571e968c58d..a94a058c14c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ArmImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ArmImpl.java @@ -22,6 +22,7 @@ public class ArmImpl extends MinimalEObjectImpl.Container implements Arm { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ArmImpl() { @@ -31,6 +32,7 @@ public class ArmImpl extends MinimalEObjectImpl.Container implements Arm { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -38,4 +40,4 @@ public class ArmImpl extends MinimalEObjectImpl.Container implements Arm { return RobotMLPackage.Literals.ARM; } -} //ArmImpl +} // ArmImpl 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 567e5ed8f32..a151142a30f 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 @@ -19,10 +19,10 @@ import org.eclipse.papyrus.RobotML.Shade; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugMode <em>Debug Mode</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugDisplay <em>Debug Display</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#getGravity <em>Gravity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#get_viewport_shade <em>viewport shade</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugMode <em>Debug Mode</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugDisplay <em>Debug Display</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#getGravity <em>Gravity</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#get_viewport_shade <em>viewport shade</em>}</li> * </ul> * </p> * @@ -33,6 +33,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The default value of the '{@link #isDebugMode() <em>Debug Mode</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isDebugMode() * @generated * @ordered @@ -43,6 +44,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #isDebugMode() <em>Debug Mode</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isDebugMode() * @generated * @ordered @@ -53,6 +55,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The default value of the '{@link #isDebugDisplay() <em>Debug Display</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isDebugDisplay() * @generated * @ordered @@ -63,6 +66,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #isDebugDisplay() <em>Debug Display</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isDebugDisplay() * @generated * @ordered @@ -73,6 +77,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The default value of the '{@link #getGravity() <em>Gravity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getGravity() * @generated * @ordered @@ -83,6 +88,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #getGravity() <em>Gravity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getGravity() * @generated * @ordered @@ -93,6 +99,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The default value of the '{@link #get_viewport_shade() <em>viewport shade</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #get_viewport_shade() * @generated * @ordered @@ -103,6 +110,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #get_viewport_shade() <em>viewport shade</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #get_viewport_shade() * @generated * @ordered @@ -112,6 +120,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected BlenderMorseImpl() { @@ -121,6 +130,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -131,6 +141,7 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public boolean isDebugMode() { @@ -140,18 +151,21 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public boolean isDebugDisplay() { @@ -161,18 +175,21 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getGravity() { @@ -182,18 +199,21 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Shade get_viewport_shade() { @@ -203,31 +223,34 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -235,23 +258,24 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -259,23 +283,24 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -283,19 +308,20 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -303,11 +329,14 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (debugMode: "); @@ -322,4 +351,4 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor return result.toString(); } -} //BlenderMorseImpl +} // BlenderMorseImpl 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 39da8c1cc84..5a4805d2bd1 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 @@ -20,6 +20,7 @@ public class BuildingImpl extends PhysicalObjectImpl implements Building { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected BuildingImpl() { @@ -29,6 +30,7 @@ public class BuildingImpl extends PhysicalObjectImpl implements Building { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class BuildingImpl extends PhysicalObjectImpl implements Building { return RobotMLPackage.Literals.BUILDING; } -} //BuildingImpl +} // BuildingImpl 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 2319dc8d91c..f90a793d086 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 @@ -22,15 +22,15 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_u <em>Alpha u</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_v <em>Alpha v</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getU0 <em>U0</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getV0 <em>V0</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getColor_format <em>Color format</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getTranslate <em>Translate</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getRotate <em>Rotate</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getWidth <em>Width</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getHeight <em>Height</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_u <em>Alpha u</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_v <em>Alpha v</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getU0 <em>U0</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getV0 <em>V0</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getColor_format <em>Color format</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getTranslate <em>Translate</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getRotate <em>Rotate</em>}</li> * </ul> * </p> * @@ -41,6 +41,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWidth() * @generated * @ordered @@ -51,6 +52,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWidth() * @generated * @ordered @@ -61,6 +63,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getHeight() <em>Height</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getHeight() * @generated * @ordered @@ -71,6 +74,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getHeight() * @generated * @ordered @@ -81,6 +85,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getAlpha_u() <em>Alpha u</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAlpha_u() * @generated * @ordered @@ -91,6 +96,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getAlpha_u() <em>Alpha u</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAlpha_u() * @generated * @ordered @@ -101,6 +107,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getAlpha_v() <em>Alpha v</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAlpha_v() * @generated * @ordered @@ -111,6 +118,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getAlpha_v() <em>Alpha v</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAlpha_v() * @generated * @ordered @@ -121,6 +129,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getU0() <em>U0</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getU0() * @generated * @ordered @@ -131,6 +140,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getU0() <em>U0</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getU0() * @generated * @ordered @@ -141,6 +151,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getV0() <em>V0</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getV0() * @generated * @ordered @@ -151,6 +162,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getV0() <em>V0</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getV0() * @generated * @ordered @@ -161,6 +173,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getColor_format() <em>Color format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getColor_format() * @generated * @ordered @@ -171,6 +184,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getColor_format() <em>Color format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getColor_format() * @generated * @ordered @@ -181,6 +195,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getTranslate() <em>Translate</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTranslate() * @generated * @ordered @@ -191,6 +206,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getRotate() <em>Rotate</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getRotate() * @generated * @ordered @@ -200,6 +216,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected CameraSystemImpl() { @@ -209,6 +226,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -219,6 +237,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public long getWidth() { @@ -228,18 +247,21 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public long getHeight() { @@ -249,18 +271,21 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getAlpha_u() { @@ -270,18 +295,21 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getAlpha_v() { @@ -291,18 +319,21 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getU0() { @@ -312,18 +343,21 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getV0() { @@ -333,18 +367,21 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getColor_format() { @@ -354,18 +391,21 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Point32 getTranslate() { @@ -375,6 +415,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public NotificationChain basicSetTranslate(Point32 newTranslate, NotificationChain msgs) { @@ -382,7 +423,11 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys translate = newTranslate; 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; } @@ -390,25 +435,32 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setTranslate(Point32 newTranslate) { if (newTranslate != translate) { NotificationChain msgs = null; - if (translate != null) - msgs = ((InternalEObject)translate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, null, msgs); - if (newTranslate != null) - msgs = ((InternalEObject)newTranslate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, null, msgs); + if (translate != null) { + msgs = ((InternalEObject) translate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, null, msgs); + } + 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(); + if (msgs != null) { + msgs.dispatch(); + } } - else if (eNotificationRequired()) + else if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, newTranslate, newTranslate)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Point32 getRotate() { @@ -418,6 +470,7 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public NotificationChain basicSetRotate(Point32 newRotate, NotificationChain msgs) { @@ -425,7 +478,11 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys rotate = newRotate; 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; } @@ -433,34 +490,41 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setRotate(Point32 newRotate) { if (newRotate != rotate) { NotificationChain msgs = null; - if (rotate != null) - msgs = ((InternalEObject)rotate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__ROTATE, null, msgs); - if (newRotate != null) - msgs = ((InternalEObject)newRotate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__ROTATE, null, msgs); + if (rotate != null) { + msgs = ((InternalEObject) rotate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__ROTATE, null, msgs); + } + 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(); + if (msgs != null) { + msgs.dispatch(); + } } - else if (eNotificationRequired()) + else if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__ROTATE, newRotate, newRotate)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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); + case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: + return basicSetTranslate(null, msgs); + case RobotMLPackage.CAMERA_SYSTEM__ROTATE: + return basicSetRotate(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -468,29 +532,30 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -498,38 +563,39 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -537,38 +603,39 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -576,29 +643,30 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -606,11 +674,14 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (width: "); @@ -631,4 +702,4 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys return result.toString(); } -} //CameraSystemImpl +} // CameraSystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ChassisImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ChassisImpl.java index 265cc796f5e..d3011dbc156 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ChassisImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ChassisImpl.java @@ -20,6 +20,7 @@ public class ChassisImpl extends SupportingStructureImpl implements Chassis { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ChassisImpl() { @@ -29,6 +30,7 @@ public class ChassisImpl extends SupportingStructureImpl implements Chassis { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ChassisImpl extends SupportingStructureImpl implements Chassis { return RobotMLPackage.Literals.CHASSIS; } -} //ChassisImpl +} // ChassisImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ClosedLoopControlSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ClosedLoopControlSystemImpl.java index d41acff0974..14e2cebd099 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ClosedLoopControlSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ClosedLoopControlSystemImpl.java @@ -20,6 +20,7 @@ public class ClosedLoopControlSystemImpl extends CyberPhysicalSystemImpl impleme /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ClosedLoopControlSystemImpl() { @@ -29,6 +30,7 @@ public class ClosedLoopControlSystemImpl extends CyberPhysicalSystemImpl impleme /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ClosedLoopControlSystemImpl extends CyberPhysicalSystemImpl impleme return RobotMLPackage.Literals.CLOSED_LOOP_CONTROL_SYSTEM; } -} //ClosedLoopControlSystemImpl +} // ClosedLoopControlSystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CompleteBondingImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CompleteBondingImpl.java index 99e8504ae69..66b46cfa033 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CompleteBondingImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CompleteBondingImpl.java @@ -20,6 +20,7 @@ public class CompleteBondingImpl extends JointImpl implements CompleteBonding { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected CompleteBondingImpl() { @@ -29,6 +30,7 @@ public class CompleteBondingImpl extends JointImpl implements CompleteBonding { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class CompleteBondingImpl extends JointImpl implements CompleteBonding { return RobotMLPackage.Literals.COMPLETE_BONDING; } -} //CompleteBondingImpl +} // CompleteBondingImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CyberPhysicalSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CyberPhysicalSystemImpl.java index 1906829a703..d09fbd48dd1 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CyberPhysicalSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CyberPhysicalSystemImpl.java @@ -20,6 +20,7 @@ public class CyberPhysicalSystemImpl extends SystemImpl implements CyberPhysical /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected CyberPhysicalSystemImpl() { @@ -29,6 +30,7 @@ public class CyberPhysicalSystemImpl extends SystemImpl implements CyberPhysical /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class CyberPhysicalSystemImpl extends SystemImpl implements CyberPhysical return RobotMLPackage.Literals.CYBER_PHYSICAL_SYSTEM; } -} //CyberPhysicalSystemImpl +} // CyberPhysicalSystemImpl 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 081d70b4325..11ae7fcd1c1 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 @@ -18,9 +18,9 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#isUseRealTime <em>Use Real Time</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeStep <em>Time Step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeFactor <em>Time Factor</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#isUseRealTime <em>Use Real Time</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeStep <em>Time Step</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeFactor <em>Time Factor</em>}</li> * </ul> * </p> * @@ -31,6 +31,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The default value of the '{@link #isUseRealTime() <em>Use Real Time</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isUseRealTime() * @generated * @ordered @@ -41,6 +42,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The cached value of the '{@link #isUseRealTime() <em>Use Real Time</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isUseRealTime() * @generated * @ordered @@ -51,6 +53,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The default value of the '{@link #getTimeStep() <em>Time Step</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTimeStep() * @generated * @ordered @@ -61,6 +64,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The cached value of the '{@link #getTimeStep() <em>Time Step</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTimeStep() * @generated * @ordered @@ -71,6 +75,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The default value of the '{@link #getTimeFactor() <em>Time Factor</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTimeFactor() * @generated * @ordered @@ -81,6 +86,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The cached value of the '{@link #getTimeFactor() <em>Time Factor</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTimeFactor() * @generated * @ordered @@ -90,6 +96,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected CycabTKImpl() { @@ -99,6 +106,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -109,6 +117,7 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public boolean isUseRealTime() { @@ -118,18 +127,21 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getTimeStep() { @@ -139,18 +151,21 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getTimeFactor() { @@ -160,29 +175,32 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -190,20 +208,21 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -211,20 +230,21 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -232,17 +252,18 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -250,11 +271,14 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (useRealTime: "); @@ -267,4 +291,4 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { return result.toString(); } -} //CycabTKImpl +} // CycabTKImpl 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 1f3ad174d82..e6100d73240 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 @@ -21,8 +21,8 @@ import org.eclipse.uml2.uml.Stereotype; * <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getDirection <em>Direction</em>}</li>
- * <li>{@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getBufferSize <em>Buffer Size</em>}</li>
+ * <li>{@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getBufferSize <em>Buffer Size</em>}</li>
* </ul>
* </p>
*
@@ -33,6 +33,7 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -43,6 +44,7 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDirection()
* @generated
* @ordered
@@ -53,6 +55,7 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { * The default value of the '{@link #getBufferSize() <em>Buffer Size</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBufferSize()
* @generated
* @ordered
@@ -63,6 +66,7 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { * The cached value of the '{@link #getBufferSize() <em>Buffer Size</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBufferSize()
* @generated
* @ordered
@@ -72,6 +76,7 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DataFlowPortImpl() {
@@ -81,6 +86,7 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -91,6 +97,7 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DataFlowDirectionKind getDirection() {
@@ -100,18 +107,21 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getBufferSize() {
@@ -121,27 +131,30 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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();
+ case RobotMLPackage.DATA_FLOW_PORT__DIRECTION:
+ return getDirection();
+ case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE:
+ return getBufferSize();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -149,17 +162,18 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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;
+ 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);
}
@@ -167,17 +181,18 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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;
+ 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);
}
@@ -185,15 +200,16 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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;
+ 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);
}
@@ -201,11 +217,14 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (direction: ");
@@ -215,14 +234,14 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { result.append(')');
return result.toString();
}
-
+
/**
* <!-- begin-user-doc -->
* Images registered in Profile are :
- *
+ *
* 0 - FlowPort IN
* 1 - FlowPort OUT
- *
+ *
* <!-- end-user-doc -->.
*
* @return the icon
@@ -230,16 +249,15 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { */
public Image getIcon() {
Image ImageNotFound = null;
- if(getBase_Port() != null) {
+ if (getBase_Port() != null) {
Stereotype st = getBase_Port().getAppliedStereotype("RobotML::DataFlowPort");
Image image = st.getIcons().get(0);
- if(getDirection() == DataFlowDirectionKind.OUT) {
+ if (getDirection() == DataFlowDirectionKind.OUT) {
image = st.getIcons().get(1);
- }else
- if(getDirection() == DataFlowDirectionKind.INOUT) {
- image = st.getIcons().get(2);
- }
+ } else if (getDirection() == DataFlowDirectionKind.INOUT) {
+ image = st.getIcons().get(2);
+ }
return image;
} else {
@@ -247,4 +265,4 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { }
}
-} //DataFlowPortImpl
+} // DataFlowPortImpl
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 973fab8093a..7fd49d733de 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 @@ -22,8 +22,8 @@ import org.eclipse.uml2.uml.InstanceSpecification; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getBase_Package <em>Base Package</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getMainInstance <em>Main Instance</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getBase_Package <em>Base Package</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getMainInstance <em>Main Instance</em>}</li> * </ul> * </p> * @@ -34,6 +34,7 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Package() * @generated * @ordered @@ -44,6 +45,7 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getMainInstance() <em>Main Instance</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMainInstance() * @generated * @ordered @@ -53,6 +55,7 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected DeploymentPlanImpl() { @@ -62,6 +65,7 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -72,15 +76,17 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Package getBase_Package() { if (base_Package != null && base_Package.eIsProxy()) { - InternalEObject oldBase_Package = (InternalEObject)base_Package; - base_Package = (org.eclipse.uml2.uml.Package)eResolveProxy(oldBase_Package); + InternalEObject oldBase_Package = (InternalEObject) base_Package; + base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package); if (base_Package != oldBase_Package) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE, oldBase_Package, base_Package)); + } } } return base_Package; @@ -89,6 +95,7 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Package basicGetBase_Package() { @@ -98,27 +105,31 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public InstanceSpecification getMainInstance() { if (mainInstance != null && mainInstance.eIsProxy()) { - InternalEObject oldMainInstance = (InternalEObject)mainInstance; - mainInstance = (InstanceSpecification)eResolveProxy(oldMainInstance); + InternalEObject oldMainInstance = (InternalEObject) mainInstance; + mainInstance = (InstanceSpecification) eResolveProxy(oldMainInstance); if (mainInstance != oldMainInstance) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE, oldMainInstance, mainInstance)); + } } } return mainInstance; @@ -127,6 +138,7 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public InstanceSpecification basicGetMainInstance() { @@ -136,29 +148,36 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -166,17 +185,18 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -184,17 +204,18 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -202,17 +223,18 @@ public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: + return base_Package != null; + case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: + return mainInstance != null; } return super.eIsSet(featureID); } -} //DeploymentPlanImpl +} // DeploymentPlanImpl 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 d166babe3eb..324da357ef6 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 @@ -18,12 +18,12 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getVehicleTraction <em>Vehicle Traction</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxEngineForce <em>Max Engine Force</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxBreakingForce <em>Max Breaking Force</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedSteering <em>Max Allowed Steering</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedVelocity <em>Max Allowed Velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getGear_ration <em>Gear ration</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getVehicleTraction <em>Vehicle Traction</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxEngineForce <em>Max Engine Force</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxBreakingForce <em>Max Breaking Force</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedSteering <em>Max Allowed Steering</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedVelocity <em>Max Allowed Velocity</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getGear_ration <em>Gear ration</em>}</li> * </ul> * </p> * @@ -34,6 +34,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getVehicleTraction() <em>Vehicle Traction</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getVehicleTraction() * @generated * @ordered @@ -44,6 +45,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getVehicleTraction() <em>Vehicle Traction</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getVehicleTraction() * @generated * @ordered @@ -54,6 +56,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxEngineForce() <em>Max Engine Force</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxEngineForce() * @generated * @ordered @@ -64,6 +67,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxEngineForce() <em>Max Engine Force</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxEngineForce() * @generated * @ordered @@ -74,6 +78,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxBreakingForce() <em>Max Breaking Force</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxBreakingForce() * @generated * @ordered @@ -84,6 +89,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxBreakingForce() <em>Max Breaking Force</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxBreakingForce() * @generated * @ordered @@ -94,6 +100,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxAllowedSteering() <em>Max Allowed Steering</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxAllowedSteering() * @generated * @ordered @@ -104,6 +111,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxAllowedSteering() <em>Max Allowed Steering</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxAllowedSteering() * @generated * @ordered @@ -114,6 +122,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxAllowedVelocity() <em>Max Allowed Velocity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxAllowedVelocity() * @generated * @ordered @@ -124,6 +133,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxAllowedVelocity() <em>Max Allowed Velocity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMaxAllowedVelocity() * @generated * @ordered @@ -134,6 +144,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getGear_ration() <em>Gear ration</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getGear_ration() * @generated * @ordered @@ -144,6 +155,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getGear_ration() <em>Gear ration</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getGear_ration() * @generated * @ordered @@ -153,6 +165,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected EngineSystemImpl() { @@ -162,6 +175,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -172,6 +186,7 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getVehicleTraction() { @@ -181,18 +196,21 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getMaxEngineForce() { @@ -202,18 +220,21 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getMaxBreakingForce() { @@ -223,18 +244,21 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getMaxAllowedSteering() { @@ -244,18 +268,21 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getMaxAllowedVelocity() { @@ -265,18 +292,21 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getGear_ration() { @@ -286,35 +316,38 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -322,29 +355,30 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -352,29 +386,30 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -382,23 +417,24 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -406,11 +442,14 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (vehicleTraction: "); @@ -429,4 +468,4 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem return result.toString(); } -} //EngineSystemImpl +} // EngineSystemImpl 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 10e353504b4..fb3faac8e7a 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 @@ -20,6 +20,7 @@ public class EnvironmentImpl extends SystemImpl implements Environment { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected EnvironmentImpl() { @@ -29,6 +30,7 @@ public class EnvironmentImpl extends SystemImpl implements Environment { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class EnvironmentImpl extends SystemImpl implements Environment { return RobotMLPackage.Literals.ENVIRONMENT; } -} //EnvironmentImpl +} // EnvironmentImpl 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 index 2f4ebf6ecee..651938c9fed 100644 --- 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 @@ -22,9 +22,9 @@ import org.eclipse.uml2.uml.Interface; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getLibPath <em>Lib Path</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getLibFileFormat <em>Lib File Format</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getBase_Interface <em>Base Interface</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getLibPath <em>Lib Path</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getLibFileFormat <em>Lib File Format</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getBase_Interface <em>Base Interface</em>}</li> * </ul> * </p> * @@ -35,6 +35,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements * The default value of the '{@link #getLibPath() <em>Lib Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibPath() * @generated * @ordered @@ -45,6 +46,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getLibPath() <em>Lib Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibPath() * @generated * @ordered @@ -55,6 +57,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements * The default value of the '{@link #getLibFileFormat() <em>Lib File Format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibFileFormat() * @generated * @ordered @@ -65,6 +68,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getLibFileFormat() <em>Lib File Format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibFileFormat() * @generated * @ordered @@ -75,6 +79,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getBase_Interface() <em>Base Interface</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Interface() * @generated * @ordered @@ -84,6 +89,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ExternalLibraryImpl() { @@ -93,6 +99,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -103,6 +110,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getLibPath() { @@ -112,18 +120,21 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setLibPath(String newLibPath) { String oldLibPath = libPath; libPath = newLibPath; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.EXTERNAL_LIBRARY__LIB_PATH, oldLibPath, libPath)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getLibFileFormat() { @@ -133,27 +144,31 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setLibFileFormat(String newLibFileFormat) { String oldLibFileFormat = libFileFormat; libFileFormat = newLibFileFormat; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.EXTERNAL_LIBRARY__LIB_FILE_FORMAT, oldLibFileFormat, libFileFormat)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Interface getBase_Interface() { if (base_Interface != null && base_Interface.eIsProxy()) { - InternalEObject oldBase_Interface = (InternalEObject)base_Interface; - base_Interface = (Interface)eResolveProxy(oldBase_Interface); + InternalEObject oldBase_Interface = (InternalEObject) base_Interface; + base_Interface = (Interface) eResolveProxy(oldBase_Interface); if (base_Interface != oldBase_Interface) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE, oldBase_Interface, base_Interface)); + } } } return base_Interface; @@ -162,6 +177,7 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Interface basicGetBase_Interface() { @@ -171,30 +187,35 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setBase_Interface(Interface newBase_Interface) { Interface oldBase_Interface = base_Interface; base_Interface = newBase_Interface; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE, oldBase_Interface, base_Interface)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -202,20 +223,21 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -223,20 +245,21 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -244,17 +267,18 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -262,11 +286,14 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (libPath: "); @@ -277,4 +304,4 @@ public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements return result.toString(); } -} //ExternalLibraryImpl +} // 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 b59633cb375..99f00ccddeb 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 @@ -20,6 +20,7 @@ public class FloorImpl extends GroundImpl implements Floor { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected FloorImpl() { @@ -29,6 +30,7 @@ public class FloorImpl extends GroundImpl implements Floor { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class FloorImpl extends GroundImpl implements Floor { return RobotMLPackage.Literals.FLOOR; } -} //FloorImpl +} // FloorImpl 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 8cfad313d64..471030e9d7e 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 @@ -22,7 +22,7 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.GPSSystemImpl#getOriginPosition <em>Origin Position</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.GPSSystemImpl#getOriginPosition <em>Origin Position</em>}</li> * </ul> * </p> * @@ -33,6 +33,7 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy * The cached value of the '{@link #getOriginPosition() <em>Origin Position</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getOriginPosition() * @generated * @ordered @@ -42,6 +43,7 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected GPSSystemImpl() { @@ -51,6 +53,7 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -61,6 +64,7 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Point32 getOriginPosition() { @@ -70,6 +74,7 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public NotificationChain basicSetOriginPosition(Point32 newOriginPosition, NotificationChain msgs) { @@ -77,7 +82,11 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy originPosition = newOriginPosition; 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; } @@ -85,32 +94,39 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setOriginPosition(Point32 newOriginPosition) { if (newOriginPosition != originPosition) { NotificationChain msgs = null; - if (originPosition != null) - msgs = ((InternalEObject)originPosition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, null, msgs); - if (newOriginPosition != null) - msgs = ((InternalEObject)newOriginPosition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, null, msgs); + if (originPosition != null) { + msgs = ((InternalEObject) originPosition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, null, msgs); + } + 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(); + if (msgs != null) { + msgs.dispatch(); + } } - else if (eNotificationRequired()) + else if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, newOriginPosition, newOriginPosition)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - return basicSetOriginPosition(null, msgs); + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + return basicSetOriginPosition(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -118,13 +134,14 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - return getOriginPosition(); + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + return getOriginPosition(); } return super.eGet(featureID, resolve, coreType); } @@ -132,14 +149,15 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - setOriginPosition((Point32)newValue); - return; + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + setOriginPosition((Point32) newValue); + return; } super.eSet(featureID, newValue); } @@ -147,14 +165,15 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - setOriginPosition((Point32)null); - return; + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + setOriginPosition((Point32) null); + return; } super.eUnset(featureID); } @@ -162,15 +181,16 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - return originPosition != null; + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + return originPosition != null; } return super.eIsSet(featureID); } -} //GPSSystemImpl +} // GPSSystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingHardwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingHardwareImpl.java index 7b41b7b587c..d68e87a0dfb 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingHardwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingHardwareImpl.java @@ -20,6 +20,7 @@ public class GraspingHardwareImpl extends ActuatorHardwareImpl implements Graspi /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected GraspingHardwareImpl() { @@ -29,6 +30,7 @@ public class GraspingHardwareImpl extends ActuatorHardwareImpl implements Graspi /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class GraspingHardwareImpl extends ActuatorHardwareImpl implements Graspi return RobotMLPackage.Literals.GRASPING_HARDWARE; } -} //GraspingHardwareImpl +} // GraspingHardwareImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingSystemImpl.java index 9532c6814c0..387072c8b00 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GraspingSystemImpl.java @@ -20,6 +20,7 @@ public class GraspingSystemImpl extends ActuatorSystemImpl implements GraspingSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected GraspingSystemImpl() { @@ -29,6 +30,7 @@ public class GraspingSystemImpl extends ActuatorSystemImpl implements GraspingSy /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class GraspingSystemImpl extends ActuatorSystemImpl implements GraspingSy return RobotMLPackage.Literals.GRASPING_SYSTEM; } -} //GraspingSystemImpl +} // GraspingSystemImpl 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 129f661b7c9..80e39f47084 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 @@ -20,6 +20,7 @@ public abstract class GroundImpl extends SurfaceImpl implements Ground { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected GroundImpl() { @@ -29,6 +30,7 @@ public abstract class GroundImpl extends SurfaceImpl implements Ground { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public abstract class GroundImpl extends SurfaceImpl implements Ground { return RobotMLPackage.Literals.GROUND; } -} //GroundImpl +} // GroundImpl 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 9bcad8da8a8..34895b64b08 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 @@ -20,6 +20,7 @@ public class GyroscopeImpl extends SensorSystemImpl implements Gyroscope { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected GyroscopeImpl() { @@ -29,6 +30,7 @@ public class GyroscopeImpl extends SensorSystemImpl implements Gyroscope { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class GyroscopeImpl extends SensorSystemImpl implements Gyroscope { return RobotMLPackage.Literals.GYROSCOPE; } -} //GyroscopeImpl +} // GyroscopeImpl 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 2bba127b108..b947a21c869 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 @@ -20,6 +20,7 @@ public class HardwareImpl extends PhysicalObjectImpl implements Hardware { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected HardwareImpl() { @@ -29,6 +30,7 @@ public class HardwareImpl extends PhysicalObjectImpl implements Hardware { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class HardwareImpl extends PhysicalObjectImpl implements Hardware { return RobotMLPackage.Literals.HARDWARE; } -} //HardwareImpl +} // HardwareImpl 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 e33e1162c71..96bf2fea1e8 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 @@ -20,6 +20,7 @@ public class HumanImpl extends AgentImpl implements Human { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected HumanImpl() { @@ -29,6 +30,7 @@ public class HumanImpl extends AgentImpl implements Human { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class HumanImpl extends AgentImpl implements Human { return RobotMLPackage.Literals.HUMAN; } -} //HumanImpl +} // HumanImpl 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 b3331f78e80..f8c49cc2375 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 @@ -20,6 +20,7 @@ public class ImageSensorSystemImpl extends SensorSystemImpl implements ImageSens /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ImageSensorSystemImpl() { @@ -29,6 +30,7 @@ public class ImageSensorSystemImpl extends SensorSystemImpl implements ImageSens /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ImageSensorSystemImpl extends SensorSystemImpl implements ImageSens return RobotMLPackage.Literals.IMAGE_SENSOR_SYSTEM; } -} //ImageSensorSystemImpl +} // ImageSensorSystemImpl 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 60ed911f479..2f187a5b230 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 @@ -20,6 +20,7 @@ public class InertialMeasurementUnitSystemImpl extends SensorSystemImpl implemen /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected InertialMeasurementUnitSystemImpl() { @@ -29,6 +30,7 @@ public class InertialMeasurementUnitSystemImpl extends SensorSystemImpl implemen /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class InertialMeasurementUnitSystemImpl extends SensorSystemImpl implemen return RobotMLPackage.Literals.INERTIAL_MEASUREMENT_UNIT_SYSTEM; } -} //InertialMeasurementUnitSystemImpl +} // InertialMeasurementUnitSystemImpl 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 c744794f974..e24039e7d24 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 @@ -20,6 +20,7 @@ public class InertialNavigationSystemImpl extends GPSSystemImpl implements Inert /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected InertialNavigationSystemImpl() { @@ -29,6 +30,7 @@ public class InertialNavigationSystemImpl extends GPSSystemImpl implements Inert /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class InertialNavigationSystemImpl extends GPSSystemImpl implements Inert return RobotMLPackage.Literals.INERTIAL_NAVIGATION_SYSTEM; } -} //InertialNavigationSystemImpl +} // InertialNavigationSystemImpl 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 bc7db8eb768..dc64ea8dd60 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 @@ -20,6 +20,7 @@ public class InfraRedProximetrySystemImpl extends ObjectDetectionSensorSystemImp /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected InfraRedProximetrySystemImpl() { @@ -29,6 +30,7 @@ public class InfraRedProximetrySystemImpl extends ObjectDetectionSensorSystemImp /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class InfraRedProximetrySystemImpl extends ObjectDetectionSensorSystemImp return RobotMLPackage.Literals.INFRA_RED_PROXIMETRY_SYSTEM; } -} //InfraRedProximetrySystemImpl +} // InfraRedProximetrySystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JointImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JointImpl.java index 1a3d5f89db3..719996d84eb 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JointImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JointImpl.java @@ -22,7 +22,7 @@ import org.eclipse.uml2.uml.Connector; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.JointImpl#getBase_Connector <em>Base Connector</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.JointImpl#getBase_Connector <em>Base Connector</em>}</li> * </ul> * </p> * @@ -33,6 +33,7 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { * The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Connector() * @generated * @ordered @@ -42,6 +43,7 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected JointImpl() { @@ -51,6 +53,7 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -61,15 +64,17 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Connector getBase_Connector() { if (base_Connector != null && base_Connector.eIsProxy()) { - InternalEObject oldBase_Connector = (InternalEObject)base_Connector; - base_Connector = (Connector)eResolveProxy(oldBase_Connector); + InternalEObject oldBase_Connector = (InternalEObject) base_Connector; + base_Connector = (Connector) eResolveProxy(oldBase_Connector); if (base_Connector != oldBase_Connector) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.JOINT__BASE_CONNECTOR, oldBase_Connector, base_Connector)); + } } } return base_Connector; @@ -78,6 +83,7 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Connector basicGetBase_Connector() { @@ -87,26 +93,31 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setBase_Connector(Connector newBase_Connector) { Connector oldBase_Connector = base_Connector; base_Connector = newBase_Connector; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.JOINT__BASE_CONNECTOR, oldBase_Connector, base_Connector)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case RobotMLPackage.JOINT__BASE_CONNECTOR: - if (resolve) return getBase_Connector(); - return basicGetBase_Connector(); + case RobotMLPackage.JOINT__BASE_CONNECTOR: + if (resolve) { + return getBase_Connector(); + } + return basicGetBase_Connector(); } return super.eGet(featureID, resolve, coreType); } @@ -114,14 +125,15 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.JOINT__BASE_CONNECTOR: - setBase_Connector((Connector)newValue); - return; + case RobotMLPackage.JOINT__BASE_CONNECTOR: + setBase_Connector((Connector) newValue); + return; } super.eSet(featureID, newValue); } @@ -129,14 +141,15 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.JOINT__BASE_CONNECTOR: - setBase_Connector((Connector)null); - return; + case RobotMLPackage.JOINT__BASE_CONNECTOR: + setBase_Connector((Connector) null); + return; } super.eUnset(featureID); } @@ -144,15 +157,16 @@ public class JointImpl extends MinimalEObjectImpl.Container implements Joint { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.JOINT__BASE_CONNECTOR: - return base_Connector != null; + case RobotMLPackage.JOINT__BASE_CONNECTOR: + return base_Connector != null; } return super.eIsSet(featureID); } -} //JointImpl +} // JointImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JoysticNavigationSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JoysticNavigationSystemImpl.java index cd57ef96ae4..097880dc517 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JoysticNavigationSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/JoysticNavigationSystemImpl.java @@ -20,6 +20,7 @@ public class JoysticNavigationSystemImpl extends NavigationCommandSystemImpl imp /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected JoysticNavigationSystemImpl() { @@ -29,6 +30,7 @@ public class JoysticNavigationSystemImpl extends NavigationCommandSystemImpl imp /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class JoysticNavigationSystemImpl extends NavigationCommandSystemImpl imp return RobotMLPackage.Literals.JOYSTIC_NAVIGATION_SYSTEM; } -} //JoysticNavigationSystemImpl +} // JoysticNavigationSystemImpl 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 2f9dec8f045..f72e274cfda 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 @@ -20,6 +20,7 @@ public class LandSurfaceImpl extends GroundImpl implements LandSurface { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected LandSurfaceImpl() { @@ -29,6 +30,7 @@ public class LandSurfaceImpl extends GroundImpl implements LandSurface { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class LandSurfaceImpl extends GroundImpl implements LandSurface { return RobotMLPackage.Literals.LAND_SURFACE; } -} //LandSurfaceImpl +} // LandSurfaceImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegImpl.java index d6d22fcb0b5..8f1d633feeb 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegImpl.java @@ -20,6 +20,7 @@ public class LegImpl extends LocomotionHardwareImpl implements Leg { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected LegImpl() { @@ -29,6 +30,7 @@ public class LegImpl extends LocomotionHardwareImpl implements Leg { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class LegImpl extends LocomotionHardwareImpl implements Leg { return RobotMLPackage.Literals.LEG; } -} //LegImpl +} // LegImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegSystemImpl.java index 61badc7c923..9b74d22613b 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LegSystemImpl.java @@ -20,6 +20,7 @@ public class LegSystemImpl extends LocomotionSystemImpl implements LegSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected LegSystemImpl() { @@ -29,6 +30,7 @@ public class LegSystemImpl extends LocomotionSystemImpl implements LegSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class LegSystemImpl extends LocomotionSystemImpl implements LegSystem { return RobotMLPackage.Literals.LEG_SYSTEM; } -} //LegSystemImpl +} // LegSystemImpl 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 c03f6ac1481..9cef614b54d 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 @@ -18,18 +18,18 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbLayers <em>Nb Layers</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleMin <em>Layer Angle Min</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleStep <em>Layer Angle Step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#isNoise <em>Noise</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getSigmaNoise <em>Sigma Noise</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_min <em>Angle min</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_max <em>Angle max</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getTime_increment <em>Time increment</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getScan_time <em>Scan time</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_min <em>Range min</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_max <em>Range max</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbRays <em>Nb Rays</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbLayers <em>Nb Layers</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleMin <em>Layer Angle Min</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleStep <em>Layer Angle Step</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#isNoise <em>Noise</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getSigmaNoise <em>Sigma Noise</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_min <em>Angle min</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_max <em>Angle max</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getTime_increment <em>Time increment</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getScan_time <em>Scan time</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_min <em>Range min</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_max <em>Range max</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbRays <em>Nb Rays</em>}</li> * </ul> * </p> * @@ -40,6 +40,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getNbLayers() <em>Nb Layers</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getNbLayers() * @generated * @ordered @@ -50,6 +51,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getNbLayers() <em>Nb Layers</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getNbLayers() * @generated * @ordered @@ -60,6 +62,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getLayerAngleMin() <em>Layer Angle Min</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLayerAngleMin() * @generated * @ordered @@ -70,6 +73,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getLayerAngleMin() <em>Layer Angle Min</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLayerAngleMin() * @generated * @ordered @@ -80,6 +84,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getLayerAngleStep() <em>Layer Angle Step</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLayerAngleStep() * @generated * @ordered @@ -90,6 +95,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getLayerAngleStep() <em>Layer Angle Step</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLayerAngleStep() * @generated * @ordered @@ -100,6 +106,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #isNoise() <em>Noise</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isNoise() * @generated * @ordered @@ -110,6 +117,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #isNoise() <em>Noise</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isNoise() * @generated * @ordered @@ -120,6 +128,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getSigmaNoise() <em>Sigma Noise</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSigmaNoise() * @generated * @ordered @@ -130,6 +139,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getSigmaNoise() <em>Sigma Noise</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSigmaNoise() * @generated * @ordered @@ -140,6 +150,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getAngle_min() <em>Angle min</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAngle_min() * @generated * @ordered @@ -150,6 +161,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getAngle_min() <em>Angle min</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAngle_min() * @generated * @ordered @@ -160,6 +172,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getAngle_max() <em>Angle max</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAngle_max() * @generated * @ordered @@ -170,6 +183,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getAngle_max() <em>Angle max</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getAngle_max() * @generated * @ordered @@ -180,6 +194,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getTime_increment() <em>Time increment</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTime_increment() * @generated * @ordered @@ -190,6 +205,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getTime_increment() <em>Time increment</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTime_increment() * @generated * @ordered @@ -200,6 +216,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getScan_time() <em>Scan time</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getScan_time() * @generated * @ordered @@ -210,6 +227,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getScan_time() <em>Scan time</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getScan_time() * @generated * @ordered @@ -220,6 +238,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getRange_min() <em>Range min</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getRange_min() * @generated * @ordered @@ -230,6 +249,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getRange_min() <em>Range min</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getRange_min() * @generated * @ordered @@ -240,6 +260,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getRange_max() <em>Range max</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getRange_max() * @generated * @ordered @@ -250,6 +271,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getRange_max() <em>Range max</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getRange_max() * @generated * @ordered @@ -260,6 +282,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getNbRays() <em>Nb Rays</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getNbRays() * @generated * @ordered @@ -270,6 +293,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getNbRays() <em>Nb Rays</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getNbRays() * @generated * @ordered @@ -279,6 +303,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected LidarSystemImpl() { @@ -288,6 +313,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -298,6 +324,7 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public long getNbLayers() { @@ -307,18 +334,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getLayerAngleMin() { @@ -328,18 +358,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getLayerAngleStep() { @@ -349,18 +382,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public boolean isNoise() { @@ -370,18 +406,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getSigmaNoise() { @@ -391,18 +430,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getAngle_min() { @@ -412,18 +454,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getAngle_max() { @@ -433,18 +478,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getTime_increment() { @@ -454,18 +502,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getScan_time() { @@ -475,18 +526,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getRange_min() { @@ -496,18 +550,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getRange_max() { @@ -517,18 +574,21 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public long getNbRays() { @@ -538,47 +598,50 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -586,47 +649,48 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -634,47 +698,48 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -682,35 +747,36 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -718,11 +784,14 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (nbLayers: "); @@ -753,4 +822,4 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements return result.toString(); } -} //LidarSystemImpl +} // LidarSystemImpl 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 b97adbd344f..0b7775fdb35 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 @@ -20,6 +20,7 @@ public class LocalizationSensorSystemImpl extends SensorSystemImpl implements Lo /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected LocalizationSensorSystemImpl() { @@ -29,6 +30,7 @@ public class LocalizationSensorSystemImpl extends SensorSystemImpl implements Lo /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class LocalizationSensorSystemImpl extends SensorSystemImpl implements Lo return RobotMLPackage.Literals.LOCALIZATION_SENSOR_SYSTEM; } -} //LocalizationSensorSystemImpl +} // LocalizationSensorSystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionHardwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionHardwareImpl.java index bcbf26e5140..0d62abe4094 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionHardwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionHardwareImpl.java @@ -20,6 +20,7 @@ public class LocomotionHardwareImpl extends ActuatorHardwareImpl implements Loco /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected LocomotionHardwareImpl() { @@ -29,6 +30,7 @@ public class LocomotionHardwareImpl extends ActuatorHardwareImpl implements Loco /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class LocomotionHardwareImpl extends ActuatorHardwareImpl implements Loco return RobotMLPackage.Literals.LOCOMOTION_HARDWARE; } -} //LocomotionHardwareImpl +} // LocomotionHardwareImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionSystemImpl.java index 20b22a51c13..5778ba76fad 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocomotionSystemImpl.java @@ -20,6 +20,7 @@ public class LocomotionSystemImpl extends ActuatorSystemImpl implements Locomoti /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected LocomotionSystemImpl() { @@ -29,6 +30,7 @@ public class LocomotionSystemImpl extends ActuatorSystemImpl implements Locomoti /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class LocomotionSystemImpl extends ActuatorSystemImpl implements Locomoti return RobotMLPackage.Literals.LOCOMOTION_SYSTEM; } -} //LocomotionSystemImpl +} // LocomotionSystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManMachineInterfaceSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManMachineInterfaceSystemImpl.java index a48c3021f6a..3c9385071c0 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManMachineInterfaceSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManMachineInterfaceSystemImpl.java @@ -20,6 +20,7 @@ public class ManMachineInterfaceSystemImpl extends CyberPhysicalSystemImpl imple /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ManMachineInterfaceSystemImpl() { @@ -29,6 +30,7 @@ public class ManMachineInterfaceSystemImpl extends CyberPhysicalSystemImpl imple /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ManMachineInterfaceSystemImpl extends CyberPhysicalSystemImpl imple return RobotMLPackage.Literals.MAN_MACHINE_INTERFACE_SYSTEM; } -} //ManMachineInterfaceSystemImpl +} // ManMachineInterfaceSystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManipulatorImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManipulatorImpl.java index 7e0c6bd216b..0c78c567616 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManipulatorImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ManipulatorImpl.java @@ -20,6 +20,7 @@ public class ManipulatorImpl extends RobotImpl implements Manipulator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ManipulatorImpl() { @@ -29,6 +30,7 @@ public class ManipulatorImpl extends RobotImpl implements Manipulator { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ManipulatorImpl extends RobotImpl implements Manipulator { return RobotMLPackage.Literals.MANIPULATOR; } -} //ManipulatorImpl +} // ManipulatorImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MechanicalLinkageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MechanicalLinkageImpl.java index 04c9091e575..ee407cac115 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MechanicalLinkageImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MechanicalLinkageImpl.java @@ -20,6 +20,7 @@ public class MechanicalLinkageImpl extends HardwareImpl implements MechanicalLin /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected MechanicalLinkageImpl() { @@ -29,6 +30,7 @@ public class MechanicalLinkageImpl extends HardwareImpl implements MechanicalLin /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class MechanicalLinkageImpl extends HardwareImpl implements MechanicalLin return RobotMLPackage.Literals.MECHANICAL_LINKAGE; } -} //MechanicalLinkageImpl +} // MechanicalLinkageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MobileRobotImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MobileRobotImpl.java index ff344c7e184..5f0d572aa5d 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MobileRobotImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/MobileRobotImpl.java @@ -19,7 +19,7 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.MobileRobotImpl#getKind <em>Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.MobileRobotImpl#getKind <em>Kind</em>}</li> * </ul> * </p> * @@ -30,6 +30,7 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getKind() * @generated * @ordered @@ -40,6 +41,7 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getKind() * @generated * @ordered @@ -49,6 +51,7 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected MobileRobotImpl() { @@ -58,6 +61,7 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -68,6 +72,7 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public MobileRobotKind getKind() { @@ -77,25 +82,28 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setKind(MobileRobotKind newKind) { MobileRobotKind oldKind = kind; kind = newKind == null ? KIND_EDEFAULT : newKind; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.MOBILE_ROBOT__KIND, oldKind, kind)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case RobotMLPackage.MOBILE_ROBOT__KIND: - return getKind(); + case RobotMLPackage.MOBILE_ROBOT__KIND: + return getKind(); } return super.eGet(featureID, resolve, coreType); } @@ -103,14 +111,15 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.MOBILE_ROBOT__KIND: - setKind((MobileRobotKind)newValue); - return; + case RobotMLPackage.MOBILE_ROBOT__KIND: + setKind((MobileRobotKind) newValue); + return; } super.eSet(featureID, newValue); } @@ -118,14 +127,15 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.MOBILE_ROBOT__KIND: - setKind(KIND_EDEFAULT); - return; + case RobotMLPackage.MOBILE_ROBOT__KIND: + setKind(KIND_EDEFAULT); + return; } super.eUnset(featureID); } @@ -133,13 +143,14 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.MOBILE_ROBOT__KIND: - return kind != KIND_EDEFAULT; + case RobotMLPackage.MOBILE_ROBOT__KIND: + return kind != KIND_EDEFAULT; } return super.eIsSet(featureID); } @@ -147,11 +158,14 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (kind: "); @@ -160,4 +174,4 @@ public class MobileRobotImpl extends RobotImpl implements MobileRobot { return result.toString(); } -} //MobileRobotImpl +} // MobileRobotImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/NavigationCommandSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/NavigationCommandSystemImpl.java index b23f3f0a03b..13e27b6a78c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/NavigationCommandSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/NavigationCommandSystemImpl.java @@ -20,6 +20,7 @@ public class NavigationCommandSystemImpl extends ManMachineInterfaceSystemImpl i /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected NavigationCommandSystemImpl() { @@ -29,6 +30,7 @@ public class NavigationCommandSystemImpl extends ManMachineInterfaceSystemImpl i /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class NavigationCommandSystemImpl extends ManMachineInterfaceSystemImpl i return RobotMLPackage.Literals.NAVIGATION_COMMAND_SYSTEM; } -} //NavigationCommandSystemImpl +} // NavigationCommandSystemImpl 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 f27760efcda..8a38532d63b 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 @@ -20,6 +20,7 @@ public class ObjectDetectionSensorSystemImpl extends SensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ObjectDetectionSensorSystemImpl() { @@ -29,6 +30,7 @@ public class ObjectDetectionSensorSystemImpl extends SensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ObjectDetectionSensorSystemImpl extends SensorSystemImpl implements return RobotMLPackage.Literals.OBJECT_DETECTION_SENSOR_SYSTEM; } -} //ObjectDetectionSensorSystemImpl +} // ObjectDetectionSensorSystemImpl 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 4110b909c40..9a4e6ecf7da 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 @@ -20,6 +20,7 @@ public class ObjectTrackingSensorSystemImpl extends SensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected ObjectTrackingSensorSystemImpl() { @@ -29,6 +30,7 @@ public class ObjectTrackingSensorSystemImpl extends SensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class ObjectTrackingSensorSystemImpl extends SensorSystemImpl implements return RobotMLPackage.Literals.OBJECT_TRACKING_SENSOR_SYSTEM; } -} //ObjectTrackingSensorSystemImpl +} // ObjectTrackingSensorSystemImpl 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 a34bc72f677..4cdf18d4d46 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 @@ -20,6 +20,7 @@ public class OdometrySystemImpl extends LocalizationSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected OdometrySystemImpl() { @@ -29,6 +30,7 @@ public class OdometrySystemImpl extends LocalizationSensorSystemImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class OdometrySystemImpl extends LocalizationSensorSystemImpl implements return RobotMLPackage.Literals.ODOMETRY_SYSTEM; } -} //OdometrySystemImpl +} // OdometrySystemImpl 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 e03cfb5e2e0..b663025f92e 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 @@ -23,8 +23,8 @@ import org.eclipse.uml2.uml.Parameter; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getPort <em>Port</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getBase_Parameter <em>Base Parameter</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getPort <em>Port</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getBase_Parameter <em>Base Parameter</em>}</li> * </ul> * </p> * @@ -35,6 +35,7 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { * The cached value of the '{@link #getPort() <em>Port</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getPort() * @generated * @ordered @@ -45,6 +46,7 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { * The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Parameter() * @generated * @ordered @@ -54,6 +56,7 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected OnPortImpl() { @@ -63,6 +66,7 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -73,15 +77,17 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Port getPort() { if (port != null && port.eIsProxy()) { - InternalEObject oldPort = (InternalEObject)port; - port = (Port)eResolveProxy(oldPort); + InternalEObject oldPort = (InternalEObject) port; + port = (Port) eResolveProxy(oldPort); if (port != oldPort) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PORT__PORT, oldPort, port)); + } } } return port; @@ -90,6 +96,7 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Port basicGetPort() { @@ -99,27 +106,31 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Parameter getBase_Parameter() { if (base_Parameter != null && base_Parameter.eIsProxy()) { - InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; - base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); + InternalEObject oldBase_Parameter = (InternalEObject) base_Parameter; + base_Parameter = (Parameter) eResolveProxy(oldBase_Parameter); if (base_Parameter != oldBase_Parameter) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PORT__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } } } return base_Parameter; @@ -128,6 +139,7 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Parameter basicGetBase_Parameter() { @@ -137,29 +149,36 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -167,17 +186,18 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ON_PORT__PORT: + setPort((Port) newValue); + return; + case RobotMLPackage.ON_PORT__BASE_PARAMETER: + setBase_Parameter((Parameter) newValue); + return; } super.eSet(featureID, newValue); } @@ -185,17 +205,18 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ON_PORT__PORT: + setPort((Port) null); + return; + case RobotMLPackage.ON_PORT__BASE_PARAMETER: + setBase_Parameter((Parameter) null); + return; } super.eUnset(featureID); } @@ -203,17 +224,18 @@ public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ON_PORT__PORT: + return port != null; + case RobotMLPackage.ON_PORT__BASE_PARAMETER: + return base_Parameter != null; } return super.eIsSet(featureID); } -} //OnPortImpl +} // OnPortImpl 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 index 63483c483ae..0ff4394da89 100644 --- 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 @@ -23,8 +23,8 @@ import org.eclipse.uml2.uml.Property; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl#getProperty <em>Property</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl#getBase_Parameter <em>Base Parameter</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl#getBase_Parameter <em>Base Parameter</em>}</li> * </ul> * </p> * @@ -35,6 +35,7 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr * The cached value of the '{@link #getProperty() <em>Property</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getProperty() * @generated * @ordered @@ -45,6 +46,7 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr * The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Parameter() * @generated * @ordered @@ -54,6 +56,7 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected OnPropertyImpl() { @@ -63,6 +66,7 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -73,15 +77,17 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Property getProperty() { if (property != null && property.eIsProxy()) { - InternalEObject oldProperty = (InternalEObject)property; - property = (Property)eResolveProxy(oldProperty); + InternalEObject oldProperty = (InternalEObject) property; + property = (Property) eResolveProxy(oldProperty); if (property != oldProperty) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PROPERTY__PROPERTY, oldProperty, property)); + } } } return property; @@ -90,6 +96,7 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Property basicGetProperty() { @@ -99,27 +106,31 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setProperty(Property newProperty) { Property oldProperty = property; property = newProperty; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ON_PROPERTY__PROPERTY, oldProperty, property)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Parameter getBase_Parameter() { if (base_Parameter != null && base_Parameter.eIsProxy()) { - InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; - base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); + InternalEObject oldBase_Parameter = (InternalEObject) base_Parameter; + base_Parameter = (Parameter) eResolveProxy(oldBase_Parameter); if (base_Parameter != oldBase_Parameter) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PROPERTY__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } } } return base_Parameter; @@ -128,6 +139,7 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Parameter basicGetBase_Parameter() { @@ -137,29 +149,36 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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_PROPERTY__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -167,17 +186,18 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ON_PROPERTY__PROPERTY: + setProperty((Property) newValue); + return; + case RobotMLPackage.ON_PROPERTY__BASE_PARAMETER: + setBase_Parameter((Parameter) newValue); + return; } super.eSet(featureID, newValue); } @@ -185,17 +205,18 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ON_PROPERTY__PROPERTY: + setProperty((Property) null); + return; + case RobotMLPackage.ON_PROPERTY__BASE_PARAMETER: + setBase_Parameter((Parameter) null); + return; } super.eUnset(featureID); } @@ -203,17 +224,18 @@ public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnPr /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ON_PROPERTY__PROPERTY: + return property != null; + case RobotMLPackage.ON_PROPERTY__BASE_PARAMETER: + return base_Parameter != null; } return super.eIsSet(featureID); } -} //OnPropertyImpl +} // OnPropertyImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OpenLoopControlSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OpenLoopControlSystemImpl.java index f4cb3cfcf8d..b62e970bf44 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OpenLoopControlSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OpenLoopControlSystemImpl.java @@ -20,6 +20,7 @@ public class OpenLoopControlSystemImpl extends CyberPhysicalSystemImpl implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected OpenLoopControlSystemImpl() { @@ -29,6 +30,7 @@ public class OpenLoopControlSystemImpl extends CyberPhysicalSystemImpl implement /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class OpenLoopControlSystemImpl extends CyberPhysicalSystemImpl implement return RobotMLPackage.Literals.OPEN_LOOP_CONTROL_SYSTEM; } -} //OpenLoopControlSystemImpl +} // OpenLoopControlSystemImpl 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 b586de3dbbb..1eca4a77a9f 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 @@ -20,6 +20,7 @@ public class PedestrianImpl extends HumanImpl implements Pedestrian { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected PedestrianImpl() { @@ -29,6 +30,7 @@ public class PedestrianImpl extends HumanImpl implements Pedestrian { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class PedestrianImpl extends HumanImpl implements Pedestrian { return RobotMLPackage.Literals.PEDESTRIAN; } -} //PedestrianImpl +} // PedestrianImpl 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 37d21093163..6b7a61178f5 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 @@ -27,10 +27,10 @@ import org.eclipse.papyrus.RobotML.Surface; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getEvelovesIn <em>Eveloves In</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getHasSurface <em>Has Surface</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getMass <em>Mass</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getEvelovesIn <em>Eveloves In</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getHasSurface <em>Has Surface</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getHeight <em>Height</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getMass <em>Mass</em>}</li> * </ul> * </p> * @@ -41,6 +41,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { * The cached value of the '{@link #getEvelovesIn() <em>Eveloves In</em>}' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getEvelovesIn() * @generated * @ordered @@ -51,6 +52,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { * The cached value of the '{@link #getHasSurface() <em>Has Surface</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getHasSurface() * @generated * @ordered @@ -61,6 +63,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { * The default value of the '{@link #getHeight() <em>Height</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getHeight() * @generated * @ordered @@ -71,6 +74,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getHeight() * @generated * @ordered @@ -81,6 +85,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { * The default value of the '{@link #getMass() <em>Mass</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMass() * @generated * @ordered @@ -91,6 +96,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { * The cached value of the '{@link #getMass() <em>Mass</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getMass() * @generated * @ordered @@ -100,6 +106,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected PhysicalObjectImpl() { @@ -109,6 +116,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -119,6 +127,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EList<Environment> getEvelovesIn() { @@ -131,15 +140,17 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Surface getHasSurface() { if (hasSurface != null && hasSurface.eIsProxy()) { - InternalEObject oldHasSurface = (InternalEObject)hasSurface; - hasSurface = (Surface)eResolveProxy(oldHasSurface); + InternalEObject oldHasSurface = (InternalEObject) hasSurface; + hasSurface = (Surface) eResolveProxy(oldHasSurface); if (hasSurface != oldHasSurface) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE, oldHasSurface, hasSurface)); + } } } return hasSurface; @@ -148,6 +159,7 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Surface basicGetHasSurface() { @@ -157,18 +169,21 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getHeight() { @@ -178,18 +193,21 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setHeight(float newHeight) { float oldHeight = height; height = newHeight; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.PHYSICAL_OBJECT__HEIGHT, oldHeight, height)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getMass() { @@ -199,32 +217,37 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setMass(float newMass) { float oldMass = mass; mass = newMass; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.PHYSICAL_OBJECT__MASS, oldMass, mass)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); - case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: - return getHeight(); - case RobotMLPackage.PHYSICAL_OBJECT__MASS: - return getMass(); + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + return getEvelovesIn(); + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + if (resolve) { + return getHasSurface(); + } + return basicGetHasSurface(); + case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: + return getHeight(); + case RobotMLPackage.PHYSICAL_OBJECT__MASS: + return getMass(); } return super.eGet(featureID, resolve, coreType); } @@ -232,25 +255,26 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: - getEvelovesIn().clear(); - getEvelovesIn().addAll((Collection<? extends Environment>)newValue); - return; - case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: - setHasSurface((Surface)newValue); - return; - case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: - setHeight((Float)newValue); - return; - case RobotMLPackage.PHYSICAL_OBJECT__MASS: - setMass((Float)newValue); - return; + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + getEvelovesIn().clear(); + getEvelovesIn().addAll((Collection<? extends Environment>) newValue); + return; + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + setHasSurface((Surface) newValue); + return; + case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: + setHeight((Float) newValue); + return; + case RobotMLPackage.PHYSICAL_OBJECT__MASS: + setMass((Float) newValue); + return; } super.eSet(featureID, newValue); } @@ -258,23 +282,24 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; - case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: - setHeight(HEIGHT_EDEFAULT); - return; - case RobotMLPackage.PHYSICAL_OBJECT__MASS: - setMass(MASS_EDEFAULT); - return; + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + getEvelovesIn().clear(); + return; + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + setHasSurface((Surface) null); + return; + case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: + setHeight(HEIGHT_EDEFAULT); + return; + case RobotMLPackage.PHYSICAL_OBJECT__MASS: + setMass(MASS_EDEFAULT); + return; } super.eUnset(featureID); } @@ -282,19 +307,20 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; - case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: - return height != HEIGHT_EDEFAULT; - case RobotMLPackage.PHYSICAL_OBJECT__MASS: - return mass != MASS_EDEFAULT; + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + return evelovesIn != null && !evelovesIn.isEmpty(); + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + return hasSurface != null; + case RobotMLPackage.PHYSICAL_OBJECT__HEIGHT: + return height != HEIGHT_EDEFAULT; + case RobotMLPackage.PHYSICAL_OBJECT__MASS: + return mass != MASS_EDEFAULT; } return super.eIsSet(featureID); } @@ -302,11 +328,14 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (height: "); @@ -317,4 +346,4 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { return result.toString(); } -} //PhysicalObjectImpl +} // PhysicalObjectImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PilotedSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PilotedSystemImpl.java index e8b16f64392..f1fa020a731 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PilotedSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PilotedSystemImpl.java @@ -20,6 +20,7 @@ public class PilotedSystemImpl extends RobotImpl implements PilotedSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected PilotedSystemImpl() { @@ -29,6 +30,7 @@ public class PilotedSystemImpl extends RobotImpl implements PilotedSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class PilotedSystemImpl extends RobotImpl implements PilotedSystem { return RobotMLPackage.Literals.PILOTED_SYSTEM; } -} //PilotedSystemImpl +} // PilotedSystemImpl 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 da42c728b44..15f8c57d9c7 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 @@ -20,6 +20,7 @@ public class PlanetImpl extends PhysicalObjectImpl implements Planet { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected PlanetImpl() { @@ -29,6 +30,7 @@ public class PlanetImpl extends PhysicalObjectImpl implements Planet { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class PlanetImpl extends PhysicalObjectImpl implements Planet { return RobotMLPackage.Literals.PLANET; } -} //PlanetImpl +} // PlanetImpl 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 8ae2d429b22..6a4c6ca7cf8 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 @@ -28,8 +28,8 @@ import org.eclipse.uml2.uml.Node; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PlatformImpl#getBase_Node <em>Base Node</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PlatformImpl#getLibrary <em>Library</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PlatformImpl#getBase_Node <em>Base Node</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PlatformImpl#getLibrary <em>Library</em>}</li> * </ul> * </p> * @@ -40,6 +40,7 @@ public class PlatformImpl extends SystemImpl implements Platform { * The cached value of the '{@link #getBase_Node() <em>Base Node</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Node() * @generated * @ordered @@ -50,6 +51,7 @@ public class PlatformImpl extends SystemImpl implements Platform { * The cached value of the '{@link #getLibrary() <em>Library</em>}' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibrary() * @generated * @ordered @@ -59,6 +61,7 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected PlatformImpl() { @@ -68,6 +71,7 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -78,15 +82,17 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Node getBase_Node() { if (base_Node != null && base_Node.eIsProxy()) { - InternalEObject oldBase_Node = (InternalEObject)base_Node; - base_Node = (Node)eResolveProxy(oldBase_Node); + InternalEObject oldBase_Node = (InternalEObject) base_Node; + base_Node = (Node) eResolveProxy(oldBase_Node); if (base_Node != oldBase_Node) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.PLATFORM__BASE_NODE, oldBase_Node, base_Node)); + } } } return base_Node; @@ -95,6 +101,7 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Node basicGetBase_Node() { @@ -104,18 +111,21 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EList<ExternalLibrary> getLibrary() { @@ -128,16 +138,19 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); - case RobotMLPackage.PLATFORM__LIBRARY: - return getLibrary(); + 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); } @@ -145,19 +158,20 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.PLATFORM__BASE_NODE: - setBase_Node((Node)newValue); - return; - case RobotMLPackage.PLATFORM__LIBRARY: - getLibrary().clear(); - getLibrary().addAll((Collection<? extends ExternalLibrary>)newValue); - return; + case RobotMLPackage.PLATFORM__BASE_NODE: + setBase_Node((Node) newValue); + return; + case RobotMLPackage.PLATFORM__LIBRARY: + getLibrary().clear(); + getLibrary().addAll((Collection<? extends ExternalLibrary>) newValue); + return; } super.eSet(featureID, newValue); } @@ -165,17 +179,18 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.PLATFORM__BASE_NODE: - setBase_Node((Node)null); - return; - case RobotMLPackage.PLATFORM__LIBRARY: - getLibrary().clear(); - return; + case RobotMLPackage.PLATFORM__BASE_NODE: + setBase_Node((Node) null); + return; + case RobotMLPackage.PLATFORM__LIBRARY: + getLibrary().clear(); + return; } super.eUnset(featureID); } @@ -183,17 +198,18 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.PLATFORM__BASE_NODE: - return base_Node != null; - case RobotMLPackage.PLATFORM__LIBRARY: - return library != null && !library.isEmpty(); + case RobotMLPackage.PLATFORM__BASE_NODE: + return base_Node != null; + case RobotMLPackage.PLATFORM__LIBRARY: + return library != null && !library.isEmpty(); } return super.eIsSet(featureID); } -} //PlatformImpl +} // PlatformImpl 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 0567aef3d77..146655bec9d 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 @@ -21,8 +21,8 @@ import org.eclipse.papyrus.RobotML.SynchronizationKind; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PortImpl#getBase_Port <em>Base Port</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.PortImpl#getSynchronizationPolicy <em>Synchronization Policy</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PortImpl#getBase_Port <em>Base Port</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.PortImpl#getSynchronizationPolicy <em>Synchronization Policy</em>}</li> * </ul> * </p> * @@ -33,6 +33,7 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Port() * @generated * @ordered @@ -43,6 +44,7 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P * The default value of the '{@link #getSynchronizationPolicy() <em>Synchronization Policy</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSynchronizationPolicy() * @generated * @ordered @@ -53,6 +55,7 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P * The cached value of the '{@link #getSynchronizationPolicy() <em>Synchronization Policy</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSynchronizationPolicy() * @generated * @ordered @@ -62,6 +65,7 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected PortImpl() { @@ -71,6 +75,7 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -81,15 +86,17 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Port getBase_Port() { if (base_Port != null && base_Port.eIsProxy()) { - InternalEObject oldBase_Port = (InternalEObject)base_Port; - base_Port = (org.eclipse.uml2.uml.Port)eResolveProxy(oldBase_Port); + InternalEObject oldBase_Port = (InternalEObject) base_Port; + base_Port = (org.eclipse.uml2.uml.Port) eResolveProxy(oldBase_Port); if (base_Port != oldBase_Port) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.PORT__BASE_PORT, oldBase_Port, base_Port)); + } } } return base_Port; @@ -98,6 +105,7 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Port basicGetBase_Port() { @@ -107,18 +115,21 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public SynchronizationKind getSynchronizationPolicy() { @@ -128,28 +139,33 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -157,17 +173,18 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -175,17 +192,18 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -193,15 +211,16 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.PORT__BASE_PORT: + return base_Port != null; + case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: + return synchronizationPolicy != SYNCHRONIZATION_POLICY_EDEFAULT; } return super.eIsSet(featureID); } @@ -209,11 +228,14 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (synchronizationPolicy: "); @@ -222,4 +244,4 @@ public abstract class PortImpl extends MinimalEObjectImpl.Container implements P return result.toString(); } -} //PortImpl +} // PortImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PowerHardwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PowerHardwareImpl.java index d6a802f26c9..fa757f4487f 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PowerHardwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PowerHardwareImpl.java @@ -20,6 +20,7 @@ public class PowerHardwareImpl extends HardwareImpl implements PowerHardware { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected PowerHardwareImpl() { @@ -29,6 +30,7 @@ public class PowerHardwareImpl extends HardwareImpl implements PowerHardware { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class PowerHardwareImpl extends HardwareImpl implements PowerHardware { return RobotMLPackage.Literals.POWER_HARDWARE; } -} //PowerHardwareImpl +} // PowerHardwareImpl 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 1b5b28f5c8a..68af4f35350 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 @@ -18,7 +18,7 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getWidth <em>Width</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getWidth <em>Width</em>}</li> * </ul> * </p> * @@ -29,6 +29,7 @@ public class RobotImpl extends AgentImpl implements Robot { * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWidth() * @generated * @ordered @@ -39,6 +40,7 @@ public class RobotImpl extends AgentImpl implements Robot { * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWidth() * @generated * @ordered @@ -48,6 +50,7 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected RobotImpl() { @@ -57,6 +60,7 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -67,6 +71,7 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWidth() { @@ -76,25 +81,28 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case RobotMLPackage.ROBOT__WIDTH: - return getWidth(); + case RobotMLPackage.ROBOT__WIDTH: + return getWidth(); } return super.eGet(featureID, resolve, coreType); } @@ -102,14 +110,15 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.ROBOT__WIDTH: - setWidth((Float)newValue); - return; + case RobotMLPackage.ROBOT__WIDTH: + setWidth((Float) newValue); + return; } super.eSet(featureID, newValue); } @@ -117,14 +126,15 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.ROBOT__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; + case RobotMLPackage.ROBOT__WIDTH: + setWidth(WIDTH_EDEFAULT); + return; } super.eUnset(featureID); } @@ -132,13 +142,14 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.ROBOT__WIDTH: - return width != WIDTH_EDEFAULT; + case RobotMLPackage.ROBOT__WIDTH: + return width != WIDTH_EDEFAULT; } return super.eIsSet(featureID); } @@ -146,11 +157,14 @@ public class RobotImpl extends AgentImpl implements Robot { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (width: "); @@ -159,4 +173,4 @@ public class RobotImpl extends AgentImpl implements Robot { return result.toString(); } -} //RobotImpl +} // RobotImpl 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 3fb25b71b56..abc29bbaf42 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 @@ -102,6 +102,7 @@ import org.eclipse.papyrus.RobotML.WeaponSystem; * <!-- begin-user-doc --> * An implementation of the model <b>Factory</b>. * <!-- end-user-doc --> + * * @generated */ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { @@ -109,16 +110,16 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { * Creates the default factory implementation. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public static RobotMLFactory init() { try { - RobotMLFactory theRobotMLFactory = (RobotMLFactory)EPackage.Registry.INSTANCE.getEFactory(RobotMLPackage.eNS_URI); + 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(); @@ -128,6 +129,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { * Creates an instance of the factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RobotMLFactoryImpl() { @@ -137,151 +139,233 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public EObject create(EClass eClass) { switch (eClass.getClassifierID()) { - case RobotMLPackage.TRANSITION: return createTransition(); - case RobotMLPackage.ALGORITHM: return createAlgorithm(); - case RobotMLPackage.STATE: return createState(); - case RobotMLPackage.ACTUATED_JOINT: return createActuatedJoint(); - case RobotMLPackage.JOINT: return createJoint(); - case RobotMLPackage.COMPLETE_BONDING: return createCompleteBonding(); - 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.CYBER_PHYSICAL_SYSTEM: return createCyberPhysicalSystem(); - case RobotMLPackage.SENSOR_SYSTEM: return createSensorSystem(); - case RobotMLPackage.HARDWARE: return createHardware(); - case RobotMLPackage.SOFTWARE: return createSoftware(); - case RobotMLPackage.ENGINE_SYSTEM: return createEngineSystem(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM: return createSteeredWheelSystem(); - case RobotMLPackage.LOCOMOTION_SYSTEM: return createLocomotionSystem(); - 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.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(); - case RobotMLPackage.CHASSIS: return createChassis(); - case RobotMLPackage.SUPPORTING_STRUCTURE: return createSupportingStructure(); - case RobotMLPackage.MECHANICAL_LINKAGE: return createMechanicalLinkage(); - case RobotMLPackage.LEG: return createLeg(); - case RobotMLPackage.LOCOMOTION_HARDWARE: return createLocomotionHardware(); - case RobotMLPackage.ACTUATOR_HARDWARE: return createActuatorHardware(); - case RobotMLPackage.MOBILE_ROBOT: return createMobileRobot(); - case RobotMLPackage.MANIPULATOR: return createManipulator(); - case RobotMLPackage.PILOTED_SYSTEM: return createPilotedSystem(); - case RobotMLPackage.POWER_HARDWARE: return createPowerHardware(); - case RobotMLPackage.SENSOR_HARDWARE: return createSensorHardware(); - case RobotMLPackage.GRASPING_HARDWARE: return createGraspingHardware(); - case RobotMLPackage.STEERED_WHEEL_HARDWARE: return createSteeredWheelHardware(); - case RobotMLPackage.ARM: return createArm(); - case RobotMLPackage.LEG_SYSTEM: return createLegSystem(); - case RobotMLPackage.GRASPING_SYSTEM: return createGraspingSystem(); - case RobotMLPackage.WEAPON_SYSTEM: return createWeaponSystem(); - case RobotMLPackage.MAN_MACHINE_INTERFACE_SYSTEM: return createManMachineInterfaceSystem(); - case RobotMLPackage.CLOSED_LOOP_CONTROL_SYSTEM: return createClosedLoopControlSystem(); - case RobotMLPackage.OPEN_LOOP_CONTROL_SYSTEM: return createOpenLoopControlSystem(); - case RobotMLPackage.ROBOTIC_HEAD: return createRoboticHead(); - case RobotMLPackage.NAVIGATION_COMMAND_SYSTEM: return createNavigationCommandSystem(); - case RobotMLPackage.JOYSTIC_NAVIGATION_SYSTEM: return createJoysticNavigationSystem(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + case RobotMLPackage.TRANSITION: + return createTransition(); + case RobotMLPackage.ALGORITHM: + return createAlgorithm(); + case RobotMLPackage.STATE: + return createState(); + case RobotMLPackage.ACTUATED_JOINT: + return createActuatedJoint(); + case RobotMLPackage.JOINT: + return createJoint(); + case RobotMLPackage.COMPLETE_BONDING: + return createCompleteBonding(); + 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.CYBER_PHYSICAL_SYSTEM: + return createCyberPhysicalSystem(); + case RobotMLPackage.SENSOR_SYSTEM: + return createSensorSystem(); + case RobotMLPackage.HARDWARE: + return createHardware(); + case RobotMLPackage.SOFTWARE: + return createSoftware(); + case RobotMLPackage.ENGINE_SYSTEM: + return createEngineSystem(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM: + return createSteeredWheelSystem(); + case RobotMLPackage.LOCOMOTION_SYSTEM: + return createLocomotionSystem(); + 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.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(); + case RobotMLPackage.CHASSIS: + return createChassis(); + case RobotMLPackage.SUPPORTING_STRUCTURE: + return createSupportingStructure(); + case RobotMLPackage.MECHANICAL_LINKAGE: + return createMechanicalLinkage(); + case RobotMLPackage.LEG: + return createLeg(); + case RobotMLPackage.LOCOMOTION_HARDWARE: + return createLocomotionHardware(); + case RobotMLPackage.ACTUATOR_HARDWARE: + return createActuatorHardware(); + case RobotMLPackage.MOBILE_ROBOT: + return createMobileRobot(); + case RobotMLPackage.MANIPULATOR: + return createManipulator(); + case RobotMLPackage.PILOTED_SYSTEM: + return createPilotedSystem(); + case RobotMLPackage.POWER_HARDWARE: + return createPowerHardware(); + case RobotMLPackage.SENSOR_HARDWARE: + return createSensorHardware(); + case RobotMLPackage.GRASPING_HARDWARE: + return createGraspingHardware(); + case RobotMLPackage.STEERED_WHEEL_HARDWARE: + return createSteeredWheelHardware(); + case RobotMLPackage.ARM: + return createArm(); + case RobotMLPackage.LEG_SYSTEM: + return createLegSystem(); + case RobotMLPackage.GRASPING_SYSTEM: + return createGraspingSystem(); + case RobotMLPackage.WEAPON_SYSTEM: + return createWeaponSystem(); + case RobotMLPackage.MAN_MACHINE_INTERFACE_SYSTEM: + return createManMachineInterfaceSystem(); + case RobotMLPackage.CLOSED_LOOP_CONTROL_SYSTEM: + return createClosedLoopControlSystem(); + case RobotMLPackage.OPEN_LOOP_CONTROL_SYSTEM: + return createOpenLoopControlSystem(); + case RobotMLPackage.ROBOTIC_HEAD: + return createRoboticHead(); + case RobotMLPackage.NAVIGATION_COMMAND_SYSTEM: + return createNavigationCommandSystem(); + case RobotMLPackage.JOYSTIC_NAVIGATION_SYSTEM: + return createJoysticNavigationSystem(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object createFromString(EDataType eDataType, String initialValue) { switch (eDataType.getClassifierID()) { - case 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.UGV_KIND: - return createUGVKindFromString(eDataType, initialValue); - case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: - return createRoboticMiddlewareKindFromString(eDataType, initialValue); - case RobotMLPackage.SHADE: - return createShadeFromString(eDataType, initialValue); - case RobotMLPackage.MOBILE_ROBOT_KIND: - return createMobileRobotKindFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + 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.UGV_KIND: + return createUGVKindFromString(eDataType, initialValue); + case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: + return createRoboticMiddlewareKindFromString(eDataType, initialValue); + case RobotMLPackage.SHADE: + return createShadeFromString(eDataType, initialValue); + case RobotMLPackage.MOBILE_ROBOT_KIND: + return createMobileRobotKindFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String convertToString(EDataType eDataType, Object instanceValue) { switch (eDataType.getClassifierID()) { - case 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.UGV_KIND: - return convertUGVKindToString(eDataType, instanceValue); - case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: - return convertRoboticMiddlewareKindToString(eDataType, instanceValue); - case RobotMLPackage.SHADE: - return convertShadeToString(eDataType, instanceValue); - case RobotMLPackage.MOBILE_ROBOT_KIND: - return convertMobileRobotKindToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + 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.UGV_KIND: + return convertUGVKindToString(eDataType, instanceValue); + case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: + return convertRoboticMiddlewareKindToString(eDataType, instanceValue); + case RobotMLPackage.SHADE: + return convertShadeToString(eDataType, instanceValue); + case RobotMLPackage.MOBILE_ROBOT_KIND: + return convertMobileRobotKindToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Transition createTransition() { @@ -292,6 +376,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Algorithm createAlgorithm() { @@ -302,6 +387,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public State createState() { @@ -312,6 +398,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ActuatedJoint createActuatedJoint() { @@ -322,6 +409,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Joint createJoint() { @@ -332,6 +420,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public CompleteBonding createCompleteBonding() { @@ -342,6 +431,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Robot createRobot() { @@ -352,6 +442,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.papyrus.RobotML.System createSystem() { @@ -362,6 +453,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Agent createAgent() { @@ -372,6 +464,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public PhysicalObject createPhysicalObject() { @@ -382,6 +475,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Environment createEnvironment() { @@ -392,6 +486,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Surface createSurface() { @@ -402,6 +497,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public DataFlowPort createDataFlowPort() { @@ -412,6 +508,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ServicePort createServicePort() { @@ -422,6 +519,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ActuatorSystem createActuatorSystem() { @@ -432,6 +530,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RoboticSystem createRoboticSystem() { @@ -442,6 +541,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public CyberPhysicalSystem createCyberPhysicalSystem() { @@ -452,6 +552,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public SensorSystem createSensorSystem() { @@ -462,6 +563,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Hardware createHardware() { @@ -472,6 +574,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Software createSoftware() { @@ -482,6 +585,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EngineSystem createEngineSystem() { @@ -492,6 +596,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public SteeredWheelSystem createSteeredWheelSystem() { @@ -502,6 +607,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public LocomotionSystem createLocomotionSystem() { @@ -512,6 +618,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ImageSensorSystem createImageSensorSystem() { @@ -522,6 +629,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public CameraSystem createCameraSystem() { @@ -532,6 +640,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ObjectDetectionSensorSystem createObjectDetectionSensorSystem() { @@ -542,6 +651,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ObjectTrackingSensorSystem createObjectTrackingSensorSystem() { @@ -552,6 +662,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public LidarSystem createLidarSystem() { @@ -562,6 +673,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public LocalizationSensorSystem createLocalizationSensorSystem() { @@ -572,6 +684,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public GPSSystem createGPSSystem() { @@ -582,6 +695,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public AlgorithmLibrary createAlgorithmLibrary() { @@ -592,6 +706,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public SensorDriver createSensorDriver() { @@ -602,6 +717,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Building createBuilding() { @@ -612,6 +728,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Planet createPlanet() { @@ -622,6 +739,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public LandSurface createLandSurface() { @@ -632,6 +750,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Floor createFloor() { @@ -642,6 +761,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public WaterSurface createWaterSurface() { @@ -652,6 +772,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Human createHuman() { @@ -662,6 +783,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Pedestrian createPedestrian() { @@ -672,6 +794,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Stairs createStairs() { @@ -682,6 +805,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Platform createPlatform() { @@ -692,6 +816,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ExternalLibrary createExternalLibrary() { @@ -702,6 +827,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RoboticMiddleware createRoboticMiddleware() { @@ -712,6 +838,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RoboticSimulator createRoboticSimulator() { @@ -722,6 +849,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public CycabTK createCycabTK() { @@ -732,6 +860,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public BlenderMorse createBlenderMorse() { @@ -742,6 +871,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public OnPort createOnPort() { @@ -752,6 +882,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Allocate createAllocate() { @@ -762,6 +893,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public InertialMeasurementUnitSystem createInertialMeasurementUnitSystem() { @@ -772,6 +904,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public InertialNavigationSystem createInertialNavigationSystem() { @@ -782,6 +915,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public OdometrySystem createOdometrySystem() { @@ -792,6 +926,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public InfraRedProximetrySystem createInfraRedProximetrySystem() { @@ -802,6 +937,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public DeploymentPlan createDeploymentPlan() { @@ -812,6 +948,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Gyroscope createGyroscope() { @@ -822,6 +959,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public OnProperty createOnProperty() { @@ -832,6 +970,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Chassis createChassis() { @@ -842,6 +981,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public SupportingStructure createSupportingStructure() { @@ -852,6 +992,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public MechanicalLinkage createMechanicalLinkage() { @@ -862,6 +1003,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Leg createLeg() { @@ -872,6 +1014,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public LocomotionHardware createLocomotionHardware() { @@ -882,6 +1025,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ActuatorHardware createActuatorHardware() { @@ -892,6 +1036,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public MobileRobot createMobileRobot() { @@ -902,6 +1047,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Manipulator createManipulator() { @@ -912,6 +1058,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public PilotedSystem createPilotedSystem() { @@ -922,6 +1069,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public PowerHardware createPowerHardware() { @@ -932,6 +1080,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public SensorHardware createSensorHardware() { @@ -942,6 +1091,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public GraspingHardware createGraspingHardware() { @@ -952,6 +1102,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public SteeredWheelHardware createSteeredWheelHardware() { @@ -962,6 +1113,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Arm createArm() { @@ -972,6 +1124,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public LegSystem createLegSystem() { @@ -982,6 +1135,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public GraspingSystem createGraspingSystem() { @@ -992,6 +1146,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public WeaponSystem createWeaponSystem() { @@ -1002,6 +1157,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ManMachineInterfaceSystem createManMachineInterfaceSystem() { @@ -1012,6 +1168,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ClosedLoopControlSystem createClosedLoopControlSystem() { @@ -1022,6 +1179,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public OpenLoopControlSystem createOpenLoopControlSystem() { @@ -1032,6 +1190,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RoboticHead createRoboticHead() { @@ -1042,6 +1201,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public NavigationCommandSystem createNavigationCommandSystem() { @@ -1052,6 +1212,7 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public JoysticNavigationSystem createJoysticNavigationSystem() { @@ -1062,17 +1223,21 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String convertSynchronizationKindToString(EDataType eDataType, Object instanceValue) { @@ -1082,17 +1247,21 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String convertDataFlowDirectionKindToString(EDataType eDataType, Object instanceValue) { @@ -1102,17 +1271,21 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String convertServiceFlowKindToString(EDataType eDataType, Object instanceValue) { @@ -1122,17 +1295,21 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String convertUGVKindToString(EDataType eDataType, Object instanceValue) { @@ -1142,17 +1319,21 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String convertRoboticMiddlewareKindToString(EDataType eDataType, Object instanceValue) { @@ -1162,17 +1343,21 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String convertShadeToString(EDataType eDataType, Object instanceValue) { @@ -1182,17 +1367,21 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public MobileRobotKind createMobileRobotKindFromString(EDataType eDataType, String initialValue) { MobileRobotKind result = MobileRobotKind.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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String convertMobileRobotKindToString(EDataType eDataType, Object instanceValue) { @@ -1202,15 +1391,17 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RobotMLPackage getRobotMLPackage() { - return (RobotMLPackage)getEPackage(); + return (RobotMLPackage) getEPackage(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @deprecated * @generated */ @@ -1219,4 +1410,4 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { return RobotMLPackage.eINSTANCE; } -} //RobotMLFactoryImpl +} // RobotMLFactoryImpl 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 1f41a08c1d4..b5811901c25 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 @@ -139,12 +139,14 @@ import org.eclipse.uml2.uml.UMLPackage; * <!-- begin-user-doc --> * An implementation of the model <b>Package</b>. * <!-- end-user-doc --> + * * @generated */ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass transitionEClass = null; @@ -152,6 +154,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass algorithmEClass = null; @@ -159,6 +162,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass stateEClass = null; @@ -166,6 +170,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass actuatedJointEClass = null; @@ -173,6 +178,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass jointEClass = null; @@ -180,6 +186,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass completeBondingEClass = null; @@ -187,6 +194,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass robotEClass = null; @@ -194,6 +202,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass systemEClass = null; @@ -201,6 +210,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass agentEClass = null; @@ -208,6 +218,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass physicalObjectEClass = null; @@ -215,6 +226,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass environmentEClass = null; @@ -222,6 +234,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass surfaceEClass = null; @@ -229,6 +242,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass dataFlowPortEClass = null; @@ -236,6 +250,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass portEClass = null; @@ -243,6 +258,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass servicePortEClass = null; @@ -250,6 +266,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass actuatorSystemEClass = null; @@ -257,6 +274,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass roboticSystemEClass = null; @@ -264,6 +282,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass cyberPhysicalSystemEClass = null; @@ -271,6 +290,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass sensorSystemEClass = null; @@ -278,6 +298,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass hardwareEClass = null; @@ -285,6 +306,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass softwareEClass = null; @@ -292,6 +314,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass engineSystemEClass = null; @@ -299,6 +322,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass steeredWheelSystemEClass = null; @@ -306,6 +330,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass locomotionSystemEClass = null; @@ -313,6 +338,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass imageSensorSystemEClass = null; @@ -320,6 +346,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass cameraSystemEClass = null; @@ -327,6 +354,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass objectDetectionSensorSystemEClass = null; @@ -334,6 +362,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass objectTrackingSensorSystemEClass = null; @@ -341,6 +370,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass lidarSystemEClass = null; @@ -348,6 +378,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass localizationSensorSystemEClass = null; @@ -355,6 +386,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass gpsSystemEClass = null; @@ -362,6 +394,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass algorithmLibraryEClass = null; @@ -369,6 +402,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass sensorDriverEClass = null; @@ -376,6 +410,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass buildingEClass = null; @@ -383,6 +418,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass planetEClass = null; @@ -390,6 +426,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass landSurfaceEClass = null; @@ -397,6 +434,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass groundEClass = null; @@ -404,6 +442,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass floorEClass = null; @@ -411,6 +450,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass waterSurfaceEClass = null; @@ -418,6 +458,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass humanEClass = null; @@ -425,6 +466,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass pedestrianEClass = null; @@ -432,6 +474,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass stairsEClass = null; @@ -439,6 +482,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass platformEClass = null; @@ -446,6 +490,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass externalLibraryEClass = null; @@ -453,6 +498,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass roboticMiddlewareEClass = null; @@ -460,6 +506,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass roboticSimulatorEClass = null; @@ -467,6 +514,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass cycabTKEClass = null; @@ -474,6 +522,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass blenderMorseEClass = null; @@ -481,6 +530,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass onPortEClass = null; @@ -488,6 +538,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass allocateEClass = null; @@ -495,6 +546,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass inertialMeasurementUnitSystemEClass = null; @@ -502,6 +554,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass inertialNavigationSystemEClass = null; @@ -509,6 +562,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass odometrySystemEClass = null; @@ -516,6 +570,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass infraRedProximetrySystemEClass = null; @@ -523,6 +578,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass deploymentPlanEClass = null; @@ -530,6 +586,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass gyroscopeEClass = null; @@ -537,6 +594,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass onPropertyEClass = null; @@ -544,6 +602,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass chassisEClass = null; @@ -551,6 +610,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass supportingStructureEClass = null; @@ -558,6 +618,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass mechanicalLinkageEClass = null; @@ -565,6 +626,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass legEClass = null; @@ -572,6 +634,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass locomotionHardwareEClass = null; @@ -579,6 +642,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass actuatorHardwareEClass = null; @@ -586,6 +650,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass mobileRobotEClass = null; @@ -593,6 +658,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass manipulatorEClass = null; @@ -600,6 +666,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass pilotedSystemEClass = null; @@ -607,6 +674,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass powerHardwareEClass = null; @@ -614,6 +682,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass sensorHardwareEClass = null; @@ -621,6 +690,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass graspingHardwareEClass = null; @@ -628,6 +698,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass steeredWheelHardwareEClass = null; @@ -635,6 +706,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass armEClass = null; @@ -642,6 +714,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass legSystemEClass = null; @@ -649,6 +722,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass graspingSystemEClass = null; @@ -656,6 +730,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass weaponSystemEClass = null; @@ -663,6 +738,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass manMachineInterfaceSystemEClass = null; @@ -670,6 +746,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass closedLoopControlSystemEClass = null; @@ -677,6 +754,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass openLoopControlSystemEClass = null; @@ -684,6 +762,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass roboticHeadEClass = null; @@ -691,6 +770,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass navigationCommandSystemEClass = null; @@ -698,6 +778,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EClass joysticNavigationSystemEClass = null; @@ -705,6 +786,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EEnum synchronizationKindEEnum = null; @@ -712,6 +794,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EEnum dataFlowDirectionKindEEnum = null; @@ -719,6 +802,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EEnum serviceFlowKindEEnum = null; @@ -726,6 +810,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EEnum ugvKindEEnum = null; @@ -733,6 +818,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EEnum roboticMiddlewareKindEEnum = null; @@ -740,6 +826,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EEnum shadeEEnum = null; @@ -747,20 +834,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private EEnum mobileRobotKindEEnum = null; /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <p> + * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.papyrus.RobotML.RobotMLPackage#eNS_URI * @see #init() @@ -773,27 +857,29 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p> + * This method is used to initialize {@link RobotMLPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc --> * - * <p>This method is used to initialize {@link RobotMLPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static 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()); + RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RobotMLPackageImpl()); isInited = true; @@ -801,14 +887,22 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { UMLPackage.eINSTANCE.eClass(); // Obtain or create and register interdependencies - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); + Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); + Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); + Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); + Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); + Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); + Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); + Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); + Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); // Create package meta-data objects theRobotMLPackage.createPackageContents(); @@ -835,7 +929,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; @@ -844,6 +938,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getTransition() { @@ -853,33 +948,37 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getTransition_Base_Transition() { - return (EReference)transitionEClass.getEStructuralFeatures().get(0); + return (EReference) transitionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getTransition_Guard() { - return (EReference)transitionEClass.getEStructuralFeatures().get(1); + return (EReference) transitionEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getTransition_Effect() { - return (EReference)transitionEClass.getEStructuralFeatures().get(2); + return (EReference) transitionEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getAlgorithm() { @@ -889,51 +988,57 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getAlgorithm_Base_Operation() { - return (EReference)algorithmEClass.getEStructuralFeatures().get(0); + return (EReference) algorithmEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getAlgorithm_IsExternal() { - return (EAttribute)algorithmEClass.getEStructuralFeatures().get(1); + return (EAttribute) algorithmEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getAlgorithm_ExtFunctionName() { - return (EAttribute)algorithmEClass.getEStructuralFeatures().get(2); + return (EAttribute) algorithmEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getAlgorithm_LibPath() { - return (EAttribute)algorithmEClass.getEStructuralFeatures().get(3); + return (EAttribute) algorithmEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getAlgorithm_LibFileFormat() { - return (EAttribute)algorithmEClass.getEStructuralFeatures().get(4); + return (EAttribute) algorithmEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getState() { @@ -943,24 +1048,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getState_Base_State() { - return (EReference)stateEClass.getEStructuralFeatures().get(0); + return (EReference) stateEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getState_Behavior() { - return (EReference)stateEClass.getEStructuralFeatures().get(1); + return (EReference) stateEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getActuatedJoint() { @@ -970,6 +1078,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getJoint() { @@ -979,15 +1088,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getJoint_Base_Connector() { - return (EReference)jointEClass.getEStructuralFeatures().get(0); + return (EReference) jointEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getCompleteBonding() { @@ -997,6 +1108,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getRobot() { @@ -1006,15 +1118,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getRobot_Width() { - return (EAttribute)robotEClass.getEStructuralFeatures().get(0); + return (EAttribute) robotEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSystem() { @@ -1024,42 +1138,47 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getSystem_Base_Class() { - return (EReference)systemEClass.getEStructuralFeatures().get(0); + return (EReference) systemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSystem_Native() { - return (EAttribute)systemEClass.getEStructuralFeatures().get(1); + return (EAttribute) systemEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSystem_LibraryPath() { - return (EAttribute)systemEClass.getEStructuralFeatures().get(2); + return (EAttribute) systemEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSystem_LibraryComponentName() { - return (EAttribute)systemEClass.getEStructuralFeatures().get(3); + return (EAttribute) systemEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getAgent() { @@ -1069,15 +1188,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getAgent_MovesOver() { - return (EReference)agentEClass.getEStructuralFeatures().get(0); + return (EReference) agentEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getPhysicalObject() { @@ -1087,42 +1208,47 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getPhysicalObject_EvelovesIn() { - return (EReference)physicalObjectEClass.getEStructuralFeatures().get(0); + return (EReference) physicalObjectEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getPhysicalObject_HasSurface() { - return (EReference)physicalObjectEClass.getEStructuralFeatures().get(1); + return (EReference) physicalObjectEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getPhysicalObject_Height() { - return (EAttribute)physicalObjectEClass.getEStructuralFeatures().get(2); + return (EAttribute) physicalObjectEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getPhysicalObject_Mass() { - return (EAttribute)physicalObjectEClass.getEStructuralFeatures().get(3); + return (EAttribute) physicalObjectEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getEnvironment() { @@ -1132,6 +1258,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSurface() { @@ -1141,6 +1268,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getDataFlowPort() { @@ -1150,24 +1278,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getDataFlowPort_Direction() { - return (EAttribute)dataFlowPortEClass.getEStructuralFeatures().get(0); + return (EAttribute) dataFlowPortEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getDataFlowPort_BufferSize() { - return (EAttribute)dataFlowPortEClass.getEStructuralFeatures().get(1); + return (EAttribute) dataFlowPortEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getPort() { @@ -1177,24 +1308,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getPort_Base_Port() { - return (EReference)portEClass.getEStructuralFeatures().get(0); + return (EReference) portEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getPort_SynchronizationPolicy() { - return (EAttribute)portEClass.getEStructuralFeatures().get(1); + return (EAttribute) portEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getServicePort() { @@ -1204,15 +1338,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getServicePort_Kind() { - return (EAttribute)servicePortEClass.getEStructuralFeatures().get(0); + return (EAttribute) servicePortEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getActuatorSystem() { @@ -1222,6 +1358,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getRoboticSystem() { @@ -1231,24 +1368,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getRoboticSystem_LocalPosition() { - return (EReference)roboticSystemEClass.getEStructuralFeatures().get(0); + return (EReference) roboticSystemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getRoboticSystem_LocalOrientation() { - return (EReference)roboticSystemEClass.getEStructuralFeatures().get(1); + return (EReference) roboticSystemEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getCyberPhysicalSystem() { @@ -1258,6 +1398,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSensorSystem() { @@ -1267,24 +1408,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSensorSystem_Frequency() { - return (EAttribute)sensorSystemEClass.getEStructuralFeatures().get(0); + return (EAttribute) sensorSystemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSensorSystem_Identifier() { - return (EAttribute)sensorSystemEClass.getEStructuralFeatures().get(1); + return (EAttribute) sensorSystemEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getHardware() { @@ -1294,6 +1438,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSoftware() { @@ -1303,51 +1448,57 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSoftware_IsPeriodic() { - return (EAttribute)softwareEClass.getEStructuralFeatures().get(0); + return (EAttribute) softwareEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSoftware_Period() { - return (EAttribute)softwareEClass.getEStructuralFeatures().get(1); + return (EAttribute) softwareEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSoftware_Priority() { - return (EAttribute)softwareEClass.getEStructuralFeatures().get(2); + return (EAttribute) softwareEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSoftware_Deadline() { - return (EAttribute)softwareEClass.getEStructuralFeatures().get(3); + return (EAttribute) softwareEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSoftware_Wcet() { - return (EAttribute)softwareEClass.getEStructuralFeatures().get(4); + return (EAttribute) softwareEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getEngineSystem() { @@ -1357,60 +1508,67 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getEngineSystem_VehicleTraction() { - return (EAttribute)engineSystemEClass.getEStructuralFeatures().get(0); + return (EAttribute) engineSystemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getEngineSystem_MaxEngineForce() { - return (EAttribute)engineSystemEClass.getEStructuralFeatures().get(1); + return (EAttribute) engineSystemEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getEngineSystem_MaxBreakingForce() { - return (EAttribute)engineSystemEClass.getEStructuralFeatures().get(2); + return (EAttribute) engineSystemEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getEngineSystem_MaxAllowedSteering() { - return (EAttribute)engineSystemEClass.getEStructuralFeatures().get(3); + return (EAttribute) engineSystemEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getEngineSystem_MaxAllowedVelocity() { - return (EAttribute)engineSystemEClass.getEStructuralFeatures().get(4); + return (EAttribute) engineSystemEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getEngineSystem_Gear_ration() { - return (EAttribute)engineSystemEClass.getEStructuralFeatures().get(5); + return (EAttribute) engineSystemEClass.getEStructuralFeatures().get(5); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSteeredWheelSystem() { @@ -1420,150 +1578,167 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelRadius() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(0); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelWidth() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(1); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_SuspensionRestLength() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(2); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelConnectionHeight() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(3); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_TypeOfWheel() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(4); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelVelocityPIDkp() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(5); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(5); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelVelocityPIDki() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(6); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(6); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelVelocityPIDkd() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(7); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(7); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelSteeringPIDkp() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(8); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(8); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelSteeringPIDkd() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(9); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(9); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelFriction() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(10); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(10); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_SuspensionStiffness() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(11); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(11); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_SuspensionDamping() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(12); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(12); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_SuspensionCompression() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(13); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(13); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelVelocityPIDmaxSum() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(14); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(14); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getSteeredWheelSystem_WheelVelocityPIDmaxVal() { - return (EAttribute)steeredWheelSystemEClass.getEStructuralFeatures().get(15); + return (EAttribute) steeredWheelSystemEClass.getEStructuralFeatures().get(15); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getLocomotionSystem() { @@ -1573,6 +1748,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getImageSensorSystem() { @@ -1582,6 +1758,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getCameraSystem() { @@ -1591,87 +1768,97 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCameraSystem_Width() { - return (EAttribute)cameraSystemEClass.getEStructuralFeatures().get(0); + return (EAttribute) cameraSystemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCameraSystem_Height() { - return (EAttribute)cameraSystemEClass.getEStructuralFeatures().get(1); + return (EAttribute) cameraSystemEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCameraSystem_Alpha_u() { - return (EAttribute)cameraSystemEClass.getEStructuralFeatures().get(2); + return (EAttribute) cameraSystemEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCameraSystem_Alpha_v() { - return (EAttribute)cameraSystemEClass.getEStructuralFeatures().get(3); + return (EAttribute) cameraSystemEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCameraSystem_U0() { - return (EAttribute)cameraSystemEClass.getEStructuralFeatures().get(4); + return (EAttribute) cameraSystemEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCameraSystem_V0() { - return (EAttribute)cameraSystemEClass.getEStructuralFeatures().get(5); + return (EAttribute) cameraSystemEClass.getEStructuralFeatures().get(5); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCameraSystem_Color_format() { - return (EAttribute)cameraSystemEClass.getEStructuralFeatures().get(6); + return (EAttribute) cameraSystemEClass.getEStructuralFeatures().get(6); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getCameraSystem_Translate() { - return (EReference)cameraSystemEClass.getEStructuralFeatures().get(7); + return (EReference) cameraSystemEClass.getEStructuralFeatures().get(7); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getCameraSystem_Rotate() { - return (EReference)cameraSystemEClass.getEStructuralFeatures().get(8); + return (EReference) cameraSystemEClass.getEStructuralFeatures().get(8); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getObjectDetectionSensorSystem() { @@ -1681,6 +1868,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getObjectTrackingSensorSystem() { @@ -1690,6 +1878,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getLidarSystem() { @@ -1699,114 +1888,127 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_NbLayers() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(0); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_LayerAngleMin() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(1); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_LayerAngleStep() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(2); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_Noise() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(3); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_SigmaNoise() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(4); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_Angle_min() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(5); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(5); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_Angle_max() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(6); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(6); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_Time_increment() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(7); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(7); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_Scan_time() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(8); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(8); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_Range_min() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(9); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(9); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_Range_max() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(10); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(10); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getLidarSystem_NbRays() { - return (EAttribute)lidarSystemEClass.getEStructuralFeatures().get(11); + return (EAttribute) lidarSystemEClass.getEStructuralFeatures().get(11); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getLocalizationSensorSystem() { @@ -1816,6 +2018,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getGPSSystem() { @@ -1825,15 +2028,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getGPSSystem_OriginPosition() { - return (EReference)gpsSystemEClass.getEStructuralFeatures().get(0); + return (EReference) gpsSystemEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getAlgorithmLibrary() { @@ -1843,24 +2048,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getAlgorithmLibrary_Base_Class() { - return (EReference)algorithmLibraryEClass.getEStructuralFeatures().get(0); + return (EReference) algorithmLibraryEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getAlgorithmLibrary_Path() { - return (EAttribute)algorithmLibraryEClass.getEStructuralFeatures().get(1); + return (EAttribute) algorithmLibraryEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSensorDriver() { @@ -1870,6 +2078,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getBuilding() { @@ -1879,6 +2088,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getPlanet() { @@ -1888,6 +2098,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getLandSurface() { @@ -1897,6 +2108,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getGround() { @@ -1906,6 +2118,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getFloor() { @@ -1915,6 +2128,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getWaterSurface() { @@ -1924,6 +2138,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getHuman() { @@ -1933,6 +2148,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getPedestrian() { @@ -1942,6 +2158,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getStairs() { @@ -1951,6 +2168,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getPlatform() { @@ -1960,24 +2178,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getPlatform_Base_Node() { - return (EReference)platformEClass.getEStructuralFeatures().get(0); + return (EReference) platformEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getPlatform_Library() { - return (EReference)platformEClass.getEStructuralFeatures().get(1); + return (EReference) platformEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getExternalLibrary() { @@ -1987,33 +2208,37 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getExternalLibrary_LibPath() { - return (EAttribute)externalLibraryEClass.getEStructuralFeatures().get(0); + return (EAttribute) externalLibraryEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getExternalLibrary_LibFileFormat() { - return (EAttribute)externalLibraryEClass.getEStructuralFeatures().get(1); + return (EAttribute) externalLibraryEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getExternalLibrary_Base_Interface() { - return (EReference)externalLibraryEClass.getEStructuralFeatures().get(2); + return (EReference) externalLibraryEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getRoboticMiddleware() { @@ -2023,15 +2248,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getRoboticMiddleware_Kind() { - return (EAttribute)roboticMiddlewareEClass.getEStructuralFeatures().get(0); + return (EAttribute) roboticMiddlewareEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getRoboticSimulator() { @@ -2041,6 +2268,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getCycabTK() { @@ -2050,33 +2278,37 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCycabTK_UseRealTime() { - return (EAttribute)cycabTKEClass.getEStructuralFeatures().get(0); + return (EAttribute) cycabTKEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCycabTK_TimeStep() { - return (EAttribute)cycabTKEClass.getEStructuralFeatures().get(1); + return (EAttribute) cycabTKEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getCycabTK_TimeFactor() { - return (EAttribute)cycabTKEClass.getEStructuralFeatures().get(2); + return (EAttribute) cycabTKEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getBlenderMorse() { @@ -2086,42 +2318,47 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getBlenderMorse_DebugMode() { - return (EAttribute)blenderMorseEClass.getEStructuralFeatures().get(0); + return (EAttribute) blenderMorseEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getBlenderMorse_DebugDisplay() { - return (EAttribute)blenderMorseEClass.getEStructuralFeatures().get(1); + return (EAttribute) blenderMorseEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getBlenderMorse_Gravity() { - return (EAttribute)blenderMorseEClass.getEStructuralFeatures().get(2); + return (EAttribute) blenderMorseEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getBlenderMorse__viewport_shade() { - return (EAttribute)blenderMorseEClass.getEStructuralFeatures().get(3); + return (EAttribute) blenderMorseEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getOnPort() { @@ -2131,24 +2368,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getOnPort_Port() { - return (EReference)onPortEClass.getEStructuralFeatures().get(0); + return (EReference) onPortEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getOnPort_Base_Parameter() { - return (EReference)onPortEClass.getEStructuralFeatures().get(1); + return (EReference) onPortEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getAllocate() { @@ -2158,15 +2398,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getAllocate_Base_Abstraction() { - return (EReference)allocateEClass.getEStructuralFeatures().get(0); + return (EReference) allocateEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getInertialMeasurementUnitSystem() { @@ -2176,6 +2418,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getInertialNavigationSystem() { @@ -2185,6 +2428,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getOdometrySystem() { @@ -2194,6 +2438,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getInfraRedProximetrySystem() { @@ -2203,6 +2448,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getDeploymentPlan() { @@ -2212,24 +2458,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getDeploymentPlan_Base_Package() { - return (EReference)deploymentPlanEClass.getEStructuralFeatures().get(0); + return (EReference) deploymentPlanEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getDeploymentPlan_MainInstance() { - return (EReference)deploymentPlanEClass.getEStructuralFeatures().get(1); + return (EReference) deploymentPlanEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getGyroscope() { @@ -2239,6 +2488,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getOnProperty() { @@ -2248,24 +2498,27 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getOnProperty_Property() { - return (EReference)onPropertyEClass.getEStructuralFeatures().get(0); + return (EReference) onPropertyEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EReference getOnProperty_Base_Parameter() { - return (EReference)onPropertyEClass.getEStructuralFeatures().get(1); + return (EReference) onPropertyEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getChassis() { @@ -2275,6 +2528,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSupportingStructure() { @@ -2284,6 +2538,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getMechanicalLinkage() { @@ -2293,6 +2548,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getLeg() { @@ -2302,6 +2558,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getLocomotionHardware() { @@ -2311,6 +2568,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getActuatorHardware() { @@ -2320,6 +2578,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getMobileRobot() { @@ -2329,15 +2588,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EAttribute getMobileRobot_Kind() { - return (EAttribute)mobileRobotEClass.getEStructuralFeatures().get(0); + return (EAttribute) mobileRobotEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getManipulator() { @@ -2347,6 +2608,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getPilotedSystem() { @@ -2356,6 +2618,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getPowerHardware() { @@ -2365,6 +2628,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSensorHardware() { @@ -2374,6 +2638,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getGraspingHardware() { @@ -2383,6 +2648,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getSteeredWheelHardware() { @@ -2392,6 +2658,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getArm() { @@ -2401,6 +2668,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getLegSystem() { @@ -2410,6 +2678,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getGraspingSystem() { @@ -2419,6 +2688,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getWeaponSystem() { @@ -2428,6 +2698,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getManMachineInterfaceSystem() { @@ -2437,6 +2708,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getClosedLoopControlSystem() { @@ -2446,6 +2718,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getOpenLoopControlSystem() { @@ -2455,6 +2728,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getRoboticHead() { @@ -2464,6 +2738,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getNavigationCommandSystem() { @@ -2473,6 +2748,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EClass getJoysticNavigationSystem() { @@ -2482,6 +2758,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EEnum getSynchronizationKind() { @@ -2491,6 +2768,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EEnum getDataFlowDirectionKind() { @@ -2500,6 +2778,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EEnum getServiceFlowKind() { @@ -2509,6 +2788,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EEnum getUGVKind() { @@ -2518,6 +2798,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EEnum getRoboticMiddlewareKind() { @@ -2527,6 +2808,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EEnum getShade() { @@ -2536,6 +2818,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public EEnum getMobileRobotKind() { @@ -2545,28 +2828,33 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RobotMLFactory getRobotMLFactory() { - return (RobotMLFactory)getEFactoryInstance(); + return (RobotMLFactory) getEFactoryInstance(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is + * Creates the meta-model objects for the package. This method is * guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void createPackageContents() { - if (isCreated) return; + if (isCreated) { + return; + } isCreated = true; // Create classes and their features @@ -2845,19 +3133,23 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This + * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void initializePackageContents() { - if (isInitialized) return; + if (isInitialized) { + return; + } isInitialized = true; // Initialize package @@ -2866,10 +3158,10 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { setNsURI(eNS_URI); // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - Geometry_datatypesPackage theGeometry_datatypesPackage = (Geometry_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); + Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage) EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); + Geometry_datatypesPackage theGeometry_datatypesPackage = (Geometry_datatypesPackage) EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI); // Create type parameters @@ -2952,12 +3244,14 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { // 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_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(), 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); + 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); initEAttribute(getAlgorithm_IsExternal(), theTypesPackage.getBoolean(), "isExternal", null, 1, 1, Algorithm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getAlgorithm_ExtFunctionName(), theTypesPackage.getString(), "extFunctionName", null, 1, 1, Algorithm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); 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); @@ -2978,16 +3272,19 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { 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); initEClass(systemEClass, org.eclipse.papyrus.RobotML.System.class, "System", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSystem_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, org.eclipse.papyrus.RobotML.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getSystem_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, org.eclipse.papyrus.RobotML.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); initEAttribute(getSystem_Native(), theTypesPackage.getBoolean(), "native", null, 1, 1, org.eclipse.papyrus.RobotML.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getSystem_LibraryPath(), theTypesPackage.getString(), "libraryPath", null, 1, 1, org.eclipse.papyrus.RobotML.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSystem_LibraryComponentName(), theTypesPackage.getString(), "libraryComponentName", null, 1, 1, org.eclipse.papyrus.RobotML.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSystem_LibraryComponentName(), theTypesPackage.getString(), "libraryComponentName", null, 1, 1, org.eclipse.papyrus.RobotML.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); initEClass(agentEClass, Agent.class, "Agent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getAgent_MovesOver(), this.getSurface(), null, "movesOver", null, 0, -1, Agent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(physicalObjectEClass, PhysicalObject.class, "PhysicalObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPhysicalObject_EvelovesIn(), this.getEnvironment(), null, "evelovesIn", null, 0, -1, PhysicalObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPhysicalObject_EvelovesIn(), this.getEnvironment(), null, "evelovesIn", null, 0, -1, PhysicalObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); initEReference(getPhysicalObject_HasSurface(), this.getSurface(), null, "hasSurface", null, 1, 1, PhysicalObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getPhysicalObject_Height(), theStd_datatypesPackage.getFloat32(), "height", null, 1, 1, PhysicalObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getPhysicalObject_Mass(), theStd_datatypesPackage.getFloat32(), "mass", null, 1, 1, PhysicalObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); @@ -3010,8 +3307,10 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEClass(actuatorSystemEClass, ActuatorSystem.class, "ActuatorSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(roboticSystemEClass, RoboticSystem.class, "RoboticSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRoboticSystem_LocalPosition(), theGeometry_datatypesPackage.getPoint32(), null, "localPosition", null, 1, 1, RoboticSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getRoboticSystem_LocalOrientation(), theGeometry_datatypesPackage.getPoint32(), null, "localOrientation", null, 1, 1, RoboticSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRoboticSystem_LocalPosition(), theGeometry_datatypesPackage.getPoint32(), null, "localPosition", null, 1, 1, RoboticSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRoboticSystem_LocalOrientation(), theGeometry_datatypesPackage.getPoint32(), null, "localOrientation", null, 1, 1, RoboticSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(cyberPhysicalSystemEClass, CyberPhysicalSystem.class, "CyberPhysicalSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -3039,20 +3338,32 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEClass(steeredWheelSystemEClass, SteeredWheelSystem.class, "SteeredWheelSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSteeredWheelSystem_WheelRadius(), theStd_datatypesPackage.getFloat32(), "wheelRadius", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getSteeredWheelSystem_WheelWidth(), theStd_datatypesPackage.getFloat32(), "wheelWidth", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_SuspensionRestLength(), theStd_datatypesPackage.getFloat32(), "suspensionRestLength", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelConnectionHeight(), theStd_datatypesPackage.getFloat32(), "wheelConnectionHeight", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_SuspensionRestLength(), theStd_datatypesPackage.getFloat32(), "suspensionRestLength", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelConnectionHeight(), theStd_datatypesPackage.getFloat32(), "wheelConnectionHeight", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); initEAttribute(getSteeredWheelSystem_TypeOfWheel(), theStd_datatypesPackage.getString(), "typeOfWheel", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelVelocityPIDkp(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDkp", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelVelocityPIDki(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDki", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelVelocityPIDkd(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDkd", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelSteeringPIDkp(), theStd_datatypesPackage.getFloat32(), "wheelSteeringPIDkp", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelSteeringPIDkd(), theStd_datatypesPackage.getFloat32(), "wheelSteeringPIDkd", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelVelocityPIDkp(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDkp", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelVelocityPIDki(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDki", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelVelocityPIDkd(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDkd", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelSteeringPIDkp(), theStd_datatypesPackage.getFloat32(), "wheelSteeringPIDkp", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelSteeringPIDkd(), theStd_datatypesPackage.getFloat32(), "wheelSteeringPIDkd", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); initEAttribute(getSteeredWheelSystem_WheelFriction(), theStd_datatypesPackage.getFloat32(), "wheelFriction", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_SuspensionStiffness(), theStd_datatypesPackage.getFloat32(), "suspensionStiffness", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_SuspensionDamping(), theStd_datatypesPackage.getFloat32(), "suspensionDamping", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_SuspensionCompression(), theStd_datatypesPackage.getFloat32(), "suspensionCompression", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelVelocityPIDmaxSum(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDmaxSum", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getSteeredWheelSystem_WheelVelocityPIDmaxVal(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDmaxVal", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_SuspensionStiffness(), theStd_datatypesPackage.getFloat32(), "suspensionStiffness", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_SuspensionDamping(), theStd_datatypesPackage.getFloat32(), "suspensionDamping", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_SuspensionCompression(), theStd_datatypesPackage.getFloat32(), "suspensionCompression", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelVelocityPIDmaxSum(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDmaxSum", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + initEAttribute(getSteeredWheelSystem_WheelVelocityPIDmaxVal(), theStd_datatypesPackage.getFloat32(), "wheelVelocityPIDmaxVal", null, 1, 1, SteeredWheelSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); initEClass(locomotionSystemEClass, LocomotionSystem.class, "LocomotionSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -3066,8 +3377,10 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEAttribute(getCameraSystem_U0(), theStd_datatypesPackage.getFloat32(), "u0", null, 1, 1, CameraSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getCameraSystem_V0(), theStd_datatypesPackage.getFloat32(), "v0", null, 1, 1, CameraSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getCameraSystem_Color_format(), theStd_datatypesPackage.getString(), "color_format", null, 1, 1, CameraSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getCameraSystem_Translate(), theGeometry_datatypesPackage.getPoint32(), null, "translate", null, 1, 1, CameraSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getCameraSystem_Rotate(), theGeometry_datatypesPackage.getPoint32(), null, "rotate", null, 1, 1, CameraSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getCameraSystem_Translate(), theGeometry_datatypesPackage.getPoint32(), null, "translate", null, 1, 1, CameraSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + initEReference(getCameraSystem_Rotate(), theGeometry_datatypesPackage.getPoint32(), null, "rotate", null, 1, 1, CameraSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); initEClass(objectDetectionSensorSystemEClass, ObjectDetectionSensorSystem.class, "ObjectDetectionSensorSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -3090,10 +3403,12 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEClass(localizationSensorSystemEClass, LocalizationSensorSystem.class, "LocalizationSensorSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(gpsSystemEClass, GPSSystem.class, "GPSSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGPSSystem_OriginPosition(), theGeometry_datatypesPackage.getPoint32(), null, "originPosition", null, 0, 1, GPSSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGPSSystem_OriginPosition(), theGeometry_datatypesPackage.getPoint32(), null, "originPosition", null, 0, 1, GPSSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); initEClass(algorithmLibraryEClass, AlgorithmLibrary.class, "AlgorithmLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - 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); + 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(sensorDriverEClass, SensorDriver.class, "SensorDriver", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -3123,7 +3438,8 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { 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); + 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); @@ -3143,10 +3459,12 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEClass(onPortEClass, OnPort.class, "OnPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getOnPort_Port(), this.getPort(), null, "port", null, 1, 1, OnPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getOnPort_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, OnPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getOnPort_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, OnPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); initEClass(allocateEClass, Allocate.class, "Allocate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAllocate_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, 1, Allocate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getAllocate_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, 1, Allocate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); initEClass(inertialMeasurementUnitSystemEClass, InertialMeasurementUnitSystem.class, "InertialMeasurementUnitSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -3157,14 +3475,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEClass(infraRedProximetrySystemEClass, InfraRedProximetrySystem.class, "InfraRedProximetrySystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(deploymentPlanEClass, DeploymentPlan.class, "DeploymentPlan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDeploymentPlan_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 1, 1, DeploymentPlan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getDeploymentPlan_MainInstance(), theUMLPackage.getInstanceSpecification(), null, "mainInstance", null, 1, 1, DeploymentPlan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDeploymentPlan_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 1, 1, DeploymentPlan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + !IS_ORDERED); + initEReference(getDeploymentPlan_MainInstance(), theUMLPackage.getInstanceSpecification(), null, "mainInstance", null, 1, 1, DeploymentPlan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); 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); + 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); initEClass(chassisEClass, Chassis.class, "Chassis", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -3258,4 +3579,4 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { createResource(eNS_URI); } -} //RobotMLPackageImpl +} // RobotMLPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticHeadImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticHeadImpl.java index 496ca2c7491..fc65dca4f87 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticHeadImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticHeadImpl.java @@ -20,6 +20,7 @@ public class RoboticHeadImpl extends ManMachineInterfaceSystemImpl implements Ro /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected RoboticHeadImpl() { @@ -29,6 +30,7 @@ public class RoboticHeadImpl extends ManMachineInterfaceSystemImpl implements Ro /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class RoboticHeadImpl extends ManMachineInterfaceSystemImpl implements Ro return RobotMLPackage.Literals.ROBOTIC_HEAD; } -} //RoboticHeadImpl +} // RoboticHeadImpl 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 e3e016d68b5..2f22d09d9e0 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 @@ -19,7 +19,7 @@ import org.eclipse.papyrus.RobotML.RoboticMiddlewareKind; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl#getKind <em>Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl#getKind <em>Kind</em>}</li> * </ul> * </p> * @@ -30,6 +30,7 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getKind() * @generated * @ordered @@ -40,6 +41,7 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getKind() * @generated * @ordered @@ -49,6 +51,7 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected RoboticMiddlewareImpl() { @@ -58,6 +61,7 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -68,6 +72,7 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public RoboticMiddlewareKind getKind() { @@ -77,25 +82,28 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - return getKind(); + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + return getKind(); } return super.eGet(featureID, resolve, coreType); } @@ -103,14 +111,15 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - setKind((RoboticMiddlewareKind)newValue); - return; + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + setKind((RoboticMiddlewareKind) newValue); + return; } super.eSet(featureID, newValue); } @@ -118,14 +127,15 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - setKind(KIND_EDEFAULT); - return; + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + setKind(KIND_EDEFAULT); + return; } super.eUnset(featureID); } @@ -133,13 +143,14 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - return kind != KIND_EDEFAULT; + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + return kind != KIND_EDEFAULT; } return super.eIsSet(featureID); } @@ -147,11 +158,14 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (kind: "); @@ -160,4 +174,4 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle return result.toString(); } -} //RoboticMiddlewareImpl +} // RoboticMiddlewareImpl 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 7245fc53900..2527ea66f61 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 @@ -20,6 +20,7 @@ public class RoboticSimulatorImpl extends PlatformImpl implements RoboticSimulat /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected RoboticSimulatorImpl() { @@ -29,6 +30,7 @@ public class RoboticSimulatorImpl extends PlatformImpl implements RoboticSimulat /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class RoboticSimulatorImpl extends PlatformImpl implements RoboticSimulat return RobotMLPackage.Literals.ROBOTIC_SIMULATOR; } -} //RoboticSimulatorImpl +} // RoboticSimulatorImpl 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 bcbcbdbbca6..b85d4193f51 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 @@ -22,8 +22,8 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalPosition <em>Local Position</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalOrientation <em>Local Orientation</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalPosition <em>Local Position</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalOrientation <em>Local Orientation</em>}</li> * </ul> * </p> * @@ -34,6 +34,7 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { * The cached value of the '{@link #getLocalPosition() <em>Local Position</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLocalPosition() * @generated * @ordered @@ -44,6 +45,7 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { * The cached value of the '{@link #getLocalOrientation() <em>Local Orientation</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLocalOrientation() * @generated * @ordered @@ -53,6 +55,7 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected RoboticSystemImpl() { @@ -62,6 +65,7 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -72,6 +76,7 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Point32 getLocalPosition() { @@ -81,6 +86,7 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public NotificationChain basicSetLocalPosition(Point32 newLocalPosition, NotificationChain msgs) { @@ -88,7 +94,11 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { localPosition = newLocalPosition; 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; } @@ -96,25 +106,32 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setLocalPosition(Point32 newLocalPosition) { if (newLocalPosition != localPosition) { NotificationChain msgs = null; - if (localPosition != null) - msgs = ((InternalEObject)localPosition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, null, msgs); - if (newLocalPosition != null) - msgs = ((InternalEObject)newLocalPosition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, null, msgs); + if (localPosition != null) { + msgs = ((InternalEObject) localPosition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, null, msgs); + } + 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(); + if (msgs != null) { + msgs.dispatch(); + } } - else if (eNotificationRequired()) + else if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, newLocalPosition, newLocalPosition)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Point32 getLocalOrientation() { @@ -124,6 +141,7 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public NotificationChain basicSetLocalOrientation(Point32 newLocalOrientation, NotificationChain msgs) { @@ -131,7 +149,11 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { localOrientation = newLocalOrientation; 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; } @@ -139,34 +161,41 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setLocalOrientation(Point32 newLocalOrientation) { if (newLocalOrientation != localOrientation) { NotificationChain msgs = null; - if (localOrientation != null) - msgs = ((InternalEObject)localOrientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, null, msgs); - if (newLocalOrientation != null) - msgs = ((InternalEObject)newLocalOrientation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, null, msgs); + if (localOrientation != null) { + msgs = ((InternalEObject) localOrientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, null, msgs); + } + 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(); + if (msgs != null) { + msgs.dispatch(); + } } - else if (eNotificationRequired()) + else if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, newLocalOrientation, newLocalOrientation)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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); + 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); } @@ -174,15 +203,16 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + return getLocalPosition(); + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + return getLocalOrientation(); } return super.eGet(featureID, resolve, coreType); } @@ -190,17 +220,18 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + setLocalPosition((Point32) newValue); + return; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + setLocalOrientation((Point32) newValue); + return; } super.eSet(featureID, newValue); } @@ -208,17 +239,18 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + setLocalPosition((Point32) null); + return; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + setLocalOrientation((Point32) null); + return; } super.eUnset(featureID); } @@ -226,17 +258,18 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + return localPosition != null; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + return localOrientation != null; } return super.eIsSet(featureID); } -} //RoboticSystemImpl +} // RoboticSystemImpl 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 60187a90903..794c52ed8f3 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 @@ -20,6 +20,7 @@ public class SensorDriverImpl extends SoftwareImpl implements SensorDriver { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SensorDriverImpl() { @@ -29,6 +30,7 @@ public class SensorDriverImpl extends SoftwareImpl implements SensorDriver { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class SensorDriverImpl extends SoftwareImpl implements SensorDriver { return RobotMLPackage.Literals.SENSOR_DRIVER; } -} //SensorDriverImpl +} // SensorDriverImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorHardwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorHardwareImpl.java index 170662d6625..1c4cf21ed1c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorHardwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorHardwareImpl.java @@ -20,6 +20,7 @@ public class SensorHardwareImpl extends HardwareImpl implements SensorHardware { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SensorHardwareImpl() { @@ -29,6 +30,7 @@ public class SensorHardwareImpl extends HardwareImpl implements SensorHardware { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class SensorHardwareImpl extends HardwareImpl implements SensorHardware { return RobotMLPackage.Literals.SENSOR_HARDWARE; } -} //SensorHardwareImpl +} // SensorHardwareImpl 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 25fa2800d98..149eb83c671 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 @@ -18,8 +18,8 @@ import org.eclipse.papyrus.RobotML.SensorSystem; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getFrequency <em>Frequency</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getIdentifier <em>Identifier</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getFrequency <em>Frequency</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getIdentifier <em>Identifier</em>}</li> * </ul> * </p> * @@ -30,6 +30,7 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem * The default value of the '{@link #getFrequency() <em>Frequency</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getFrequency() * @generated * @ordered @@ -40,6 +41,7 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem * The cached value of the '{@link #getFrequency() <em>Frequency</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getFrequency() * @generated * @ordered @@ -50,6 +52,7 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getIdentifier() * @generated * @ordered @@ -60,6 +63,7 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getIdentifier() * @generated * @ordered @@ -69,6 +73,7 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SensorSystemImpl() { @@ -78,6 +83,7 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -88,6 +94,7 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getFrequency() { @@ -97,18 +104,21 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getIdentifier() { @@ -118,27 +128,30 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: + return getFrequency(); + case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: + return getIdentifier(); } return super.eGet(featureID, resolve, coreType); } @@ -146,17 +159,18 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: + setFrequency((Float) newValue); + return; + case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: + setIdentifier((String) newValue); + return; } super.eSet(featureID, newValue); } @@ -164,17 +178,18 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: + setFrequency(FREQUENCY_EDEFAULT); + return; + case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; } super.eUnset(featureID); } @@ -182,15 +197,16 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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); + 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); } @@ -198,11 +214,14 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (frequency: "); @@ -213,4 +232,4 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem return result.toString(); } -} //SensorSystemImpl +} // SensorSystemImpl 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 9e65c56f961..1e944f321cd 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 @@ -21,7 +21,7 @@ import org.eclipse.uml2.uml.Stereotype; * <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.RobotML.impl.ServicePortImpl#getKind <em>Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.RobotML.impl.ServicePortImpl#getKind <em>Kind</em>}</li>
* </ul>
* </p>
*
@@ -32,6 +32,7 @@ public class ServicePortImpl extends PortImpl implements ServicePort { * The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getKind()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class ServicePortImpl extends PortImpl implements ServicePort { * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getKind()
* @generated
* @ordered
@@ -51,6 +53,7 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ServicePortImpl() {
@@ -60,6 +63,7 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -70,6 +74,7 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ServiceFlowKind getKind() {
@@ -79,25 +84,28 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case RobotMLPackage.SERVICE_PORT__KIND:
- return getKind();
+ case RobotMLPackage.SERVICE_PORT__KIND:
+ return getKind();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -105,14 +113,15 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case RobotMLPackage.SERVICE_PORT__KIND:
- setKind((ServiceFlowKind)newValue);
- return;
+ case RobotMLPackage.SERVICE_PORT__KIND:
+ setKind((ServiceFlowKind) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -120,14 +129,15 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case RobotMLPackage.SERVICE_PORT__KIND:
- setKind(KIND_EDEFAULT);
- return;
+ case RobotMLPackage.SERVICE_PORT__KIND:
+ setKind(KIND_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -135,13 +145,14 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case RobotMLPackage.SERVICE_PORT__KIND:
- return kind != KIND_EDEFAULT;
+ case RobotMLPackage.SERVICE_PORT__KIND:
+ return kind != KIND_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -149,11 +160,14 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (kind: ");
@@ -161,14 +175,14 @@ public class ServicePortImpl extends PortImpl implements ServicePort { result.append(')');
return result.toString();
}
-
+
/**
* <!-- begin-user-doc -->
* Images registered in Profile are :
- *
+ *
* 0 - ServicePort Provided
* 1 - ServicePort Required
- *
+ *
* <!-- end-user-doc -->.
*
* @return the icon of the port
@@ -176,11 +190,11 @@ public class ServicePortImpl extends PortImpl implements ServicePort { */
public Image getIcon() {
Image ImageNotFound = null;
- if(getBase_Port() != null) {
+ if (getBase_Port() != null) {
Stereotype st = getBase_Port().getAppliedStereotype("RobotML::ServicePort");
Image image = st.getIcons().get(0);
- if(getKind() == ServiceFlowKind.REQUIRED) {
+ if (getKind() == ServiceFlowKind.REQUIRED) {
image = st.getIcons().get(1);
}
@@ -190,4 +204,4 @@ public class ServicePortImpl extends PortImpl implements ServicePort { }
}
-} //ServicePortImpl
+} // ServicePortImpl
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 46862924566..c4421665509 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 @@ -18,11 +18,11 @@ import org.eclipse.papyrus.RobotML.Software; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#isIsPeriodic <em>Is Periodic</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPeriod <em>Period</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPriority <em>Priority</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getDeadline <em>Deadline</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getWcet <em>Wcet</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#isIsPeriodic <em>Is Periodic</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPeriod <em>Period</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPriority <em>Priority</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getDeadline <em>Deadline</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getWcet <em>Wcet</em>}</li> * </ul> * </p> * @@ -33,6 +33,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #isIsPeriodic() <em>Is Periodic</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isIsPeriodic() * @generated * @ordered @@ -43,6 +44,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #isIsPeriodic() <em>Is Periodic</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isIsPeriodic() * @generated * @ordered @@ -53,6 +55,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getPeriod() <em>Period</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getPeriod() * @generated * @ordered @@ -63,6 +66,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getPeriod() <em>Period</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getPeriod() * @generated * @ordered @@ -73,6 +77,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getPriority() <em>Priority</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getPriority() * @generated * @ordered @@ -83,6 +88,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getPriority() <em>Priority</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getPriority() * @generated * @ordered @@ -93,6 +99,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getDeadline() <em>Deadline</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getDeadline() * @generated * @ordered @@ -103,6 +110,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getDeadline() <em>Deadline</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getDeadline() * @generated * @ordered @@ -113,6 +121,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getWcet() <em>Wcet</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWcet() * @generated * @ordered @@ -123,6 +132,7 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getWcet() <em>Wcet</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWcet() * @generated * @ordered @@ -132,6 +142,7 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SoftwareImpl() { @@ -141,6 +152,7 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -151,6 +163,7 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public boolean isIsPeriodic() { @@ -160,18 +173,21 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getPeriod() { @@ -181,18 +197,21 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public char getPriority() { @@ -202,18 +221,21 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getDeadline() { @@ -223,18 +245,21 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWcet() { @@ -244,33 +269,36 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -278,26 +306,27 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -305,26 +334,27 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -332,21 +362,22 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -354,11 +385,14 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (isPeriodic: "); @@ -375,4 +409,4 @@ public class SoftwareImpl extends SystemImpl implements Software { return result.toString(); } -} //SoftwareImpl +} // SoftwareImpl 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 5a0f83669fe..da281cc9551 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 @@ -20,6 +20,7 @@ public class StairsImpl extends GroundImpl implements Stairs { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected StairsImpl() { @@ -29,6 +30,7 @@ public class StairsImpl extends GroundImpl implements Stairs { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class StairsImpl extends GroundImpl implements Stairs { return RobotMLPackage.Literals.STAIRS; } -} //StairsImpl +} // StairsImpl 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 2e08919e9b6..ac622da365a 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 @@ -22,8 +22,8 @@ import org.eclipse.uml2.uml.Behavior; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.StateImpl#getBase_State <em>Base State</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.StateImpl#getBehavior <em>Behavior</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.StateImpl#getBase_State <em>Base State</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.StateImpl#getBehavior <em>Behavior</em>}</li> * </ul> * </p> * @@ -34,6 +34,7 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { * The cached value of the '{@link #getBase_State() <em>Base State</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_State() * @generated * @ordered @@ -44,6 +45,7 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { * The cached value of the '{@link #getBehavior() <em>Behavior</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBehavior() * @generated * @ordered @@ -53,6 +55,7 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected StateImpl() { @@ -62,6 +65,7 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -72,15 +76,17 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.State getBase_State() { if (base_State != null && base_State.eIsProxy()) { - InternalEObject oldBase_State = (InternalEObject)base_State; - base_State = (org.eclipse.uml2.uml.State)eResolveProxy(oldBase_State); + InternalEObject oldBase_State = (InternalEObject) base_State; + base_State = (org.eclipse.uml2.uml.State) eResolveProxy(oldBase_State); if (base_State != oldBase_State) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.STATE__BASE_STATE, oldBase_State, base_State)); + } } } return base_State; @@ -89,6 +95,7 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.State basicGetBase_State() { @@ -98,27 +105,31 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Behavior getBehavior() { if (behavior != null && behavior.eIsProxy()) { - InternalEObject oldBehavior = (InternalEObject)behavior; - behavior = (Behavior)eResolveProxy(oldBehavior); + InternalEObject oldBehavior = (InternalEObject) behavior; + behavior = (Behavior) eResolveProxy(oldBehavior); if (behavior != oldBehavior) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.STATE__BEHAVIOR, oldBehavior, behavior)); + } } } return behavior; @@ -127,6 +138,7 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Behavior basicGetBehavior() { @@ -136,29 +148,36 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setBehavior(Behavior newBehavior) { Behavior oldBehavior = behavior; behavior = newBehavior; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STATE__BEHAVIOR, oldBehavior, behavior)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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__BEHAVIOR: - if (resolve) return getBehavior(); - return basicGetBehavior(); + 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); } @@ -166,17 +185,18 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @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__BEHAVIOR: - setBehavior((Behavior)newValue); - return; + 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); } @@ -184,17 +204,18 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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__BEHAVIOR: - setBehavior((Behavior)null); - return; + 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); } @@ -202,17 +223,18 @@ public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.STATE__BASE_STATE: - return base_State != null; - case RobotMLPackage.STATE__BEHAVIOR: - return behavior != null; + case RobotMLPackage.STATE__BASE_STATE: + return base_State != null; + case RobotMLPackage.STATE__BEHAVIOR: + return behavior != null; } return super.eIsSet(featureID); } -} //StateImpl +} // StateImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelHardwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelHardwareImpl.java index 64d0988d79a..e3e9e43e3f1 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelHardwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelHardwareImpl.java @@ -20,6 +20,7 @@ public class SteeredWheelHardwareImpl extends LocomotionHardwareImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SteeredWheelHardwareImpl() { @@ -29,6 +30,7 @@ public class SteeredWheelHardwareImpl extends LocomotionHardwareImpl implements /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class SteeredWheelHardwareImpl extends LocomotionHardwareImpl implements return RobotMLPackage.Literals.STEERED_WHEEL_HARDWARE; } -} //SteeredWheelHardwareImpl +} // SteeredWheelHardwareImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelSystemImpl.java index 13f38c18c7c..f85e52429ef 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SteeredWheelSystemImpl.java @@ -18,22 +18,22 @@ import org.eclipse.papyrus.RobotML.SteeredWheelSystem; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelRadius <em>Wheel Radius</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelWidth <em>Wheel Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionRestLength <em>Suspension Rest Length</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelConnectionHeight <em>Wheel Connection Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getTypeOfWheel <em>Type Of Wheel</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDkp <em>Wheel Velocity PI Dkp</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDki <em>Wheel Velocity PI Dki</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDkd <em>Wheel Velocity PI Dkd</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelSteeringPIDkp <em>Wheel Steering PI Dkp</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelSteeringPIDkd <em>Wheel Steering PI Dkd</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelFriction <em>Wheel Friction</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionStiffness <em>Suspension Stiffness</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionDamping <em>Suspension Damping</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionCompression <em>Suspension Compression</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDmaxSum <em>Wheel Velocity PI Dmax Sum</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDmaxVal <em>Wheel Velocity PI Dmax Val</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelRadius <em>Wheel Radius</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelWidth <em>Wheel Width</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionRestLength <em>Suspension Rest Length</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelConnectionHeight <em>Wheel Connection Height</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getTypeOfWheel <em>Type Of Wheel</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDkp <em>Wheel Velocity PI Dkp</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDki <em>Wheel Velocity PI Dki</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDkd <em>Wheel Velocity PI Dkd</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelSteeringPIDkp <em>Wheel Steering PI Dkp</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelSteeringPIDkd <em>Wheel Steering PI Dkd</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelFriction <em>Wheel Friction</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionStiffness <em>Suspension Stiffness</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionDamping <em>Suspension Damping</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getSuspensionCompression <em>Suspension Compression</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDmaxSum <em>Wheel Velocity PI Dmax Sum</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SteeredWheelSystemImpl#getWheelVelocityPIDmaxVal <em>Wheel Velocity PI Dmax Val</em>}</li> * </ul> * </p> * @@ -44,6 +44,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelRadius() <em>Wheel Radius</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelRadius() * @generated * @ordered @@ -54,6 +55,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelRadius() <em>Wheel Radius</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelRadius() * @generated * @ordered @@ -64,6 +66,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelWidth() <em>Wheel Width</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelWidth() * @generated * @ordered @@ -74,6 +77,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelWidth() <em>Wheel Width</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelWidth() * @generated * @ordered @@ -84,6 +88,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getSuspensionRestLength() <em>Suspension Rest Length</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionRestLength() * @generated * @ordered @@ -94,6 +99,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getSuspensionRestLength() <em>Suspension Rest Length</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionRestLength() * @generated * @ordered @@ -104,6 +110,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelConnectionHeight() <em>Wheel Connection Height</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelConnectionHeight() * @generated * @ordered @@ -114,6 +121,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelConnectionHeight() <em>Wheel Connection Height</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelConnectionHeight() * @generated * @ordered @@ -124,6 +132,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getTypeOfWheel() <em>Type Of Wheel</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTypeOfWheel() * @generated * @ordered @@ -134,6 +143,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getTypeOfWheel() <em>Type Of Wheel</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getTypeOfWheel() * @generated * @ordered @@ -144,6 +154,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelVelocityPIDkp() <em>Wheel Velocity PI Dkp</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDkp() * @generated * @ordered @@ -154,6 +165,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelVelocityPIDkp() <em>Wheel Velocity PI Dkp</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDkp() * @generated * @ordered @@ -164,6 +176,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelVelocityPIDki() <em>Wheel Velocity PI Dki</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDki() * @generated * @ordered @@ -174,6 +187,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelVelocityPIDki() <em>Wheel Velocity PI Dki</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDki() * @generated * @ordered @@ -184,6 +198,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelVelocityPIDkd() <em>Wheel Velocity PI Dkd</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDkd() * @generated * @ordered @@ -194,6 +209,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelVelocityPIDkd() <em>Wheel Velocity PI Dkd</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDkd() * @generated * @ordered @@ -204,6 +220,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelSteeringPIDkp() <em>Wheel Steering PI Dkp</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelSteeringPIDkp() * @generated * @ordered @@ -214,6 +231,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelSteeringPIDkp() <em>Wheel Steering PI Dkp</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelSteeringPIDkp() * @generated * @ordered @@ -224,6 +242,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelSteeringPIDkd() <em>Wheel Steering PI Dkd</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelSteeringPIDkd() * @generated * @ordered @@ -234,6 +253,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelSteeringPIDkd() <em>Wheel Steering PI Dkd</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelSteeringPIDkd() * @generated * @ordered @@ -244,6 +264,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelFriction() <em>Wheel Friction</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelFriction() * @generated * @ordered @@ -254,6 +275,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelFriction() <em>Wheel Friction</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelFriction() * @generated * @ordered @@ -264,6 +286,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getSuspensionStiffness() <em>Suspension Stiffness</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionStiffness() * @generated * @ordered @@ -274,6 +297,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getSuspensionStiffness() <em>Suspension Stiffness</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionStiffness() * @generated * @ordered @@ -284,6 +308,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getSuspensionDamping() <em>Suspension Damping</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionDamping() * @generated * @ordered @@ -294,6 +319,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getSuspensionDamping() <em>Suspension Damping</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionDamping() * @generated * @ordered @@ -304,6 +330,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getSuspensionCompression() <em>Suspension Compression</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionCompression() * @generated * @ordered @@ -314,6 +341,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getSuspensionCompression() <em>Suspension Compression</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getSuspensionCompression() * @generated * @ordered @@ -324,6 +352,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelVelocityPIDmaxSum() <em>Wheel Velocity PI Dmax Sum</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDmaxSum() * @generated * @ordered @@ -334,6 +363,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelVelocityPIDmaxSum() <em>Wheel Velocity PI Dmax Sum</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDmaxSum() * @generated * @ordered @@ -344,6 +374,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The default value of the '{@link #getWheelVelocityPIDmaxVal() <em>Wheel Velocity PI Dmax Val</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDmaxVal() * @generated * @ordered @@ -354,6 +385,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee * The cached value of the '{@link #getWheelVelocityPIDmaxVal() <em>Wheel Velocity PI Dmax Val</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getWheelVelocityPIDmaxVal() * @generated * @ordered @@ -363,6 +395,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SteeredWheelSystemImpl() { @@ -372,6 +405,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -382,6 +416,7 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelRadius() { @@ -391,18 +426,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelRadius(float newWheelRadius) { float oldWheelRadius = wheelRadius; wheelRadius = newWheelRadius; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS, oldWheelRadius, wheelRadius)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelWidth() { @@ -412,18 +450,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelWidth(float newWheelWidth) { float oldWheelWidth = wheelWidth; wheelWidth = newWheelWidth; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH, oldWheelWidth, wheelWidth)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getSuspensionRestLength() { @@ -433,18 +474,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setSuspensionRestLength(float newSuspensionRestLength) { float oldSuspensionRestLength = suspensionRestLength; suspensionRestLength = newSuspensionRestLength; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH, oldSuspensionRestLength, suspensionRestLength)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelConnectionHeight() { @@ -454,18 +498,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelConnectionHeight(float newWheelConnectionHeight) { float oldWheelConnectionHeight = wheelConnectionHeight; wheelConnectionHeight = newWheelConnectionHeight; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT, oldWheelConnectionHeight, wheelConnectionHeight)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getTypeOfWheel() { @@ -475,18 +522,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setTypeOfWheel(String newTypeOfWheel) { String oldTypeOfWheel = typeOfWheel; typeOfWheel = newTypeOfWheel; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL, oldTypeOfWheel, typeOfWheel)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelVelocityPIDkp() { @@ -496,18 +546,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelVelocityPIDkp(float newWheelVelocityPIDkp) { float oldWheelVelocityPIDkp = wheelVelocityPIDkp; wheelVelocityPIDkp = newWheelVelocityPIDkp; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP, oldWheelVelocityPIDkp, wheelVelocityPIDkp)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelVelocityPIDki() { @@ -517,18 +570,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelVelocityPIDki(float newWheelVelocityPIDki) { float oldWheelVelocityPIDki = wheelVelocityPIDki; wheelVelocityPIDki = newWheelVelocityPIDki; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI, oldWheelVelocityPIDki, wheelVelocityPIDki)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelVelocityPIDkd() { @@ -538,18 +594,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelVelocityPIDkd(float newWheelVelocityPIDkd) { float oldWheelVelocityPIDkd = wheelVelocityPIDkd; wheelVelocityPIDkd = newWheelVelocityPIDkd; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD, oldWheelVelocityPIDkd, wheelVelocityPIDkd)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelSteeringPIDkp() { @@ -559,18 +618,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelSteeringPIDkp(float newWheelSteeringPIDkp) { float oldWheelSteeringPIDkp = wheelSteeringPIDkp; wheelSteeringPIDkp = newWheelSteeringPIDkp; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP, oldWheelSteeringPIDkp, wheelSteeringPIDkp)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelSteeringPIDkd() { @@ -580,18 +642,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelSteeringPIDkd(float newWheelSteeringPIDkd) { float oldWheelSteeringPIDkd = wheelSteeringPIDkd; wheelSteeringPIDkd = newWheelSteeringPIDkd; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD, oldWheelSteeringPIDkd, wheelSteeringPIDkd)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelFriction() { @@ -601,18 +666,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelFriction(float newWheelFriction) { float oldWheelFriction = wheelFriction; wheelFriction = newWheelFriction; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION, oldWheelFriction, wheelFriction)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getSuspensionStiffness() { @@ -622,18 +690,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setSuspensionStiffness(float newSuspensionStiffness) { float oldSuspensionStiffness = suspensionStiffness; suspensionStiffness = newSuspensionStiffness; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS, oldSuspensionStiffness, suspensionStiffness)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getSuspensionDamping() { @@ -643,18 +714,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setSuspensionDamping(float newSuspensionDamping) { float oldSuspensionDamping = suspensionDamping; suspensionDamping = newSuspensionDamping; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING, oldSuspensionDamping, suspensionDamping)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getSuspensionCompression() { @@ -664,18 +738,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setSuspensionCompression(float newSuspensionCompression) { float oldSuspensionCompression = suspensionCompression; suspensionCompression = newSuspensionCompression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION, oldSuspensionCompression, suspensionCompression)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelVelocityPIDmaxSum() { @@ -685,18 +762,21 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelVelocityPIDmaxSum(float newWheelVelocityPIDmaxSum) { float oldWheelVelocityPIDmaxSum = wheelVelocityPIDmaxSum; wheelVelocityPIDmaxSum = newWheelVelocityPIDmaxSum; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM, oldWheelVelocityPIDmaxSum, wheelVelocityPIDmaxSum)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public float getWheelVelocityPIDmaxVal() { @@ -706,55 +786,58 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public void setWheelVelocityPIDmaxVal(float newWheelVelocityPIDmaxVal) { float oldWheelVelocityPIDmaxVal = wheelVelocityPIDmaxVal; wheelVelocityPIDmaxVal = newWheelVelocityPIDmaxVal; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL, oldWheelVelocityPIDmaxVal, wheelVelocityPIDmaxVal)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: - return getWheelRadius(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: - return getWheelWidth(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - return getSuspensionRestLength(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - return getWheelConnectionHeight(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: - return getTypeOfWheel(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - return getWheelVelocityPIDkp(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - return getWheelVelocityPIDki(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - return getWheelVelocityPIDkd(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - return getWheelSteeringPIDkp(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - return getWheelSteeringPIDkd(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: - return getWheelFriction(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - return getSuspensionStiffness(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: - return getSuspensionDamping(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - return getSuspensionCompression(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - return getWheelVelocityPIDmaxSum(); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - return getWheelVelocityPIDmaxVal(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: + return getWheelRadius(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: + return getWheelWidth(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + return getSuspensionRestLength(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + return getWheelConnectionHeight(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: + return getTypeOfWheel(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + return getWheelVelocityPIDkp(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + return getWheelVelocityPIDki(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + return getWheelVelocityPIDkd(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + return getWheelSteeringPIDkp(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + return getWheelSteeringPIDkd(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: + return getWheelFriction(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + return getSuspensionStiffness(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: + return getSuspensionDamping(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + return getSuspensionCompression(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + return getWheelVelocityPIDmaxSum(); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + return getWheelVelocityPIDmaxVal(); } return super.eGet(featureID, resolve, coreType); } @@ -762,59 +845,60 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: - setWheelRadius((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: - setWheelWidth((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - setSuspensionRestLength((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - setWheelConnectionHeight((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: - setTypeOfWheel((String)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - setWheelVelocityPIDkp((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - setWheelVelocityPIDki((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - setWheelVelocityPIDkd((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - setWheelSteeringPIDkp((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - setWheelSteeringPIDkd((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: - setWheelFriction((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - setSuspensionStiffness((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: - setSuspensionDamping((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - setSuspensionCompression((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - setWheelVelocityPIDmaxSum((Float)newValue); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - setWheelVelocityPIDmaxVal((Float)newValue); - return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: + setWheelRadius((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: + setWheelWidth((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + setSuspensionRestLength((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + setWheelConnectionHeight((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: + setTypeOfWheel((String) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + setWheelVelocityPIDkp((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + setWheelVelocityPIDki((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + setWheelVelocityPIDkd((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + setWheelSteeringPIDkp((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + setWheelSteeringPIDkd((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: + setWheelFriction((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + setSuspensionStiffness((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: + setSuspensionDamping((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + setSuspensionCompression((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + setWheelVelocityPIDmaxSum((Float) newValue); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + setWheelVelocityPIDmaxVal((Float) newValue); + return; } super.eSet(featureID, newValue); } @@ -822,59 +906,60 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: - setWheelRadius(WHEEL_RADIUS_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: - setWheelWidth(WHEEL_WIDTH_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - setSuspensionRestLength(SUSPENSION_REST_LENGTH_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - setWheelConnectionHeight(WHEEL_CONNECTION_HEIGHT_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: - setTypeOfWheel(TYPE_OF_WHEEL_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - setWheelVelocityPIDkp(WHEEL_VELOCITY_PI_DKP_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - setWheelVelocityPIDki(WHEEL_VELOCITY_PI_DKI_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - setWheelVelocityPIDkd(WHEEL_VELOCITY_PI_DKD_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - setWheelSteeringPIDkp(WHEEL_STEERING_PI_DKP_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - setWheelSteeringPIDkd(WHEEL_STEERING_PI_DKD_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: - setWheelFriction(WHEEL_FRICTION_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - setSuspensionStiffness(SUSPENSION_STIFFNESS_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: - setSuspensionDamping(SUSPENSION_DAMPING_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - setSuspensionCompression(SUSPENSION_COMPRESSION_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - setWheelVelocityPIDmaxSum(WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT); - return; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - setWheelVelocityPIDmaxVal(WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT); - return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: + setWheelRadius(WHEEL_RADIUS_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: + setWheelWidth(WHEEL_WIDTH_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + setSuspensionRestLength(SUSPENSION_REST_LENGTH_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + setWheelConnectionHeight(WHEEL_CONNECTION_HEIGHT_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: + setTypeOfWheel(TYPE_OF_WHEEL_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + setWheelVelocityPIDkp(WHEEL_VELOCITY_PI_DKP_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + setWheelVelocityPIDki(WHEEL_VELOCITY_PI_DKI_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + setWheelVelocityPIDkd(WHEEL_VELOCITY_PI_DKD_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + setWheelSteeringPIDkp(WHEEL_STEERING_PI_DKP_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + setWheelSteeringPIDkd(WHEEL_STEERING_PI_DKD_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: + setWheelFriction(WHEEL_FRICTION_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + setSuspensionStiffness(SUSPENSION_STIFFNESS_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: + setSuspensionDamping(SUSPENSION_DAMPING_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + setSuspensionCompression(SUSPENSION_COMPRESSION_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + setWheelVelocityPIDmaxSum(WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT); + return; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + setWheelVelocityPIDmaxVal(WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT); + return; } super.eUnset(featureID); } @@ -882,43 +967,44 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: - return wheelRadius != WHEEL_RADIUS_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: - return wheelWidth != WHEEL_WIDTH_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - return suspensionRestLength != SUSPENSION_REST_LENGTH_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - return wheelConnectionHeight != WHEEL_CONNECTION_HEIGHT_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: - return TYPE_OF_WHEEL_EDEFAULT == null ? typeOfWheel != null : !TYPE_OF_WHEEL_EDEFAULT.equals(typeOfWheel); - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - return wheelVelocityPIDkp != WHEEL_VELOCITY_PI_DKP_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - return wheelVelocityPIDki != WHEEL_VELOCITY_PI_DKI_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - return wheelVelocityPIDkd != WHEEL_VELOCITY_PI_DKD_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - return wheelSteeringPIDkp != WHEEL_STEERING_PI_DKP_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - return wheelSteeringPIDkd != WHEEL_STEERING_PI_DKD_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: - return wheelFriction != WHEEL_FRICTION_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - return suspensionStiffness != SUSPENSION_STIFFNESS_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: - return suspensionDamping != SUSPENSION_DAMPING_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - return suspensionCompression != SUSPENSION_COMPRESSION_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - return wheelVelocityPIDmaxSum != WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT; - case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - return wheelVelocityPIDmaxVal != WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_RADIUS: + return wheelRadius != WHEEL_RADIUS_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_WIDTH: + return wheelWidth != WHEEL_WIDTH_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + return suspensionRestLength != SUSPENSION_REST_LENGTH_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + return wheelConnectionHeight != WHEEL_CONNECTION_HEIGHT_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__TYPE_OF_WHEEL: + return TYPE_OF_WHEEL_EDEFAULT == null ? typeOfWheel != null : !TYPE_OF_WHEEL_EDEFAULT.equals(typeOfWheel); + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + return wheelVelocityPIDkp != WHEEL_VELOCITY_PI_DKP_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + return wheelVelocityPIDki != WHEEL_VELOCITY_PI_DKI_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + return wheelVelocityPIDkd != WHEEL_VELOCITY_PI_DKD_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + return wheelSteeringPIDkp != WHEEL_STEERING_PI_DKP_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + return wheelSteeringPIDkd != WHEEL_STEERING_PI_DKD_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_FRICTION: + return wheelFriction != WHEEL_FRICTION_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + return suspensionStiffness != SUSPENSION_STIFFNESS_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_DAMPING: + return suspensionDamping != SUSPENSION_DAMPING_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + return suspensionCompression != SUSPENSION_COMPRESSION_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + return wheelVelocityPIDmaxSum != WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT; + case RobotMLPackage.STEERED_WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + return wheelVelocityPIDmaxVal != WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT; } return super.eIsSet(featureID); } @@ -926,11 +1012,14 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (wheelRadius: "); @@ -969,4 +1058,4 @@ public class SteeredWheelSystemImpl extends LocomotionSystemImpl implements Stee return result.toString(); } -} //SteeredWheelSystemImpl +} // SteeredWheelSystemImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SupportingStructureImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SupportingStructureImpl.java index c7ae167f935..fe0a85b1368 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SupportingStructureImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SupportingStructureImpl.java @@ -20,6 +20,7 @@ public class SupportingStructureImpl extends HardwareImpl implements SupportingS /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SupportingStructureImpl() { @@ -29,6 +30,7 @@ public class SupportingStructureImpl extends HardwareImpl implements SupportingS /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class SupportingStructureImpl extends HardwareImpl implements SupportingS return RobotMLPackage.Literals.SUPPORTING_STRUCTURE; } -} //SupportingStructureImpl +} // SupportingStructureImpl 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 b8ff525fa4b..bee96884f22 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 @@ -20,6 +20,7 @@ public class SurfaceImpl extends PhysicalObjectImpl implements Surface { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SurfaceImpl() { @@ -29,6 +30,7 @@ public class SurfaceImpl extends PhysicalObjectImpl implements Surface { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class SurfaceImpl extends PhysicalObjectImpl implements Surface { return RobotMLPackage.Literals.SURFACE; } -} //SurfaceImpl +} // SurfaceImpl 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 a447dca6e60..178a97c56df 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 @@ -19,10 +19,10 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#isNative <em>Native</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryPath <em>Library Path</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryComponentName <em>Library Component Name</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#isNative <em>Native</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryPath <em>Library Path</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryComponentName <em>Library Component Name</em>}</li> * </ul> * </p> * @@ -33,6 +33,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Class() * @generated * @ordered @@ -43,6 +44,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli * The default value of the '{@link #isNative() <em>Native</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isNative() * @generated * @ordered @@ -53,6 +55,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli * The cached value of the '{@link #isNative() <em>Native</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #isNative() * @generated * @ordered @@ -63,6 +66,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli * The default value of the '{@link #getLibraryPath() <em>Library Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibraryPath() * @generated * @ordered @@ -73,6 +77,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli * The cached value of the '{@link #getLibraryPath() <em>Library Path</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibraryPath() * @generated * @ordered @@ -83,6 +88,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli * The default value of the '{@link #getLibraryComponentName() <em>Library Component Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibraryComponentName() * @generated * @ordered @@ -93,6 +99,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli * The cached value of the '{@link #getLibraryComponentName() <em>Library Component Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getLibraryComponentName() * @generated * @ordered @@ -102,6 +109,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected SystemImpl() { @@ -111,6 +119,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -121,15 +130,17 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { - InternalEObject oldBase_Class = (InternalEObject)base_Class; - base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); + InternalEObject oldBase_Class = (InternalEObject) base_Class; + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); if (base_Class != oldBase_Class) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.SYSTEM__BASE_CLASS, oldBase_Class, base_Class)); + } } } return base_Class; @@ -138,6 +149,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Class basicGetBase_Class() { @@ -147,18 +159,21 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public boolean isNative() { @@ -168,18 +183,21 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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_)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getLibraryPath() { @@ -189,18 +207,21 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public String getLibraryComponentName() { @@ -210,32 +231,37 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -243,23 +269,24 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -267,23 +294,24 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } @@ -291,19 +319,20 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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); + 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); } @@ -311,11 +340,14 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) { + return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (native: "); @@ -328,4 +360,4 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli return result.toString(); } -} //SystemImpl +} // SystemImpl 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 5ffc7746fdd..1f7c6ec530f 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 @@ -22,9 +22,9 @@ import org.eclipse.uml2.uml.Behavior; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getBase_Transition <em>Base Transition</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getGuard <em>Guard</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getEffect <em>Effect</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getBase_Transition <em>Base Transition</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getGuard <em>Guard</em>}</li> + * <li>{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getEffect <em>Effect</em>}</li> * </ul> * </p> * @@ -35,6 +35,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran * The cached value of the '{@link #getBase_Transition() <em>Base Transition</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getBase_Transition() * @generated * @ordered @@ -45,6 +46,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran * The cached value of the '{@link #getGuard() <em>Guard</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getGuard() * @generated * @ordered @@ -55,6 +57,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran * The cached value of the '{@link #getEffect() <em>Effect</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getEffect() * @generated * @ordered @@ -64,6 +67,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected TransitionImpl() { @@ -73,6 +77,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -83,15 +88,17 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Transition getBase_Transition() { if (base_Transition != null && base_Transition.eIsProxy()) { - InternalEObject oldBase_Transition = (InternalEObject)base_Transition; - base_Transition = (org.eclipse.uml2.uml.Transition)eResolveProxy(oldBase_Transition); + InternalEObject oldBase_Transition = (InternalEObject) base_Transition; + base_Transition = (org.eclipse.uml2.uml.Transition) eResolveProxy(oldBase_Transition); if (base_Transition != oldBase_Transition) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.TRANSITION__BASE_TRANSITION, oldBase_Transition, base_Transition)); + } } } return base_Transition; @@ -100,6 +107,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public org.eclipse.uml2.uml.Transition basicGetBase_Transition() { @@ -109,27 +117,31 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Behavior getGuard() { if (guard != null && guard.eIsProxy()) { - InternalEObject oldGuard = (InternalEObject)guard; - guard = (Behavior)eResolveProxy(oldGuard); + InternalEObject oldGuard = (InternalEObject) guard; + guard = (Behavior) eResolveProxy(oldGuard); if (guard != oldGuard) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.TRANSITION__GUARD, oldGuard, guard)); + } } } return guard; @@ -138,6 +150,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Behavior basicGetGuard() { @@ -147,27 +160,31 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ 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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Behavior getEffect() { if (effect != null && effect.eIsProxy()) { - InternalEObject oldEffect = (InternalEObject)effect; - effect = (Behavior)eResolveProxy(oldEffect); + InternalEObject oldEffect = (InternalEObject) effect; + effect = (Behavior) eResolveProxy(oldEffect); if (effect != oldEffect) { - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.TRANSITION__EFFECT, oldEffect, effect)); + } } } return effect; @@ -176,6 +193,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Behavior basicGetEffect() { @@ -185,32 +203,41 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ 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)); + } } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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(); + 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); } @@ -218,20 +245,21 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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((Behavior)newValue); - return; - case RobotMLPackage.TRANSITION__EFFECT: - setEffect((Behavior)newValue); - return; + 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); } @@ -239,20 +267,21 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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((Behavior)null); - return; - case RobotMLPackage.TRANSITION__EFFECT: - setEffect((Behavior)null); - return; + 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); } @@ -260,19 +289,20 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @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; + 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); } -} //TransitionImpl +} // TransitionImpl 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 898b64f58a9..ce176b15829 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 @@ -20,6 +20,7 @@ public class WaterSurfaceImpl extends SurfaceImpl implements WaterSurface { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected WaterSurfaceImpl() { @@ -29,6 +30,7 @@ public class WaterSurfaceImpl extends SurfaceImpl implements WaterSurface { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class WaterSurfaceImpl extends SurfaceImpl implements WaterSurface { return RobotMLPackage.Literals.WATER_SURFACE; } -} //WaterSurfaceImpl +} // WaterSurfaceImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WeaponSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WeaponSystemImpl.java index 9868adcb886..f8e9e7ecf6f 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WeaponSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WeaponSystemImpl.java @@ -20,6 +20,7 @@ public class WeaponSystemImpl extends ActuatorSystemImpl implements WeaponSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected WeaponSystemImpl() { @@ -29,6 +30,7 @@ public class WeaponSystemImpl extends ActuatorSystemImpl implements WeaponSystem /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -36,4 +38,4 @@ public class WeaponSystemImpl extends ActuatorSystemImpl implements WeaponSystem return RobotMLPackage.Literals.WEAPON_SYSTEM; } -} //WeaponSystemImpl +} // WeaponSystemImpl |