| /** |
| */ |
| package org.eclipse.papyrus.bpmn.BPMNProfile.impl; |
| |
| import org.eclipse.emf.common.notify.Notification; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.InternalEObject; |
| import org.eclipse.emf.ecore.impl.ENotificationImpl; |
| import org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage; |
| import org.eclipse.papyrus.bpmn.BPMNProfile.ImplicitThrowEvent; |
| import org.eclipse.uml2.uml.CallOperationAction; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An implementation of the model object '<em><b>Implicit Throw Event</b></em>'. |
| * <!-- end-user-doc --> |
| * <p> |
| * The following features are implemented: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.impl.ImplicitThrowEventImpl#getBase_CallOperationAction <em>Base Call Operation Action</em>}</li> |
| * </ul> |
| * |
| * @generated |
| */ |
| public class ImplicitThrowEventImpl extends ThrowEventImpl implements ImplicitThrowEvent { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected ImplicitThrowEventImpl() { |
| super(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected EClass eStaticClass() { |
| return BPMNProfilePackage.eINSTANCE.getImplicitThrowEvent(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public CallOperationAction getBase_CallOperationAction() { |
| if (base_CallOperationAction != null && base_CallOperationAction.eIsProxy()) { |
| InternalEObject oldBase_CallOperationAction = (InternalEObject)base_CallOperationAction; |
| base_CallOperationAction = (CallOperationAction)eResolveProxy(oldBase_CallOperationAction); |
| if (base_CallOperationAction != oldBase_CallOperationAction) { |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.RESOLVE, BPMNProfilePackage.IMPLICIT_THROW_EVENT__BASE_CALL_OPERATION_ACTION, oldBase_CallOperationAction, base_CallOperationAction)); |
| } |
| } |
| return base_CallOperationAction; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public CallOperationAction basicGetBase_CallOperationAction() { |
| return base_CallOperationAction; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public void setBase_CallOperationAction(CallOperationAction newBase_CallOperationAction) { |
| CallOperationAction oldBase_CallOperationAction = base_CallOperationAction; |
| base_CallOperationAction = newBase_CallOperationAction; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, BPMNProfilePackage.IMPLICIT_THROW_EVENT__BASE_CALL_OPERATION_ACTION, oldBase_CallOperationAction, base_CallOperationAction)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public boolean isSetBase_CallOperationAction() { |
| return base_CallOperationAction != null; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public boolean eIsSet(int featureID) { |
| switch (featureID) { |
| case BPMNProfilePackage.IMPLICIT_THROW_EVENT__BASE_CALL_OPERATION_ACTION: |
| return isSetBase_CallOperationAction(); |
| } |
| return super.eIsSet(featureID); |
| } |
| |
| } //ImplicitThrowEventImpl |