Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AllocateImpl.java')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AllocateImpl.java46
1 files changed, 16 insertions, 30 deletions
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 2bcac6d123b..5385de73190 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
@@ -18,7 +18,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>
*
@@ -29,7 +29,6 @@ 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
@@ -39,7 +38,6 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected AllocateImpl() {
@@ -49,7 +47,6 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -60,17 +57,15 @@ 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;
@@ -79,7 +74,6 @@ public class AllocateImpl extends MinimalEObjectImpl.Container implements Alloca
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Abstraction basicGetBase_Abstraction() {
@@ -89,31 +83,26 @@ 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);
}
@@ -121,15 +110,14 @@ 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);
}
@@ -137,15 +125,14 @@ 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);
}
@@ -153,14 +140,13 @@ 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);
}

Back to the top