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/AutoIndexImpl.java')
-rw-r--r--extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/AutoIndexImpl.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/AutoIndexImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/AutoIndexImpl.java
index ac310d39fda..9379bae368d 100644
--- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/AutoIndexImpl.java
+++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/AutoIndexImpl.java
@@ -27,10 +27,10 @@ import org.eclipse.uml2.uml.Property;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.FCM.impl.AutoIndexImpl#getBase_Property <em>Base Property</em>}</li>
+ * <li>{@link org.eclipse.papyrus.FCM.impl.AutoIndexImpl#getBase_Property <em>Base Property</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
@@ -39,7 +39,6 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
* The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBase_Property()
* @generated
* @ordered
@@ -49,7 +48,6 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected AutoIndexImpl() {
@@ -59,7 +57,6 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -70,18 +67,16 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Property getBase_Property() {
if (base_Property != null && base_Property.eIsProxy()) {
- InternalEObject oldBase_Property = (InternalEObject) base_Property;
- base_Property = (Property) eResolveProxy(oldBase_Property);
+ InternalEObject oldBase_Property = (InternalEObject)base_Property;
+ base_Property = (Property)eResolveProxy(oldBase_Property);
if (base_Property != oldBase_Property) {
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, FCMPackage.AUTO_INDEX__BASE_PROPERTY, oldBase_Property, base_Property));
- }
}
}
return base_Property;
@@ -90,7 +85,6 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Property basicGetBase_Property() {
@@ -100,32 +94,27 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.AUTO_INDEX__BASE_PROPERTY, oldBase_Property, base_Property));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
- if (resolve) {
- return getBase_Property();
- }
- return basicGetBase_Property();
+ case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
+ if (resolve) return getBase_Property();
+ return basicGetBase_Property();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -133,15 +122,14 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
- setBase_Property((Property) newValue);
- return;
+ case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
+ setBase_Property((Property)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -149,15 +137,14 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
- setBase_Property((Property) null);
- return;
+ case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
+ setBase_Property((Property)null);
+ return;
}
super.eUnset(featureID);
}
@@ -165,14 +152,13 @@ public class AutoIndexImpl extends EObjectImpl implements AutoIndex {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
- return base_Property != null;
+ case FCMPackage.AUTO_INDEX__BASE_PROPERTY:
+ return base_Property != null;
}
return super.eIsSet(featureID);
}

Back to the top