Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java')
-rw-r--r--extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java48
1 files changed, 17 insertions, 31 deletions
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java
index e2b2d57bd27..cca6f30bf16 100644
--- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java
+++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java
@@ -26,10 +26,10 @@ import org.eclipse.papyrus.FCM.FCMPackage;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.FCM.impl.BindingHelperImpl#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.FCM.impl.BindingHelperImpl#getBase_Class <em>Base Class</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
@@ -38,7 +38,6 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
* The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Class()
* @generated
* @ordered
@@ -48,7 +47,6 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected BindingHelperImpl() {
@@ -58,7 +56,6 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -69,18 +66,16 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
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, FCMPackage.BINDING_HELPER__BASE_CLASS, oldBase_Class, base_Class));
- }
}
}
return base_Class;
@@ -89,7 +84,6 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public org.eclipse.uml2.uml.Class basicGetBase_Class() {
@@ -99,32 +93,27 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
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, FCMPackage.BINDING_HELPER__BASE_CLASS, oldBase_Class, base_Class));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FCMPackage.BINDING_HELPER__BASE_CLASS:
- if (resolve) {
- return getBase_Class();
- }
- return basicGetBase_Class();
+ case FCMPackage.BINDING_HELPER__BASE_CLASS:
+ if (resolve) return getBase_Class();
+ return basicGetBase_Class();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -132,15 +121,14 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FCMPackage.BINDING_HELPER__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class) newValue);
- return;
+ case FCMPackage.BINDING_HELPER__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -148,15 +136,14 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FCMPackage.BINDING_HELPER__BASE_CLASS:
- setBase_Class((org.eclipse.uml2.uml.Class) null);
- return;
+ case FCMPackage.BINDING_HELPER__BASE_CLASS:
+ setBase_Class((org.eclipse.uml2.uml.Class)null);
+ return;
}
super.eUnset(featureID);
}
@@ -164,14 +151,13 @@ public class BindingHelperImpl extends EObjectImpl implements BindingHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FCMPackage.BINDING_HELPER__BASE_CLASS:
- return base_Class != null;
+ case FCMPackage.BINDING_HELPER__BASE_CLASS:
+ return base_Class != null;
}
return super.eIsSet(featureID);
}

Back to the top