Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UseCaseShapeImpl.java')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UseCaseShapeImpl.java93
1 files changed, 55 insertions, 38 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UseCaseShapeImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UseCaseShapeImpl.java
index d8326f8a7bc..7b2441f4fe4 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UseCaseShapeImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UseCaseShapeImpl.java
@@ -36,17 +36,19 @@ import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.umldi.impl.UseCaseShapeImpl#getOwnedUmlDiagramElement <em>Owned Uml Diagram Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.umldi.impl.UseCaseShapeImpl#getExtensionPointCompartment <em>Extension Point Compartment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.umldi.impl.UseCaseShapeImpl#getOwnedUmlDiagramElement <em>Owned Uml Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.umldi.impl.UseCaseShapeImpl#getExtensionPointCompartment <em>Extension Point Compartment</em>}</li>
* </ul>
*
* @generated
*/
public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements UseCaseShape {
+
/**
* The cached value of the '{@link #getExtensionPointCompartment() <em>Extension Point Compartment</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getExtensionPointCompartment()
* @generated
* @ordered
@@ -56,6 +58,7 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected UseCaseShapeImpl() {
@@ -65,6 +68,7 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,6 +79,7 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -86,15 +91,17 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
* The array of subset feature identifiers for the '{@link #getOwnedUmlDiagramElement() <em>Owned Uml Diagram Element</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getOwnedUmlDiagramElement()
* @generated
* @ordered
*/
- protected static final int[] OWNED_UML_DIAGRAM_ELEMENT_ESUBSETS = new int[] {UMLDIPackage.USE_CASE_SHAPE__MAIN_LABEL, UMLDIPackage.USE_CASE_SHAPE__TEMPLATE_PARAMETER_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__OWNED_USE_CASE_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__USE_CASE_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__OWNED_BEHAVIOR_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT};
+ protected static final int[] OWNED_UML_DIAGRAM_ELEMENT_ESUBSETS = new int[]{ UMLDIPackage.USE_CASE_SHAPE__STEREOTYPE_LABEL, UMLDIPackage.USE_CASE_SHAPE__MAIN_LABEL, UMLDIPackage.USE_CASE_SHAPE__STEREOTYPE_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__TEMPLATE_PARAMETER_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__OWNED_USE_CASE_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__USE_CASE_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__OWNED_BEHAVIOR_COMPARTMENT, UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT };
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ExtensionPointCompartment getExtensionPointCompartment() {
@@ -104,14 +111,18 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetExtensionPointCompartment(ExtensionPointCompartment newExtensionPointCompartment, NotificationChain msgs) {
ExtensionPointCompartment oldExtensionPointCompartment = extensionPointCompartment;
extensionPointCompartment = newExtensionPointCompartment;
- if (eNotificationRequired()) {
+ if(eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT, oldExtensionPointCompartment, newExtensionPointCompartment);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if(msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
}
return msgs;
}
@@ -119,34 +130,36 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setExtensionPointCompartment(ExtensionPointCompartment newExtensionPointCompartment) {
- if (newExtensionPointCompartment != extensionPointCompartment) {
+ if(newExtensionPointCompartment != extensionPointCompartment) {
NotificationChain msgs = null;
- if (extensionPointCompartment != null)
+ if(extensionPointCompartment != null)
msgs = ((InternalEObject)extensionPointCompartment).eInverseRemove(this, UMLDIPackage.EXTENSION_POINT_COMPARTMENT__USE_CASE_SHAPE, ExtensionPointCompartment.class, msgs);
- if (newExtensionPointCompartment != null)
+ if(newExtensionPointCompartment != null)
msgs = ((InternalEObject)newExtensionPointCompartment).eInverseAdd(this, UMLDIPackage.EXTENSION_POINT_COMPARTMENT__USE_CASE_SHAPE, ExtensionPointCompartment.class, msgs);
msgs = basicSetExtensionPointCompartment(newExtensionPointCompartment, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
+ if(msgs != null)
+ msgs.dispatch();
+ } else if(eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT, newExtensionPointCompartment, newExtensionPointCompartment));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
- if (extensionPointCompartment != null)
- msgs = ((InternalEObject)extensionPointCompartment).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT, null, msgs);
- return basicSetExtensionPointCompartment((ExtensionPointCompartment)otherEnd, msgs);
+ switch(featureID) {
+ case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
+ if(extensionPointCompartment != null)
+ msgs = ((InternalEObject)extensionPointCompartment).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT, null, msgs);
+ return basicSetExtensionPointCompartment((ExtensionPointCompartment)otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -154,13 +167,14 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
- return basicSetExtensionPointCompartment(null, msgs);
+ switch(featureID) {
+ case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
+ return basicSetExtensionPointCompartment(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -168,13 +182,14 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
- return getExtensionPointCompartment();
+ switch(featureID) {
+ case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
+ return getExtensionPointCompartment();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -182,14 +197,15 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
- setExtensionPointCompartment((ExtensionPointCompartment)newValue);
- return;
+ switch(featureID) {
+ case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
+ setExtensionPointCompartment((ExtensionPointCompartment)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -197,14 +213,15 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
- setExtensionPointCompartment((ExtensionPointCompartment)null);
- return;
+ switch(featureID) {
+ case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
+ setExtensionPointCompartment((ExtensionPointCompartment)null);
+ return;
}
super.eUnset(featureID);
}
@@ -212,15 +229,16 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case UMLDIPackage.USE_CASE_SHAPE__OWNED_UML_DIAGRAM_ELEMENT:
- return isSetOwnedUmlDiagramElement();
- case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
- return extensionPointCompartment != null;
+ switch(featureID) {
+ case UMLDIPackage.USE_CASE_SHAPE__OWNED_UML_DIAGRAM_ELEMENT:
+ return isSetOwnedUmlDiagramElement();
+ case UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT:
+ return extensionPointCompartment != null;
}
return super.eIsSet(featureID);
}
@@ -228,12 +246,11 @@ public class UseCaseShapeImpl extends BehavioredClassifierShapeImpl implements U
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean isSetOwnedUmlDiagramElement() {
- return super.isSetOwnedUmlDiagramElement()
- || eIsSet(UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT);
+ return super.isSetOwnedUmlDiagramElement() || eIsSet(UMLDIPackage.USE_CASE_SHAPE__EXTENSION_POINT_COMPARTMENT);
}
-
} //UseCaseShapeImpl

Back to the top