Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/room/impl/StandardOperationImpl.java')
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/room/impl/StandardOperationImpl.java352
1 files changed, 176 insertions, 176 deletions
diff --git a/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/room/impl/StandardOperationImpl.java b/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/room/impl/StandardOperationImpl.java
index 346cd7346..99a599af2 100644
--- a/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/room/impl/StandardOperationImpl.java
+++ b/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/room/impl/StandardOperationImpl.java
@@ -1,176 +1,176 @@
-/**
- */
-package org.eclipse.etrice.core.room.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.etrice.core.room.RoomPackage;
-import org.eclipse.etrice.core.room.StandardOperation;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Standard Operation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.room.impl.StandardOperationImpl#isDestructor <em>Destructor</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StandardOperationImpl extends OperationImpl implements StandardOperation
-{
- /**
- * The default value of the '{@link #isDestructor() <em>Destructor</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isDestructor()
- * @generated
- * @ordered
- */
- protected static final boolean DESTRUCTOR_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isDestructor() <em>Destructor</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isDestructor()
- * @generated
- * @ordered
- */
- protected boolean destructor = DESTRUCTOR_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected StandardOperationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return RoomPackage.Literals.STANDARD_OPERATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isDestructor()
- {
- return destructor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDestructor(boolean newDestructor)
- {
- boolean oldDestructor = destructor;
- destructor = newDestructor;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RoomPackage.STANDARD_OPERATION__DESTRUCTOR, oldDestructor, destructor));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
- return isDestructor();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
- setDestructor((Boolean)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
- setDestructor(DESTRUCTOR_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
- return destructor != DESTRUCTOR_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (destructor: ");
- result.append(destructor);
- result.append(')');
- return result.toString();
- }
-
-} //StandardOperationImpl
+/**
+ */
+package org.eclipse.etrice.core.room.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.etrice.core.room.RoomPackage;
+import org.eclipse.etrice.core.room.StandardOperation;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Standard Operation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.room.impl.StandardOperationImpl#isDestructor <em>Destructor</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class StandardOperationImpl extends OperationImpl implements StandardOperation
+{
+ /**
+ * The default value of the '{@link #isDestructor() <em>Destructor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDestructor()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean DESTRUCTOR_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isDestructor() <em>Destructor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDestructor()
+ * @generated
+ * @ordered
+ */
+ protected boolean destructor = DESTRUCTOR_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StandardOperationImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return RoomPackage.Literals.STANDARD_OPERATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isDestructor()
+ {
+ return destructor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDestructor(boolean newDestructor)
+ {
+ boolean oldDestructor = destructor;
+ destructor = newDestructor;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, RoomPackage.STANDARD_OPERATION__DESTRUCTOR, oldDestructor, destructor));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
+ return isDestructor();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
+ setDestructor((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
+ setDestructor(DESTRUCTOR_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case RoomPackage.STANDARD_OPERATION__DESTRUCTOR:
+ return destructor != DESTRUCTOR_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (destructor: ");
+ result.append(destructor);
+ result.append(')');
+ return result.toString();
+ }
+
+} //StandardOperationImpl

Back to the top