Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/AUTOSAREvent.java53
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFaultFailure.java53
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFeatureFlaw.java53
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunction.java113
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPort.java109
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPortKind.java306
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionFlowPort.java72
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsFactory.java129
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsPackage.java1235
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ExternalEvent.java18
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ModeEvent.java59
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/AUTOSAREventImpl.java170
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFaultFailureImpl.java170
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFeatureFlawImpl.java170
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionClientServerPortImpl.java487
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionFlowPortImpl.java406
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionImpl.java280
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsFactoryImpl.java280
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsPackageImpl.java747
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ExternalEventImpl.java41
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ModeEventImpl.java176
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsAdapterFactory.java393
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceFactoryImpl.java65
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceImpl.java43
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsSwitch.java490
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsXMLProcessor.java64
26 files changed, 0 insertions, 6182 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/AUTOSAREvent.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/AUTOSAREvent.java
deleted file mode 100644
index 1ec8ec1ce5e..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/AUTOSAREvent.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.papyrus.eastadl.timing.Event;
-import org.eclipse.uml2.uml.TimeEvent;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>AUTOSAR Event</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent#getRef <em>Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getAUTOSAREvent()
- * @model
- * @generated
- */
-public interface AUTOSAREvent extends Event {
-
- /**
- * Returns the value of the '<em><b>Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Ref</em>' reference.
- * @see #setRef(TimeEvent)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getAUTOSAREvent_Ref()
- * @model required="true" ordered="false"
- * @generated
- */
- TimeEvent getRef();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent#getRef <em>Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Ref</em>' reference.
- * @see #getRef()
- * @generated
- */
- void setRef(TimeEvent value);
-} // AUTOSAREvent
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFaultFailure.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFaultFailure.java
deleted file mode 100644
index 4197dc6781b..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFaultFailure.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.papyrus.eastadl.dependability.safetyconstraints.FaultFailure;
-import org.eclipse.papyrus.eastadl.timing.Event;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Event Fault Failure</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure#getFaultFailure <em>Fault Failure</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFaultFailure()
- * @model
- * @generated
- */
-public interface EventFaultFailure extends Event {
- /**
- * Returns the value of the '<em><b>Fault Failure</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Fault Failure</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Fault Failure</em>' reference.
- * @see #setFaultFailure(FaultFailure)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFaultFailure_FaultFailure()
- * @model required="true" ordered="false"
- * @generated
- */
- FaultFailure getFaultFailure();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure#getFaultFailure <em>Fault Failure</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Fault Failure</em>' reference.
- * @see #getFaultFailure()
- * @generated
- */
- void setFaultFailure(FaultFailure value);
-
-} // EventFaultFailure
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFeatureFlaw.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFeatureFlaw.java
deleted file mode 100644
index ddebe8e5997..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFeatureFlaw.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.papyrus.eastadl.dependability.FeatureFlaw;
-import org.eclipse.papyrus.eastadl.timing.Event;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Event Feature Flaw</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw#getFeatureFlaw <em>Feature Flaw</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFeatureFlaw()
- * @model
- * @generated
- */
-public interface EventFeatureFlaw extends Event {
- /**
- * Returns the value of the '<em><b>Feature Flaw</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Feature Flaw</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Feature Flaw</em>' reference.
- * @see #setFeatureFlaw(FeatureFlaw)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFeatureFlaw_FeatureFlaw()
- * @model required="true" ordered="false"
- * @generated
- */
- FeatureFlaw getFeatureFlaw();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw#getFeatureFlaw <em>Feature Flaw</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Feature Flaw</em>' reference.
- * @see #getFeatureFlaw()
- * @generated
- */
- void setFeatureFlaw(FeatureFlaw value);
-
-} // EventFeatureFlaw
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunction.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunction.java
deleted file mode 100644
index c09bd78e243..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunction.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef;
-import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType;
-import org.eclipse.papyrus.eastadl.timing.Event;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Event Function</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * An event of a Function refers to the triggering of the Function, i.e., when the input data is consumed, data transformation is performed on that input data by the function, and output data is produced. It is used in conjunction with FunctionTrigger (see
- * that concept) to define a time-driven triggering for a function. In this case the FunctionTrigger points to the EventFunction of the function and defines a triggerPolicy set to TIME. The timing constraint associated to the EventFunction provides information
- * about the period.
- *
- * Compare categories of AUTOSAR runnables:
- *
- * 1a triggering only on start and finish (this type of event)
- *
- * 1b triggering allowed anytime during the execution (events on ports, see EventInFlowPort)
- *
- *
- * Constraints:
- * [1] An EventFunction either identifies a FunctionType or a FunctionPrototype as its target function.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunction <em>Function</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunctionType <em>Function Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunction()
- * @model
- * @generated
- */
-public interface EventFunction extends Event {
- /**
- * Returns the value of the '<em><b>Function</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Function</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Function</em>' containment reference.
- * @see #setFunction(EventFunctionInstanceRef)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunction_Function()
- * @model containment="true" required="true" ordered="false"
- * @generated
- */
- EventFunctionInstanceRef getFunction();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunction <em>Function</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Function</em>' containment reference.
- * @see #getFunction()
- * @generated
- */
- void setFunction(EventFunctionInstanceRef value);
-
- /**
- * Returns the value of the '<em><b>Function Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Function Type</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Function Type</em>' reference.
- * @see #setFunctionType(FunctionType)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunction_FunctionType()
- * @model ordered="false"
- * @generated
- */
- FunctionType getFunctionType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunctionType <em>Function Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Function Type</em>' reference.
- * @see #getFunctionType()
- * @generated
- */
- void setFunctionType(FunctionType value);
-
-} // EventFunction
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPort.java
deleted file mode 100644
index 823df804542..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPort.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
-import org.eclipse.papyrus.eastadl.timing.Event;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Event Function Client Server Port</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * Event that refers to the triggering of the Function at a client/server port, i.e., when the input data is sent / received, or when the output data is produced / received.
- *
- * Constraints:
- * [1] eventKind is sentRequest or receivedResponse for a FunctionClientServerPort of type client. Rationale: Only these values make sense for client ports.
- *
- * [2] eventKind is receivedRequest or sentResponse for a FunctionClientServerPort of type server. Rationale: Only these values make sense for server ports.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getEventKind <em>Event Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getPort <em>Port</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunctionClientServerPort()
- * @model
- * @generated
- */
-public interface EventFunctionClientServerPort extends Event, EAExpression {
- /**
- * Returns the value of the '<em><b>Event Kind</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Event Kind</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Event Kind</em>' attribute.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind
- * @see #setEventKind(EventFunctionClientServerPortKind)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunctionClientServerPort_EventKind()
- * @model unique="false" required="true" ordered="false"
- * @generated
- */
- EventFunctionClientServerPortKind getEventKind();
-
- /**
- * Returns the value of the '<em><b>Port</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Port</em>' containment reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Port</em>' containment reference.
- * @see #setPort(EventFunctionClientServerPortInstanceRef)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunctionClientServerPort_Port()
- * @model containment="true" required="true" ordered="false"
- * @generated
- */
- EventFunctionClientServerPortInstanceRef getPort();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getPort <em>Port</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Port</em>' containment reference.
- * @see #getPort()
- * @generated
- */
- void setPort(EventFunctionClientServerPortInstanceRef value);
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getEventKind <em>Event Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Event Kind</em>' attribute.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind
- * @see #getEventKind()
- * @generated
- */
- void setEventKind(EventFunctionClientServerPortKind value);
-
-} // EventFunctionClientServerPort
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPortKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPortKind.java
deleted file mode 100644
index 1eb2624c5d7..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionClientServerPortKind.java
+++ /dev/null
@@ -1,306 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Event Function Client Server Port Kind</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * Possible values of eventKind.
- *
- * Extension:
- * Enumeration, no extension.
- * <!-- end-model-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunctionClientServerPortKind()
- * @model
- * @generated
- */
-public enum EventFunctionClientServerPortKind implements Enumerator {
- /**
- * The '<em><b>Received Request</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #RECEIVED_REQUEST_VALUE
- * @generated
- * @ordered
- */
- RECEIVED_REQUEST(0, "receivedRequest", "receivedRequest"),
-
- /**
- * The '<em><b>Sent Response</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #SENT_RESPONSE_VALUE
- * @generated
- * @ordered
- */
- SENT_RESPONSE(1, "sentResponse", "sentResponse"),
-
- /**
- * The '<em><b>Sent Request</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #SENT_REQUEST_VALUE
- * @generated
- * @ordered
- */
- SENT_REQUEST(2, "sentRequest", "sentRequest"),
-
- /**
- * The '<em><b>Received Response</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #RECEIVED_RESPONSE_VALUE
- * @generated
- * @ordered
- */
- RECEIVED_RESPONSE(3, "receivedResponse", "receivedResponse");
-
- /**
- * The '<em><b>Received Request</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Received Request</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #RECEIVED_REQUEST
- * @model name="receivedRequest"
- * @generated
- * @ordered
- */
- public static final int RECEIVED_REQUEST_VALUE = 0;
-
- /**
- * The '<em><b>Sent Response</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Sent Response</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #SENT_RESPONSE
- * @model name="sentResponse"
- * @generated
- * @ordered
- */
- public static final int SENT_RESPONSE_VALUE = 1;
-
- /**
- * The '<em><b>Sent Request</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Sent Request</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #SENT_REQUEST
- * @model name="sentRequest"
- * @generated
- * @ordered
- */
- public static final int SENT_REQUEST_VALUE = 2;
-
- /**
- * The '<em><b>Received Response</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Received Response</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #RECEIVED_RESPONSE
- * @model name="receivedResponse"
- * @generated
- * @ordered
- */
- public static final int RECEIVED_RESPONSE_VALUE = 3;
-
- /**
- * An array of all the '<em><b>Event Function Client Server Port Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static final EventFunctionClientServerPortKind[] VALUES_ARRAY =
- new EventFunctionClientServerPortKind[] {
- RECEIVED_REQUEST,
- SENT_RESPONSE,
- SENT_REQUEST,
- RECEIVED_RESPONSE,
- };
-
- /**
- * A public read-only list of all the '<em><b>Event Function Client Server Port Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<EventFunctionClientServerPortKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Event Function Client Server Port Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static EventFunctionClientServerPortKind get(int value) {
- switch (value) {
- case RECEIVED_REQUEST_VALUE:
- return RECEIVED_REQUEST;
- case SENT_RESPONSE_VALUE:
- return SENT_RESPONSE;
- case SENT_REQUEST_VALUE:
- return SENT_REQUEST;
- case RECEIVED_RESPONSE_VALUE:
- return RECEIVED_RESPONSE;
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Event Function Client Server Port Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static EventFunctionClientServerPortKind get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- EventFunctionClientServerPortKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Event Function Client Server Port Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static EventFunctionClientServerPortKind getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- EventFunctionClientServerPortKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EventFunctionClientServerPortKind(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getLiteral() {
- return literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int getValue() {
- return value;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
-} // EventFunctionClientServerPortKind
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionFlowPort.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionFlowPort.java
deleted file mode 100644
index 7f942967e30..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventFunctionFlowPort.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
-import org.eclipse.papyrus.eastadl.timing.Event;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Event Function Flow Port</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * Event that refers to the triggering of the Function at a flow port, i.e., when data is sent or received.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort#getPort <em>Port</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunctionFlowPort()
- * @model
- * @generated
- */
-public interface EventFunctionFlowPort extends Event, EAExpression {
- /**
- * Returns the value of the '<em><b>Port</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Port</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Port</em>' containment reference.
- * @see #setPort(EventFunctionFlowPortInstanceRef)
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getEventFunctionFlowPort_Port()
- * @model containment="true" required="true" ordered="false"
- * @generated
- */
- EventFunctionFlowPortInstanceRef getPort();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort#getPort <em>Port</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Port</em>' containment reference.
- * @see #getPort()
- * @generated
- */
- void setPort(EventFunctionFlowPortInstanceRef value);
-
-} // EventFunctionFlowPort
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsFactory.java
deleted file mode 100644
index d40f698a2ed..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsFactory.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage
- * @generated
- */
-public interface EventsFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EventsFactory eINSTANCE = org.eclipse.papyrus.eastadl.timing.events.impl.EventsFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Event Function</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Event Function</em>'.
- * @generated
- */
- EventFunction createEventFunction();
-
- /**
- * Returns a new object of class '<em>AUTOSAR Event</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>AUTOSAR Event</em>'.
- * @generated
- */
- AUTOSAREvent createAUTOSAREvent();
-
- /**
- * Returns a new object of class '<em>Event Fault Failure</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Event Fault Failure</em>'.
- * @generated
- */
- EventFaultFailure createEventFaultFailure();
-
- /**
- * Returns a new object of class '<em>Event Feature Flaw</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Event Feature Flaw</em>'.
- * @generated
- */
- EventFeatureFlaw createEventFeatureFlaw();
-
- /**
- * Returns a new object of class '<em>External Event</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>External Event</em>'.
- * @generated
- */
- ExternalEvent createExternalEvent();
-
- /**
- * Returns a new object of class '<em>Mode Event</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Mode Event</em>'.
- * @generated
- */
- ModeEvent createModeEvent();
-
- /**
- * Returns a new object of class '<em>Event Function Client Server Port</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Event Function Client Server Port</em>'.
- * @generated
- */
- EventFunctionClientServerPort createEventFunctionClientServerPort();
-
- /**
- * Returns a new object of class '<em>Event Function Flow Port</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Event Function Flow Port</em>'.
- * @generated
- */
- EventFunctionFlowPort createEventFunctionFlowPort();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- EventsPackage getEventsPackage();
-
-} // EventsFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsPackage.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsPackage.java
deleted file mode 100644
index ec626bb5c60..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/EventsPackage.java
+++ /dev/null
@@ -1,1235 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.papyrus.eastadl.timing.TimingPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * This section describes the concept of events for EAST-ADL2.
- * <!-- end-model-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsFactory
- * @model kind="package"
- * @generated
- */
-public interface EventsPackage extends EPackage {
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionFlowPortImpl <em>Event Function Flow Port</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionFlowPortImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunctionFlowPort()
- * @generated
- */
- EClass EVENT_FUNCTION_FLOW_PORT = eINSTANCE.getEventFunctionFlowPort();
-
- /**
- * The meta object literal for the '<em><b>Port</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference EVENT_FUNCTION_FLOW_PORT__PORT = eINSTANCE.getEventFunctionFlowPort_Port();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl <em>Event Function Client Server Port</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunctionClientServerPort()
- * @generated
- */
- EClass EVENT_FUNCTION_CLIENT_SERVER_PORT = eINSTANCE.getEventFunctionClientServerPort();
-
- /**
- * The meta object literal for the '<em><b>Event Kind</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND = eINSTANCE.getEventFunctionClientServerPort_EventKind();
-
- /**
- * The meta object literal for the '<em><b>Port</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT = eINSTANCE.getEventFunctionClientServerPort_Port();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionImpl <em>Event Function</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunction()
- * @generated
- */
- EClass EVENT_FUNCTION = eINSTANCE.getEventFunction();
-
- /**
- * The meta object literal for the '<em><b>Function</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference EVENT_FUNCTION__FUNCTION = eINSTANCE.getEventFunction_Function();
-
- /**
- * The meta object literal for the '<em><b>Function Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference EVENT_FUNCTION__FUNCTION_TYPE = eINSTANCE.getEventFunction_FunctionType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.AUTOSAREventImpl <em>AUTOSAR Event</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.AUTOSAREventImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getAUTOSAREvent()
- * @generated
- */
- EClass AUTOSAR_EVENT = eINSTANCE.getAUTOSAREvent();
-
- /**
- * The meta object literal for the '<em><b>Ref</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference AUTOSAR_EVENT__REF = eINSTANCE.getAUTOSAREvent_Ref();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFaultFailureImpl <em>Event Fault Failure</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFaultFailureImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFaultFailure()
- * @generated
- */
- EClass EVENT_FAULT_FAILURE = eINSTANCE.getEventFaultFailure();
-
- /**
- * The meta object literal for the '<em><b>Fault Failure</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference EVENT_FAULT_FAILURE__FAULT_FAILURE = eINSTANCE.getEventFaultFailure_FaultFailure();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFeatureFlawImpl <em>Event Feature Flaw</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFeatureFlawImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFeatureFlaw()
- * @generated
- */
- EClass EVENT_FEATURE_FLAW = eINSTANCE.getEventFeatureFlaw();
-
- /**
- * The meta object literal for the '<em><b>Feature Flaw</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference EVENT_FEATURE_FLAW__FEATURE_FLAW = eINSTANCE.getEventFeatureFlaw_FeatureFlaw();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.ExternalEventImpl <em>External Event</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.ExternalEventImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getExternalEvent()
- * @generated
- */
- EClass EXTERNAL_EVENT = eINSTANCE.getExternalEvent();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.ModeEventImpl <em>Mode Event</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.ModeEventImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getModeEvent()
- * @generated
- */
- EClass MODE_EVENT = eINSTANCE.getModeEvent();
-
- /**
- * The meta object literal for the '<em><b>Start</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference MODE_EVENT__START = eINSTANCE.getModeEvent_Start();
-
- /**
- * The meta object literal for the '<em><b>End</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference MODE_EVENT__END = eINSTANCE.getModeEvent_End();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind <em>Event Function Client Server Port Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunctionClientServerPortKind()
- * @generated
- */
- EEnum EVENT_FUNCTION_CLIENT_SERVER_PORT_KIND = eINSTANCE.getEventFunctionClientServerPortKind();
-
- }
-
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "events";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.papyrusuml.org/EAST-ADL2/Timing/Events/1";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "Events";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EventsPackage eINSTANCE = org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionFlowPortImpl <em>Event Function Flow Port</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionFlowPortImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunctionFlowPort()
- * @generated
- */
- int EVENT_FUNCTION_FLOW_PORT = 0;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT__TYPE = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION = TimingPackage.EVENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Port</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT__PORT = TimingPackage.EVENT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Event Function Flow Port</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 3;
-
- /**
- * The number of operations of the '<em>Event Function Flow Port</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FLOW_PORT_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl <em>Event Function Client Server Port</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunctionClientServerPort()
- * @generated
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT = 1;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Base Value Specification</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION = TimingPackage.EVENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Event Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND = TimingPackage.EVENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Port</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT = TimingPackage.EVENT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Event Function Client Server Port</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 4;
-
- /**
- * The number of operations of the '<em>Event Function Client Server Port</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionImpl <em>Event Function</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunction()
- * @generated
- */
- int EVENT_FUNCTION = 2;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The feature id for the '<em><b>Function</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION__FUNCTION = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Function Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION__FUNCTION_TYPE = TimingPackage.EVENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Event Function</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 2;
-
- /**
- * The number of operations of the '<em>Event Function</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FUNCTION_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.AUTOSAREventImpl <em>AUTOSAR Event</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.AUTOSAREventImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getAUTOSAREvent()
- * @generated
- */
- int AUTOSAR_EVENT = 3;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int AUTOSAR_EVENT__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int AUTOSAR_EVENT__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int AUTOSAR_EVENT__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int AUTOSAR_EVENT__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The feature id for the '<em><b>Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int AUTOSAR_EVENT__REF = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>AUTOSAR Event</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int AUTOSAR_EVENT_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>AUTOSAR Event</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int AUTOSAR_EVENT_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFaultFailureImpl <em>Event Fault Failure</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFaultFailureImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFaultFailure()
- * @generated
- */
- int EVENT_FAULT_FAILURE = 4;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FAULT_FAILURE__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FAULT_FAILURE__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FAULT_FAILURE__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FAULT_FAILURE__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The feature id for the '<em><b>Fault Failure</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FAULT_FAILURE__FAULT_FAILURE = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Event Fault Failure</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FAULT_FAILURE_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Event Fault Failure</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FAULT_FAILURE_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFeatureFlawImpl <em>Event Feature Flaw</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventFeatureFlawImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFeatureFlaw()
- * @generated
- */
- int EVENT_FEATURE_FLAW = 5;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FEATURE_FLAW__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FEATURE_FLAW__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FEATURE_FLAW__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FEATURE_FLAW__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The feature id for the '<em><b>Feature Flaw</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FEATURE_FLAW__FEATURE_FLAW = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Event Feature Flaw</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FEATURE_FLAW_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Event Feature Flaw</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EVENT_FEATURE_FLAW_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.ExternalEventImpl <em>External Event</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.ExternalEventImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getExternalEvent()
- * @generated
- */
- int EXTERNAL_EVENT = 6;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_EVENT__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_EVENT__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_EVENT__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_EVENT__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The number of structural features of the '<em>External Event</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_EVENT_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the '<em>External Event</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_EVENT_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.impl.ModeEventImpl <em>Mode Event</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.ModeEventImpl
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getModeEvent()
- * @generated
- */
- int MODE_EVENT = 7;
-
- /**
- * The feature id for the '<em><b>Base Named Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT__BASE_NAMED_ELEMENT = TimingPackage.EVENT__BASE_NAMED_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT__NAME = TimingPackage.EVENT__NAME;
-
- /**
- * The feature id for the '<em><b>Owned Comment</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT__OWNED_COMMENT = TimingPackage.EVENT__OWNED_COMMENT;
-
- /**
- * The feature id for the '<em><b>Base Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT__BASE_CLASS = TimingPackage.EVENT__BASE_CLASS;
-
- /**
- * The feature id for the '<em><b>Start</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT__START = TimingPackage.EVENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>End</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT__END = TimingPackage.EVENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Mode Event</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT_FEATURE_COUNT = TimingPackage.EVENT_FEATURE_COUNT + 2;
-
- /**
- * The number of operations of the '<em>Mode Event</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODE_EVENT_OPERATION_COUNT = TimingPackage.EVENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind <em>Event Function Client Server Port Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind
- * @see org.eclipse.papyrus.eastadl.timing.events.impl.EventsPackageImpl#getEventFunctionClientServerPortKind()
- * @generated
- */
- int EVENT_FUNCTION_CLIENT_SERVER_PORT_KIND = 8;
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction <em>Event Function</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Event Function</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunction
- * @generated
- */
- EClass getEventFunction();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunction <em>Function</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Function</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunction()
- * @see #getEventFunction()
- * @generated
- */
- EReference getEventFunction_Function();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunctionType <em>Function Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Function Type</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunction#getFunctionType()
- * @see #getEventFunction()
- * @generated
- */
- EReference getEventFunction_FunctionType();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent <em>AUTOSAR Event</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>AUTOSAR Event</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent
- * @generated
- */
- EClass getAUTOSAREvent();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent#getRef <em>Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Ref</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent#getRef()
- * @see #getAUTOSAREvent()
- * @generated
- */
- EReference getAUTOSAREvent_Ref();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure <em>Event Fault Failure</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Event Fault Failure</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure
- * @generated
- */
- EClass getEventFaultFailure();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure#getFaultFailure <em>Fault Failure</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Fault Failure</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure#getFaultFailure()
- * @see #getEventFaultFailure()
- * @generated
- */
- EReference getEventFaultFailure_FaultFailure();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw <em>Event Feature Flaw</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Event Feature Flaw</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw
- * @generated
- */
- EClass getEventFeatureFlaw();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw#getFeatureFlaw <em>Feature Flaw</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Feature Flaw</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw#getFeatureFlaw()
- * @see #getEventFeatureFlaw()
- * @generated
- */
- EReference getEventFeatureFlaw_FeatureFlaw();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.ExternalEvent <em>External Event</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>External Event</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.ExternalEvent
- * @generated
- */
- EClass getExternalEvent();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.ModeEvent <em>Mode Event</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Mode Event</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.ModeEvent
- * @generated
- */
- EClass getModeEvent();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.timing.events.ModeEvent#getStart <em>Start</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Start</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.ModeEvent#getStart()
- * @see #getModeEvent()
- * @generated
- */
- EReference getModeEvent_Start();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.eastadl.timing.events.ModeEvent#getEnd <em>End</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>End</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.ModeEvent#getEnd()
- * @see #getModeEvent()
- * @generated
- */
- EReference getModeEvent_End();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort <em>Event Function Client Server Port</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Event Function Client Server Port</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort
- * @generated
- */
- EClass getEventFunctionClientServerPort();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getEventKind <em>Event Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Event Kind</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getEventKind()
- * @see #getEventFunctionClientServerPort()
- * @generated
- */
- EAttribute getEventFunctionClientServerPort_EventKind();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getPort <em>Port</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Port</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort#getPort()
- * @see #getEventFunctionClientServerPort()
- * @generated
- */
- EReference getEventFunctionClientServerPort_Port();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind <em>Event Function Client Server Port Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for enum '<em>Event Function Client Server Port Kind</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind
- * @generated
- */
- EEnum getEventFunctionClientServerPortKind();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort <em>Event Function Flow Port</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Event Function Flow Port</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort
- * @generated
- */
- EClass getEventFunctionFlowPort();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort#getPort <em>Port</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Port</em>'.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort#getPort()
- * @see #getEventFunctionFlowPort()
- * @generated
- */
- EReference getEventFunctionFlowPort_Port();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- EventsFactory getEventsFactory();
-
-} // EventsPackage
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ExternalEvent.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ExternalEvent.java
deleted file mode 100644
index 7d6c5d0391e..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ExternalEvent.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.papyrus.eastadl.timing.Event;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>External Event</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getExternalEvent()
- * @model
- * @generated
- */
-public interface ExternalEvent extends Event {
-} // ExternalEvent
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ModeEvent.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ModeEvent.java
deleted file mode 100644
index e086a389126..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/ModeEvent.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.papyrus.eastadl.behavior.Mode;
-import org.eclipse.papyrus.eastadl.timing.Event;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Mode Event</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.ModeEvent#getStart <em>Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.ModeEvent#getEnd <em>End</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getModeEvent()
- * @model
- * @generated
- */
-public interface ModeEvent extends Event {
- /**
- * Returns the value of the '<em><b>Start</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.behavior.Mode}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Start</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Start</em>' reference list.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getModeEvent_Start()
- * @model ordered="false"
- * @generated
- */
- EList<Mode> getStart();
-
- /**
- * Returns the value of the '<em><b>End</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.behavior.Mode}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>End</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>End</em>' reference list.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#getModeEvent_End()
- * @model ordered="false"
- * @generated
- */
- EList<Mode> getEnd();
-
-} // ModeEvent
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/AUTOSAREventImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/AUTOSAREventImpl.java
deleted file mode 100644
index 2bf24c57b97..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/AUTOSAREventImpl.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events.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.eastadl.timing.events.AUTOSAREvent;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-import org.eclipse.uml2.uml.TimeEvent;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>AUTOSAR Event</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.AUTOSAREventImpl#getRef <em>Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AUTOSAREventImpl extends EventImpl implements AUTOSAREvent {
- /**
- * The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRef()
- * @generated
- * @ordered
- */
- protected TimeEvent ref;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AUTOSAREventImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.AUTOSAR_EVENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public TimeEvent getRef() {
- if (ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject) ref;
- ref = (TimeEvent) eResolveProxy(oldRef);
- if (ref != oldRef) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.AUTOSAR_EVENT__REF, oldRef, ref));
- }
- }
- }
- return ref;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public TimeEvent basicGetRef() {
- return ref;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setRef(TimeEvent newRef) {
- TimeEvent oldRef = ref;
- ref = newRef;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.AUTOSAR_EVENT__REF, oldRef, ref));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EventsPackage.AUTOSAR_EVENT__REF:
- if (resolve) {
- return getRef();
- }
- return basicGetRef();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EventsPackage.AUTOSAR_EVENT__REF:
- setRef((TimeEvent) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EventsPackage.AUTOSAR_EVENT__REF:
- setRef((TimeEvent) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EventsPackage.AUTOSAR_EVENT__REF:
- return ref != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // AUTOSAREventImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFaultFailureImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFaultFailureImpl.java
deleted file mode 100644
index 7449c9e123c..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFaultFailureImpl.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events.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.eastadl.dependability.safetyconstraints.FaultFailure;
-import org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Event Fault Failure</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFaultFailureImpl#getFaultFailure <em>Fault Failure</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EventFaultFailureImpl extends EventImpl implements EventFaultFailure {
- /**
- * The cached value of the '{@link #getFaultFailure() <em>Fault Failure</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFaultFailure()
- * @generated
- * @ordered
- */
- protected FaultFailure faultFailure;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EventFaultFailureImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.EVENT_FAULT_FAILURE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public FaultFailure getFaultFailure() {
- if (faultFailure != null && faultFailure.eIsProxy()) {
- InternalEObject oldFaultFailure = (InternalEObject) faultFailure;
- faultFailure = (FaultFailure) eResolveProxy(oldFaultFailure);
- if (faultFailure != oldFaultFailure) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.EVENT_FAULT_FAILURE__FAULT_FAILURE, oldFaultFailure, faultFailure));
- }
- }
- }
- return faultFailure;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FaultFailure basicGetFaultFailure() {
- return faultFailure;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setFaultFailure(FaultFailure newFaultFailure) {
- FaultFailure oldFaultFailure = faultFailure;
- faultFailure = newFaultFailure;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FAULT_FAILURE__FAULT_FAILURE, oldFaultFailure, faultFailure));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EventsPackage.EVENT_FAULT_FAILURE__FAULT_FAILURE:
- if (resolve) {
- return getFaultFailure();
- }
- return basicGetFaultFailure();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EventsPackage.EVENT_FAULT_FAILURE__FAULT_FAILURE:
- setFaultFailure((FaultFailure) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FAULT_FAILURE__FAULT_FAILURE:
- setFaultFailure((FaultFailure) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FAULT_FAILURE__FAULT_FAILURE:
- return faultFailure != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // EventFaultFailureImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFeatureFlawImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFeatureFlawImpl.java
deleted file mode 100644
index 3545d5a2d9f..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFeatureFlawImpl.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events.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.eastadl.dependability.FeatureFlaw;
-import org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Event Feature Flaw</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFeatureFlawImpl#getFeatureFlaw <em>Feature Flaw</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EventFeatureFlawImpl extends EventImpl implements EventFeatureFlaw {
- /**
- * The cached value of the '{@link #getFeatureFlaw() <em>Feature Flaw</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFeatureFlaw()
- * @generated
- * @ordered
- */
- protected FeatureFlaw featureFlaw;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EventFeatureFlawImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.EVENT_FEATURE_FLAW;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public FeatureFlaw getFeatureFlaw() {
- if (featureFlaw != null && featureFlaw.eIsProxy()) {
- InternalEObject oldFeatureFlaw = (InternalEObject) featureFlaw;
- featureFlaw = (FeatureFlaw) eResolveProxy(oldFeatureFlaw);
- if (featureFlaw != oldFeatureFlaw) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.EVENT_FEATURE_FLAW__FEATURE_FLAW, oldFeatureFlaw, featureFlaw));
- }
- }
- }
- return featureFlaw;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FeatureFlaw basicGetFeatureFlaw() {
- return featureFlaw;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setFeatureFlaw(FeatureFlaw newFeatureFlaw) {
- FeatureFlaw oldFeatureFlaw = featureFlaw;
- featureFlaw = newFeatureFlaw;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FEATURE_FLAW__FEATURE_FLAW, oldFeatureFlaw, featureFlaw));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EventsPackage.EVENT_FEATURE_FLAW__FEATURE_FLAW:
- if (resolve) {
- return getFeatureFlaw();
- }
- return basicGetFeatureFlaw();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EventsPackage.EVENT_FEATURE_FLAW__FEATURE_FLAW:
- setFeatureFlaw((FeatureFlaw) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FEATURE_FLAW__FEATURE_FLAW:
- setFeatureFlaw((FeatureFlaw) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FEATURE_FLAW__FEATURE_FLAW:
- return featureFlaw != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // EventFeatureFlawImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionClientServerPortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionClientServerPortImpl.java
deleted file mode 100644
index 7ea5b843131..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionClientServerPortImpl.java
+++ /dev/null
@@ -1,487 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionClientServerPortInstanceRef;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
-import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-import org.eclipse.uml2.uml.ValueSpecification;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Event Function Client Server Port</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl#getBase_ValueSpecification <em>Base Value Specification</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl#getEventKind <em>Event Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionClientServerPortImpl#getPort <em>Port</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EventFunctionClientServerPortImpl extends EventImpl implements EventFunctionClientServerPort {
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getType()
- * @generated
- * @ordered
- */
- protected EADatatype type;
-
- /**
- * The cached value of the '{@link #getBase_ValueSpecification() <em>Base Value Specification</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBase_ValueSpecification()
- * @generated
- * @ordered
- */
- protected ValueSpecification base_ValueSpecification;
-
- /**
- * The default value of the '{@link #getEventKind() <em>Event Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getEventKind()
- * @generated
- * @ordered
- */
- protected static final EventFunctionClientServerPortKind EVENT_KIND_EDEFAULT = EventFunctionClientServerPortKind.RECEIVED_REQUEST;
-
- /**
- * The cached value of the '{@link #getEventKind() <em>Event Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getEventKind()
- * @generated
- * @ordered
- */
- protected EventFunctionClientServerPortKind eventKind = EVENT_KIND_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getPort() <em>Port</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPort()
- * @generated
- * @ordered
- */
- protected EventFunctionClientServerPortInstanceRef port;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EventFunctionClientServerPortImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE:
- if (resolve) {
- return getType();
- }
- return basicGetType();
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION:
- if (resolve) {
- return getBase_ValueSpecification();
- }
- return basicGetBase_ValueSpecification();
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND:
- return getEventKind();
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT:
- return getPort();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE:
- return type != null;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION:
- return base_ValueSpecification != null;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND:
- return eventKind != EVENT_KIND_EDEFAULT;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT:
- return port != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == EAValue.class) {
- switch (derivedFeatureID) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE:
- return ValuesPackage.EA_VALUE__TYPE;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION:
- return ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION;
- default:
- return -1;
- }
- }
- if (baseClass == EAExpression.class) {
- switch (derivedFeatureID) {
- default:
- return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == EAValue.class) {
- switch (baseFeatureID) {
- case ValuesPackage.EA_VALUE__TYPE:
- return EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE;
- case ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION:
- return EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION;
- default:
- return -1;
- }
- }
- if (baseClass == EAExpression.class) {
- switch (baseFeatureID) {
- default:
- return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE:
- setType((EADatatype) newValue);
- return;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION:
- setBase_ValueSpecification((ValueSpecification) newValue);
- return;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND:
- setEventKind((EventFunctionClientServerPortKind) newValue);
- return;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT:
- setPort((EventFunctionClientServerPortInstanceRef) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.EVENT_FUNCTION_CLIENT_SERVER_PORT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EADatatype getType() {
- if (type != null && type.eIsProxy()) {
- InternalEObject oldType = (InternalEObject) type;
- type = (EADatatype) eResolveProxy(oldType);
- if (type != oldType) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE, oldType, type));
- }
- }
- }
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EADatatype basicGetType() {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setType(EADatatype newType) {
- EADatatype oldType = type;
- type = newType;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE, oldType, type));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ValueSpecification getBase_ValueSpecification() {
- if (base_ValueSpecification != null && base_ValueSpecification.eIsProxy()) {
- InternalEObject oldBase_ValueSpecification = (InternalEObject) base_ValueSpecification;
- base_ValueSpecification = (ValueSpecification) eResolveProxy(oldBase_ValueSpecification);
- if (base_ValueSpecification != oldBase_ValueSpecification) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION, oldBase_ValueSpecification, base_ValueSpecification));
- }
- }
- }
- return base_ValueSpecification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ValueSpecification basicGetBase_ValueSpecification() {
- return base_ValueSpecification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setBase_ValueSpecification(ValueSpecification newBase_ValueSpecification) {
- ValueSpecification oldBase_ValueSpecification = base_ValueSpecification;
- base_ValueSpecification = newBase_ValueSpecification;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION, oldBase_ValueSpecification, base_ValueSpecification));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__TYPE:
- setType((EADatatype) null);
- return;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__BASE_VALUE_SPECIFICATION:
- setBase_ValueSpecification((ValueSpecification) null);
- return;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND:
- setEventKind(EVENT_KIND_EDEFAULT);
- return;
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT:
- setPort((EventFunctionClientServerPortInstanceRef) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFunctionClientServerPortKind getEventKind() {
- return eventKind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFunctionClientServerPortInstanceRef getPort() {
- return port;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetPort(EventFunctionClientServerPortInstanceRef newPort, NotificationChain msgs) {
- EventFunctionClientServerPortInstanceRef oldPort = port;
- port = newPort;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT, oldPort, newPort);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setPort(EventFunctionClientServerPortInstanceRef newPort) {
- if (newPort != port) {
- NotificationChain msgs = null;
- if (port != null) {
- msgs = ((InternalEObject) port).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT, null, msgs);
- }
- if (newPort != null) {
- msgs = ((InternalEObject) newPort).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT, null, msgs);
- }
- msgs = basicSetPort(newPort, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT, newPort, newPort));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT:
- return basicSetPort(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setEventKind(EventFunctionClientServerPortKind newEventKind) {
- EventFunctionClientServerPortKind oldEventKind = eventKind;
- eventKind = newEventKind == null ? EVENT_KIND_EDEFAULT : newEventKind;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND, oldEventKind, eventKind));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (eventKind: ");
- result.append(eventKind);
- result.append(')');
- return result.toString();
- }
-
-} // EventFunctionClientServerPortImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionFlowPortImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionFlowPortImpl.java
deleted file mode 100644
index 934b4b2cd86..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionFlowPortImpl.java
+++ /dev/null
@@ -1,406 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionFlowPortInstanceRef;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
-import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-import org.eclipse.uml2.uml.ValueSpecification;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Event Function Flow Port</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionFlowPortImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionFlowPortImpl#getBase_ValueSpecification <em>Base Value Specification</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionFlowPortImpl#getPort <em>Port</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EventFunctionFlowPortImpl extends EventImpl implements EventFunctionFlowPort {
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getType()
- * @generated
- * @ordered
- */
- protected EADatatype type;
- /**
- * The cached value of the '{@link #getBase_ValueSpecification() <em>Base Value Specification</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBase_ValueSpecification()
- * @generated
- * @ordered
- */
- protected ValueSpecification base_ValueSpecification;
- /**
- * The cached value of the '{@link #getPort() <em>Port</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPort()
- * @generated
- * @ordered
- */
- protected EventFunctionFlowPortInstanceRef port;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EventFunctionFlowPortImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE:
- if (resolve) {
- return getType();
- }
- return basicGetType();
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION:
- if (resolve) {
- return getBase_ValueSpecification();
- }
- return basicGetBase_ValueSpecification();
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT:
- return getPort();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE:
- return type != null;
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION:
- return base_ValueSpecification != null;
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT:
- return port != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == EAValue.class) {
- switch (derivedFeatureID) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE:
- return ValuesPackage.EA_VALUE__TYPE;
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION:
- return ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION;
- default:
- return -1;
- }
- }
- if (baseClass == EAExpression.class) {
- switch (derivedFeatureID) {
- default:
- return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == EAValue.class) {
- switch (baseFeatureID) {
- case ValuesPackage.EA_VALUE__TYPE:
- return EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE;
- case ValuesPackage.EA_VALUE__BASE_VALUE_SPECIFICATION:
- return EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION;
- default:
- return -1;
- }
- }
- if (baseClass == EAExpression.class) {
- switch (baseFeatureID) {
- default:
- return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE:
- setType((EADatatype) newValue);
- return;
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION:
- setBase_ValueSpecification((ValueSpecification) newValue);
- return;
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT:
- setPort((EventFunctionFlowPortInstanceRef) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.EVENT_FUNCTION_FLOW_PORT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EADatatype getType() {
- if (type != null && type.eIsProxy()) {
- InternalEObject oldType = (InternalEObject) type;
- type = (EADatatype) eResolveProxy(oldType);
- if (type != oldType) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE, oldType, type));
- }
- }
- }
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EADatatype basicGetType() {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setType(EADatatype newType) {
- EADatatype oldType = type;
- type = newType;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE, oldType, type));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ValueSpecification getBase_ValueSpecification() {
- if (base_ValueSpecification != null && base_ValueSpecification.eIsProxy()) {
- InternalEObject oldBase_ValueSpecification = (InternalEObject) base_ValueSpecification;
- base_ValueSpecification = (ValueSpecification) eResolveProxy(oldBase_ValueSpecification);
- if (base_ValueSpecification != oldBase_ValueSpecification) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION, oldBase_ValueSpecification, base_ValueSpecification));
- }
- }
- }
- return base_ValueSpecification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ValueSpecification basicGetBase_ValueSpecification() {
- return base_ValueSpecification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setBase_ValueSpecification(ValueSpecification newBase_ValueSpecification) {
- ValueSpecification oldBase_ValueSpecification = base_ValueSpecification;
- base_ValueSpecification = newBase_ValueSpecification;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION, oldBase_ValueSpecification, base_ValueSpecification));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__TYPE:
- setType((EADatatype) null);
- return;
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__BASE_VALUE_SPECIFICATION:
- setBase_ValueSpecification((ValueSpecification) null);
- return;
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT:
- setPort((EventFunctionFlowPortInstanceRef) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFunctionFlowPortInstanceRef getPort() {
- return port;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetPort(EventFunctionFlowPortInstanceRef newPort, NotificationChain msgs) {
- EventFunctionFlowPortInstanceRef oldPort = port;
- port = newPort;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT, oldPort, newPort);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setPort(EventFunctionFlowPortInstanceRef newPort) {
- if (newPort != port) {
- NotificationChain msgs = null;
- if (port != null) {
- msgs = ((InternalEObject) port).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT, null, msgs);
- }
- if (newPort != null) {
- msgs = ((InternalEObject) newPort).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT, null, msgs);
- }
- msgs = basicSetPort(newPort, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT, newPort, newPort));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT__PORT:
- return basicSetPort(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
-} // EventFunctionFlowPortImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionImpl.java
deleted file mode 100644
index 3999b239dc0..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventFunctionImpl.java
+++ /dev/null
@@ -1,280 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.EventFunctionInstanceRef;
-import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunction;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Event Function</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionImpl#getFunction <em>Function</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.EventFunctionImpl#getFunctionType <em>Function Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EventFunctionImpl extends EventImpl implements EventFunction {
- /**
- * The cached value of the '{@link #getFunction() <em>Function</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFunction()
- * @generated
- * @ordered
- */
- protected EventFunctionInstanceRef function;
-
- /**
- * The cached value of the '{@link #getFunctionType() <em>Function Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFunctionType()
- * @generated
- * @ordered
- */
- protected FunctionType functionType;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EventFunctionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FunctionType basicGetFunctionType() {
- return functionType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION__FUNCTION:
- return getFunction();
- case EventsPackage.EVENT_FUNCTION__FUNCTION_TYPE:
- if (resolve) {
- return getFunctionType();
- }
- return basicGetFunctionType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION__FUNCTION:
- return function != null;
- case EventsPackage.EVENT_FUNCTION__FUNCTION_TYPE:
- return functionType != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION__FUNCTION:
- setFunction((EventFunctionInstanceRef) newValue);
- return;
- case EventsPackage.EVENT_FUNCTION__FUNCTION_TYPE:
- setFunctionType((FunctionType) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.EVENT_FUNCTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION__FUNCTION:
- setFunction((EventFunctionInstanceRef) null);
- return;
- case EventsPackage.EVENT_FUNCTION__FUNCTION_TYPE:
- setFunctionType((FunctionType) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFunctionInstanceRef getFunction() {
- return function;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetFunction(EventFunctionInstanceRef newFunction, NotificationChain msgs) {
- EventFunctionInstanceRef oldFunction = function;
- function = newFunction;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION__FUNCTION, oldFunction, newFunction);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setFunction(EventFunctionInstanceRef newFunction) {
- if (newFunction != function) {
- NotificationChain msgs = null;
- if (function != null) {
- msgs = ((InternalEObject) function).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EventsPackage.EVENT_FUNCTION__FUNCTION, null, msgs);
- }
- if (newFunction != null) {
- msgs = ((InternalEObject) newFunction).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EventsPackage.EVENT_FUNCTION__FUNCTION, null, msgs);
- }
- msgs = basicSetFunction(newFunction, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION__FUNCTION, newFunction, newFunction));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public FunctionType getFunctionType() {
- if (functionType != null && functionType.eIsProxy()) {
- InternalEObject oldFunctionType = (InternalEObject) functionType;
- functionType = (FunctionType) eResolveProxy(oldFunctionType);
- if (functionType != oldFunctionType) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, EventsPackage.EVENT_FUNCTION__FUNCTION_TYPE, oldFunctionType, functionType));
- }
- }
- }
- return functionType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setFunctionType(FunctionType newFunctionType) {
- FunctionType oldFunctionType = functionType;
- functionType = newFunctionType;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, EventsPackage.EVENT_FUNCTION__FUNCTION_TYPE, oldFunctionType, functionType));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case EventsPackage.EVENT_FUNCTION__FUNCTION:
- return basicSetFunction(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
-} // EventFunctionImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsFactoryImpl.java
deleted file mode 100644
index 4a41a9e1ff7..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsFactoryImpl.java
+++ /dev/null
@@ -1,280 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent;
-import org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure;
-import org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunction;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventsFactory;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.events.ExternalEvent;
-import org.eclipse.papyrus.eastadl.timing.events.ModeEvent;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class EventsFactoryImpl extends EFactoryImpl implements EventsFactory {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static EventsPackage getPackage() {
- return EventsPackage.eINSTANCE;
- }
-
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static EventsFactory init() {
- try {
- EventsFactory theEventsFactory = (EventsFactory) EPackage.Registry.INSTANCE.getEFactory(EventsPackage.eNS_URI);
- if (theEventsFactory != null) {
- return theEventsFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new EventsFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EventsFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertEventFunctionClientServerPortKindToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_KIND:
- return convertEventFunctionClientServerPortKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT:
- return createEventFunctionFlowPort();
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT:
- return createEventFunctionClientServerPort();
- case EventsPackage.EVENT_FUNCTION:
- return createEventFunction();
- case EventsPackage.AUTOSAR_EVENT:
- return createAUTOSAREvent();
- case EventsPackage.EVENT_FAULT_FAILURE:
- return createEventFaultFailure();
- case EventsPackage.EVENT_FEATURE_FLAW:
- return createEventFeatureFlaw();
- case EventsPackage.EXTERNAL_EVENT:
- return createExternalEvent();
- case EventsPackage.MODE_EVENT:
- return createModeEvent();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFunction createEventFunction() {
- EventFunctionImpl eventFunction = new EventFunctionImpl();
- return eventFunction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public AUTOSAREvent createAUTOSAREvent() {
- AUTOSAREventImpl autosarEvent = new AUTOSAREventImpl();
- return autosarEvent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFaultFailure createEventFaultFailure() {
- EventFaultFailureImpl eventFaultFailure = new EventFaultFailureImpl();
- return eventFaultFailure;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFeatureFlaw createEventFeatureFlaw() {
- EventFeatureFlawImpl eventFeatureFlaw = new EventFeatureFlawImpl();
- return eventFeatureFlaw;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ExternalEvent createExternalEvent() {
- ExternalEventImpl externalEvent = new ExternalEventImpl();
- return externalEvent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ModeEvent createModeEvent() {
- ModeEventImpl modeEvent = new ModeEventImpl();
- return modeEvent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFunctionClientServerPort createEventFunctionClientServerPort() {
- EventFunctionClientServerPortImpl eventFunctionClientServerPort = new EventFunctionClientServerPortImpl();
- return eventFunctionClientServerPort;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EventFunctionClientServerPortKind createEventFunctionClientServerPortKindFromString(EDataType eDataType, String initialValue) {
- EventFunctionClientServerPortKind result = EventFunctionClientServerPortKind.get(initialValue);
- if (result == null) {
- throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventFunctionFlowPort createEventFunctionFlowPort() {
- EventFunctionFlowPortImpl eventFunctionFlowPort = new EventFunctionFlowPortImpl();
- return eventFunctionFlowPort;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT_KIND:
- return createEventFunctionClientServerPortKindFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventsPackage getEventsPackage() {
- return (EventsPackage) getEPackage();
- }
-
-} // EventsFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsPackageImpl.java
deleted file mode 100644
index ef4f86cac28..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/EventsPackageImpl.java
+++ /dev/null
@@ -1,747 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.eastadl.EastadlPackage;
-import org.eclipse.papyrus.eastadl.annex.AnnexPackage;
-import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage;
-import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.impl.AttributequantificationconstraintPackageImpl;
-import org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviordescriptionPackage;
-import org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviordescriptionPackageImpl;
-import org.eclipse.papyrus.eastadl.annex.computationconstraint.ComputationconstraintPackage;
-import org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationconstraintPackageImpl;
-import org.eclipse.papyrus.eastadl.annex.impl.AnnexPackageImpl;
-import org.eclipse.papyrus.eastadl.annex.needs.NeedsPackage;
-import org.eclipse.papyrus.eastadl.annex.needs.impl.NeedsPackageImpl;
-import org.eclipse.papyrus.eastadl.annex.temporalconstraint.TemporalconstraintPackage;
-import org.eclipse.papyrus.eastadl.annex.temporalconstraint.impl.TemporalconstraintPackageImpl;
-import org.eclipse.papyrus.eastadl.behavior.BehaviorPackage;
-import org.eclipse.papyrus.eastadl.behavior.impl.BehaviorPackageImpl;
-import org.eclipse.papyrus.eastadl.dependability.DependabilityPackage;
-import org.eclipse.papyrus.eastadl.dependability.errormodel.ErrormodelPackage;
-import org.eclipse.papyrus.eastadl.dependability.errormodel.impl.ErrormodelPackageImpl;
-import org.eclipse.papyrus.eastadl.dependability.impl.DependabilityPackageImpl;
-import org.eclipse.papyrus.eastadl.dependability.safetycase.SafetycasePackage;
-import org.eclipse.papyrus.eastadl.dependability.safetycase.impl.SafetycasePackageImpl;
-import org.eclipse.papyrus.eastadl.dependability.safetyconstraints.SafetyconstraintsPackage;
-import org.eclipse.papyrus.eastadl.dependability.safetyconstraints.impl.SafetyconstraintsPackageImpl;
-import org.eclipse.papyrus.eastadl.dependability.safetyrequirement.SafetyrequirementPackage;
-import org.eclipse.papyrus.eastadl.dependability.safetyrequirement.impl.SafetyrequirementPackageImpl;
-import org.eclipse.papyrus.eastadl.environment.EnvironmentPackage;
-import org.eclipse.papyrus.eastadl.environment.impl.EnvironmentPackageImpl;
-import org.eclipse.papyrus.eastadl.genericconstraints.GenericconstraintsPackage;
-import org.eclipse.papyrus.eastadl.genericconstraints.impl.GenericconstraintsPackageImpl;
-import org.eclipse.papyrus.eastadl.impl.EastadlPackageImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.InfrastructurePackage;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.DatatypesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.impl.DatatypesPackageImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.ElementsPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.ElementsPackageImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.impl.InfrastructurePackageImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.userattributes.UserattributesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.userattributes.impl.UserattributesPackageImpl;
-import org.eclipse.papyrus.eastadl.infrastructure.values.ValuesPackage;
-import org.eclipse.papyrus.eastadl.infrastructure.values.impl.ValuesPackageImpl;
-import org.eclipse.papyrus.eastadl.requirements.RequirementsPackage;
-import org.eclipse.papyrus.eastadl.requirements.impl.RequirementsPackageImpl;
-import org.eclipse.papyrus.eastadl.requirements.usecases.UsecasesPackage;
-import org.eclipse.papyrus.eastadl.requirements.usecases.impl.UsecasesPackageImpl;
-import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.VerificationvalidationPackage;
-import org.eclipse.papyrus.eastadl.requirements.verificationvalidation.impl.VerificationvalidationPackageImpl;
-import org.eclipse.papyrus.eastadl.structure.StructurePackage;
-import org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage;
-import org.eclipse.papyrus.eastadl.structure.featuremodeling.impl.FeaturemodelingPackageImpl;
-import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage;
-import org.eclipse.papyrus.eastadl.structure.functionmodeling.impl.FunctionmodelingPackageImpl;
-import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage;
-import org.eclipse.papyrus.eastadl.structure.hardwaremodeling.impl.HardwaremodelingPackageImpl;
-import org.eclipse.papyrus.eastadl.structure.impl.StructurePackageImpl;
-import org.eclipse.papyrus.eastadl.structure.systemmodeling.SystemmodelingPackage;
-import org.eclipse.papyrus.eastadl.structure.systemmodeling.impl.SystemmodelingPackageImpl;
-import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehiclefeaturemodelingPackage;
-import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.impl.VehiclefeaturemodelingPackageImpl;
-import org.eclipse.papyrus.eastadl.timing.TimingPackage;
-import org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent;
-import org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure;
-import org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunction;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPortKind;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventsFactory;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.events.ExternalEvent;
-import org.eclipse.papyrus.eastadl.timing.events.ModeEvent;
-import org.eclipse.papyrus.eastadl.timing.impl.TimingPackageImpl;
-import org.eclipse.papyrus.eastadl.timing.timingconstraints.TimingconstraintsPackage;
-import org.eclipse.papyrus.eastadl.timing.timingconstraints.impl.TimingconstraintsPackageImpl;
-import org.eclipse.papyrus.eastadl.variability.VariabilityPackage;
-import org.eclipse.papyrus.eastadl.variability.impl.VariabilityPackageImpl;
-import org.eclipse.papyrus.sysml.SysmlPackage;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class EventsPackageImpl extends EPackageImpl implements EventsPackage {
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eventFunctionFlowPortEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eventFunctionClientServerPortEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eventFunctionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass autosarEventEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eventFaultFailureEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eventFeatureFlawEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass externalEventEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass modeEventEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EEnum eventFunctionClientServerPortKindEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>
- * This method is used to initialize {@link EventsPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static EventsPackage init() {
- if (isInited) {
- return (EventsPackage) EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- EventsPackageImpl theEventsPackage = (EventsPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EventsPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- SysmlPackage.eINSTANCE.eClass();
-
- // Obtain or create and register interdependencies
- EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI) : EastadlPackage.eINSTANCE);
- VariabilityPackageImpl theVariabilityPackage = (VariabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI) instanceof VariabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(VariabilityPackage.eNS_URI)
- : VariabilityPackage.eINSTANCE);
- InfrastructurePackageImpl theInfrastructurePackage = (InfrastructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI) instanceof InfrastructurePackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(InfrastructurePackage.eNS_URI) : InfrastructurePackage.eINSTANCE);
- DatatypesPackageImpl theDatatypesPackage = (DatatypesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI) instanceof DatatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DatatypesPackage.eNS_URI)
- : DatatypesPackage.eINSTANCE);
- UserattributesPackageImpl theUserattributesPackage = (UserattributesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UserattributesPackage.eNS_URI) instanceof UserattributesPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(UserattributesPackage.eNS_URI) : UserattributesPackage.eINSTANCE);
- ValuesPackageImpl theValuesPackage = (ValuesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) instanceof ValuesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI) : ValuesPackage.eINSTANCE);
- ElementsPackageImpl theElementsPackage = (ElementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI) instanceof ElementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ElementsPackage.eNS_URI)
- : ElementsPackage.eINSTANCE);
- StructurePackageImpl theStructurePackage = (StructurePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI) instanceof StructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StructurePackage.eNS_URI)
- : StructurePackage.eINSTANCE);
- FunctionmodelingPackageImpl theFunctionmodelingPackage = (FunctionmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI) instanceof FunctionmodelingPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(FunctionmodelingPackage.eNS_URI) : FunctionmodelingPackage.eINSTANCE);
- FeaturemodelingPackageImpl theFeaturemodelingPackage = (FeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(FeaturemodelingPackage.eNS_URI) instanceof FeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(FeaturemodelingPackage.eNS_URI) : FeaturemodelingPackage.eINSTANCE);
- SystemmodelingPackageImpl theSystemmodelingPackage = (SystemmodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SystemmodelingPackage.eNS_URI) instanceof SystemmodelingPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(SystemmodelingPackage.eNS_URI) : SystemmodelingPackage.eINSTANCE);
- VehiclefeaturemodelingPackageImpl theVehiclefeaturemodelingPackage = (VehiclefeaturemodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VehiclefeaturemodelingPackage.eNS_URI) instanceof VehiclefeaturemodelingPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(VehiclefeaturemodelingPackage.eNS_URI)
- : VehiclefeaturemodelingPackage.eINSTANCE);
- HardwaremodelingPackageImpl theHardwaremodelingPackage = (HardwaremodelingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(HardwaremodelingPackage.eNS_URI) instanceof HardwaremodelingPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(HardwaremodelingPackage.eNS_URI) : HardwaremodelingPackage.eINSTANCE);
- DependabilityPackageImpl theDependabilityPackage = (DependabilityPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI) instanceof DependabilityPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(DependabilityPackage.eNS_URI) : DependabilityPackage.eINSTANCE);
- SafetyrequirementPackageImpl theSafetyrequirementPackage = (SafetyrequirementPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyrequirementPackage.eNS_URI) instanceof SafetyrequirementPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(SafetyrequirementPackage.eNS_URI) : SafetyrequirementPackage.eINSTANCE);
- SafetyconstraintsPackageImpl theSafetyconstraintsPackage = (SafetyconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI) instanceof SafetyconstraintsPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(SafetyconstraintsPackage.eNS_URI) : SafetyconstraintsPackage.eINSTANCE);
- SafetycasePackageImpl theSafetycasePackage = (SafetycasePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI) instanceof SafetycasePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SafetycasePackage.eNS_URI)
- : SafetycasePackage.eINSTANCE);
- ErrormodelPackageImpl theErrormodelPackage = (ErrormodelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI) instanceof ErrormodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ErrormodelPackage.eNS_URI)
- : ErrormodelPackage.eINSTANCE);
- RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI)
- : RequirementsPackage.eINSTANCE);
- UsecasesPackageImpl theUsecasesPackage = (UsecasesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI) instanceof UsecasesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsecasesPackage.eNS_URI)
- : UsecasesPackage.eINSTANCE);
- VerificationvalidationPackageImpl theVerificationvalidationPackage = (VerificationvalidationPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(VerificationvalidationPackage.eNS_URI) instanceof VerificationvalidationPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(VerificationvalidationPackage.eNS_URI)
- : VerificationvalidationPackage.eINSTANCE);
- org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl theRequirementsPackage_1 = (org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl) (EPackage.Registry.INSTANCE
- .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) instanceof org.eclipse.papyrus.eastadl.requirements.requirements.impl.RequirementsPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eNS_URI) : org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage.eINSTANCE);
- BehaviorPackageImpl theBehaviorPackage = (BehaviorPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI) instanceof BehaviorPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI)
- : BehaviorPackage.eINSTANCE);
- TimingPackageImpl theTimingPackage = (TimingPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) instanceof TimingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI) : TimingPackage.eINSTANCE);
- TimingconstraintsPackageImpl theTimingconstraintsPackage = (TimingconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TimingconstraintsPackage.eNS_URI) instanceof TimingconstraintsPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(TimingconstraintsPackage.eNS_URI) : TimingconstraintsPackage.eINSTANCE);
- EnvironmentPackageImpl theEnvironmentPackage = (EnvironmentPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI) instanceof EnvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI)
- : EnvironmentPackage.eINSTANCE);
- AnnexPackageImpl theAnnexPackage = (AnnexPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) instanceof AnnexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AnnexPackage.eNS_URI) : AnnexPackage.eINSTANCE);
- NeedsPackageImpl theNeedsPackage = (NeedsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) instanceof NeedsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NeedsPackage.eNS_URI) : NeedsPackage.eINSTANCE);
- BehaviordescriptionPackageImpl theBehaviordescriptionPackage = (BehaviordescriptionPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BehaviordescriptionPackage.eNS_URI) instanceof BehaviordescriptionPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(BehaviordescriptionPackage.eNS_URI) : BehaviordescriptionPackage.eINSTANCE);
- AttributequantificationconstraintPackageImpl theAttributequantificationconstraintPackage = (AttributequantificationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AttributequantificationconstraintPackage.eNS_URI) instanceof AttributequantificationconstraintPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(AttributequantificationconstraintPackage.eNS_URI)
- : AttributequantificationconstraintPackage.eINSTANCE);
- TemporalconstraintPackageImpl theTemporalconstraintPackage = (TemporalconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TemporalconstraintPackage.eNS_URI) instanceof TemporalconstraintPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(TemporalconstraintPackage.eNS_URI) : TemporalconstraintPackage.eINSTANCE);
- ComputationconstraintPackageImpl theComputationconstraintPackage = (ComputationconstraintPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(ComputationconstraintPackage.eNS_URI) instanceof ComputationconstraintPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(ComputationconstraintPackage.eNS_URI)
- : ComputationconstraintPackage.eINSTANCE);
- GenericconstraintsPackageImpl theGenericconstraintsPackage = (GenericconstraintsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(GenericconstraintsPackage.eNS_URI) instanceof GenericconstraintsPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(GenericconstraintsPackage.eNS_URI) : GenericconstraintsPackage.eINSTANCE);
-
- // Create package meta-data objects
- theEventsPackage.createPackageContents();
- theEastadlPackage.createPackageContents();
- theVariabilityPackage.createPackageContents();
- theInfrastructurePackage.createPackageContents();
- theDatatypesPackage.createPackageContents();
- theUserattributesPackage.createPackageContents();
- theValuesPackage.createPackageContents();
- theElementsPackage.createPackageContents();
- theStructurePackage.createPackageContents();
- theFunctionmodelingPackage.createPackageContents();
- theFeaturemodelingPackage.createPackageContents();
- theSystemmodelingPackage.createPackageContents();
- theVehiclefeaturemodelingPackage.createPackageContents();
- theHardwaremodelingPackage.createPackageContents();
- theDependabilityPackage.createPackageContents();
- theSafetyrequirementPackage.createPackageContents();
- theSafetyconstraintsPackage.createPackageContents();
- theSafetycasePackage.createPackageContents();
- theErrormodelPackage.createPackageContents();
- theRequirementsPackage.createPackageContents();
- theUsecasesPackage.createPackageContents();
- theVerificationvalidationPackage.createPackageContents();
- theRequirementsPackage_1.createPackageContents();
- theBehaviorPackage.createPackageContents();
- theTimingPackage.createPackageContents();
- theTimingconstraintsPackage.createPackageContents();
- theEnvironmentPackage.createPackageContents();
- theAnnexPackage.createPackageContents();
- theNeedsPackage.createPackageContents();
- theBehaviordescriptionPackage.createPackageContents();
- theAttributequantificationconstraintPackage.createPackageContents();
- theTemporalconstraintPackage.createPackageContents();
- theComputationconstraintPackage.createPackageContents();
- theGenericconstraintsPackage.createPackageContents();
-
- // Initialize created meta-data
- theEventsPackage.initializePackageContents();
- theEastadlPackage.initializePackageContents();
- theVariabilityPackage.initializePackageContents();
- theInfrastructurePackage.initializePackageContents();
- theDatatypesPackage.initializePackageContents();
- theUserattributesPackage.initializePackageContents();
- theValuesPackage.initializePackageContents();
- theElementsPackage.initializePackageContents();
- theStructurePackage.initializePackageContents();
- theFunctionmodelingPackage.initializePackageContents();
- theFeaturemodelingPackage.initializePackageContents();
- theSystemmodelingPackage.initializePackageContents();
- theVehiclefeaturemodelingPackage.initializePackageContents();
- theHardwaremodelingPackage.initializePackageContents();
- theDependabilityPackage.initializePackageContents();
- theSafetyrequirementPackage.initializePackageContents();
- theSafetyconstraintsPackage.initializePackageContents();
- theSafetycasePackage.initializePackageContents();
- theErrormodelPackage.initializePackageContents();
- theRequirementsPackage.initializePackageContents();
- theUsecasesPackage.initializePackageContents();
- theVerificationvalidationPackage.initializePackageContents();
- theRequirementsPackage_1.initializePackageContents();
- theBehaviorPackage.initializePackageContents();
- theTimingPackage.initializePackageContents();
- theTimingconstraintsPackage.initializePackageContents();
- theEnvironmentPackage.initializePackageContents();
- theAnnexPackage.initializePackageContents();
- theNeedsPackage.initializePackageContents();
- theBehaviordescriptionPackage.initializePackageContents();
- theAttributequantificationconstraintPackage.initializePackageContents();
- theTemporalconstraintPackage.initializePackageContents();
- theComputationconstraintPackage.initializePackageContents();
- theGenericconstraintsPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theEventsPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(EventsPackage.eNS_URI, theEventsPackage);
- return theEventsPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private EventsPackageImpl() {
- super(eNS_URI, EventsFactory.eINSTANCE);
- }
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) {
- return;
- }
- isCreated = true;
-
- // Create classes and their features
- eventFunctionFlowPortEClass = createEClass(EVENT_FUNCTION_FLOW_PORT);
- createEReference(eventFunctionFlowPortEClass, EVENT_FUNCTION_FLOW_PORT__PORT);
-
- eventFunctionClientServerPortEClass = createEClass(EVENT_FUNCTION_CLIENT_SERVER_PORT);
- createEAttribute(eventFunctionClientServerPortEClass, EVENT_FUNCTION_CLIENT_SERVER_PORT__EVENT_KIND);
- createEReference(eventFunctionClientServerPortEClass, EVENT_FUNCTION_CLIENT_SERVER_PORT__PORT);
-
- eventFunctionEClass = createEClass(EVENT_FUNCTION);
- createEReference(eventFunctionEClass, EVENT_FUNCTION__FUNCTION);
- createEReference(eventFunctionEClass, EVENT_FUNCTION__FUNCTION_TYPE);
-
- autosarEventEClass = createEClass(AUTOSAR_EVENT);
- createEReference(autosarEventEClass, AUTOSAR_EVENT__REF);
-
- eventFaultFailureEClass = createEClass(EVENT_FAULT_FAILURE);
- createEReference(eventFaultFailureEClass, EVENT_FAULT_FAILURE__FAULT_FAILURE);
-
- eventFeatureFlawEClass = createEClass(EVENT_FEATURE_FLAW);
- createEReference(eventFeatureFlawEClass, EVENT_FEATURE_FLAW__FEATURE_FLAW);
-
- externalEventEClass = createEClass(EXTERNAL_EVENT);
-
- modeEventEClass = createEClass(MODE_EVENT);
- createEReference(modeEventEClass, MODE_EVENT__START);
- createEReference(modeEventEClass, MODE_EVENT__END);
-
- // Create enums
- eventFunctionClientServerPortKindEEnum = createEEnum(EVENT_FUNCTION_CLIENT_SERVER_PORT_KIND);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getEventFunction() {
- return eventFunctionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getEventFunction_Function() {
- return (EReference) eventFunctionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getEventFunction_FunctionType() {
- return (EReference) eventFunctionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getAUTOSAREvent() {
- return autosarEventEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getAUTOSAREvent_Ref() {
- return (EReference) autosarEventEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getEventFaultFailure() {
- return eventFaultFailureEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getEventFaultFailure_FaultFailure() {
- return (EReference) eventFaultFailureEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getEventFeatureFlaw() {
- return eventFeatureFlawEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getEventFeatureFlaw_FeatureFlaw() {
- return (EReference) eventFeatureFlawEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getExternalEvent() {
- return externalEventEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getModeEvent() {
- return modeEventEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getModeEvent_Start() {
- return (EReference) modeEventEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getModeEvent_End() {
- return (EReference) modeEventEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getEventFunctionClientServerPort() {
- return eventFunctionClientServerPortEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EAttribute getEventFunctionClientServerPort_EventKind() {
- return (EAttribute) eventFunctionClientServerPortEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getEventFunctionClientServerPort_Port() {
- return (EReference) eventFunctionClientServerPortEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EEnum getEventFunctionClientServerPortKind() {
- return eventFunctionClientServerPortKindEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getEventFunctionFlowPort() {
- return eventFunctionFlowPortEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getEventFunctionFlowPort_Port() {
- return (EReference) eventFunctionFlowPortEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EventsFactory getEventsFactory() {
- return (EventsFactory) getEFactoryInstance();
- }
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) {
- return;
- }
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- TimingPackage theTimingPackage = (TimingPackage) EPackage.Registry.INSTANCE.getEPackage(TimingPackage.eNS_URI);
- ValuesPackage theValuesPackage = (ValuesPackage) EPackage.Registry.INSTANCE.getEPackage(ValuesPackage.eNS_URI);
- InfrastructurePackage theInfrastructurePackage = (InfrastructurePackage) EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);
- FunctionmodelingPackage theFunctionmodelingPackage = (FunctionmodelingPackage) EPackage.Registry.INSTANCE.getEPackage(FunctionmodelingPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- SafetyconstraintsPackage theSafetyconstraintsPackage = (SafetyconstraintsPackage) EPackage.Registry.INSTANCE.getEPackage(SafetyconstraintsPackage.eNS_URI);
- DependabilityPackage theDependabilityPackage = (DependabilityPackage) EPackage.Registry.INSTANCE.getEPackage(DependabilityPackage.eNS_URI);
- BehaviorPackage theBehaviorPackage = (BehaviorPackage) EPackage.Registry.INSTANCE.getEPackage(BehaviorPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- eventFunctionFlowPortEClass.getESuperTypes().add(theTimingPackage.getEvent());
- eventFunctionFlowPortEClass.getESuperTypes().add(theValuesPackage.getEAExpression());
- eventFunctionClientServerPortEClass.getESuperTypes().add(theTimingPackage.getEvent());
- eventFunctionClientServerPortEClass.getESuperTypes().add(theValuesPackage.getEAExpression());
- eventFunctionEClass.getESuperTypes().add(theTimingPackage.getEvent());
- autosarEventEClass.getESuperTypes().add(theTimingPackage.getEvent());
- eventFaultFailureEClass.getESuperTypes().add(theTimingPackage.getEvent());
- eventFeatureFlawEClass.getESuperTypes().add(theTimingPackage.getEvent());
- externalEventEClass.getESuperTypes().add(theTimingPackage.getEvent());
- modeEventEClass.getESuperTypes().add(theTimingPackage.getEvent());
-
- // Initialize classes, features, and operations; add parameters
- initEClass(eventFunctionFlowPortEClass, EventFunctionFlowPort.class, "EventFunctionFlowPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEventFunctionFlowPort_Port(), theInfrastructurePackage.getEventFunctionFlowPortInstanceRef(), null, "port", null, 1, 1, EventFunctionFlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(eventFunctionClientServerPortEClass, EventFunctionClientServerPort.class, "EventFunctionClientServerPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEventFunctionClientServerPort_EventKind(), this.getEventFunctionClientServerPortKind(), "eventKind", null, 1, 1, EventFunctionClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEReference(getEventFunctionClientServerPort_Port(), theInfrastructurePackage.getEventFunctionClientServerPortInstanceRef(), null, "port", null, 1, 1, EventFunctionClientServerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(eventFunctionEClass, EventFunction.class, "EventFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEventFunction_Function(), theInfrastructurePackage.getEventFunctionInstanceRef(), null, "function", null, 1, 1, EventFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getEventFunction_FunctionType(), theFunctionmodelingPackage.getFunctionType(), null, "functionType", null, 0, 1, EventFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(autosarEventEClass, AUTOSAREvent.class, "AUTOSAREvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAUTOSAREvent_Ref(), theUMLPackage.getTimeEvent(), null, "ref", null, 1, 1, AUTOSAREvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(eventFaultFailureEClass, EventFaultFailure.class, "EventFaultFailure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEventFaultFailure_FaultFailure(), theSafetyconstraintsPackage.getFaultFailure(), null, "faultFailure", null, 1, 1, EventFaultFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(eventFeatureFlawEClass, EventFeatureFlaw.class, "EventFeatureFlaw", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEventFeatureFlaw_FeatureFlaw(), theDependabilityPackage.getFeatureFlaw(), null, "featureFlaw", null, 1, 1, EventFeatureFlaw.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(externalEventEClass, ExternalEvent.class, "ExternalEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(modeEventEClass, ModeEvent.class, "ModeEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getModeEvent_Start(), theBehaviorPackage.getMode(), null, "start", null, 0, -1, ModeEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getModeEvent_End(), theBehaviorPackage.getMode(), null, "end", null, 0, -1, ModeEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(eventFunctionClientServerPortKindEEnum, EventFunctionClientServerPortKind.class, "EventFunctionClientServerPortKind");
- addEEnumLiteral(eventFunctionClientServerPortKindEEnum, EventFunctionClientServerPortKind.RECEIVED_REQUEST);
- addEEnumLiteral(eventFunctionClientServerPortKindEEnum, EventFunctionClientServerPortKind.SENT_RESPONSE);
- addEEnumLiteral(eventFunctionClientServerPortKindEEnum, EventFunctionClientServerPortKind.SENT_REQUEST);
- addEEnumLiteral(eventFunctionClientServerPortKindEEnum, EventFunctionClientServerPortKind.RECEIVED_RESPONSE);
- }
-
-} // EventsPackageImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ExternalEventImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ExternalEventImpl.java
deleted file mode 100644
index df31fe2aa0b..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ExternalEventImpl.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.events.ExternalEvent;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>External Event</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ExternalEventImpl extends EventImpl implements ExternalEvent {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ExternalEventImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.EXTERNAL_EVENT;
- }
-
-} // ExternalEventImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ModeEventImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ModeEventImpl.java
deleted file mode 100644
index 8b325b5fedc..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/impl/ModeEventImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.eastadl.timing.events.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.papyrus.eastadl.behavior.Mode;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.events.ModeEvent;
-import org.eclipse.papyrus.eastadl.timing.impl.EventImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Mode Event</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.ModeEventImpl#getStart <em>Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.timing.events.impl.ModeEventImpl#getEnd <em>End</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ModeEventImpl extends EventImpl implements ModeEvent {
- /**
- * The cached value of the '{@link #getStart() <em>Start</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getStart()
- * @generated
- * @ordered
- */
- protected EList<Mode> start;
-
- /**
- * The cached value of the '{@link #getEnd() <em>End</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getEnd()
- * @generated
- * @ordered
- */
- protected EList<Mode> end;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ModeEventImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EventsPackage.Literals.MODE_EVENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<Mode> getStart() {
- if (start == null) {
- start = new EObjectResolvingEList<Mode>(Mode.class, this, EventsPackage.MODE_EVENT__START);
- }
- return start;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<Mode> getEnd() {
- if (end == null) {
- end = new EObjectResolvingEList<Mode>(Mode.class, this, EventsPackage.MODE_EVENT__END);
- }
- return end;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EventsPackage.MODE_EVENT__START:
- return getStart();
- case EventsPackage.MODE_EVENT__END:
- return getEnd();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EventsPackage.MODE_EVENT__START:
- getStart().clear();
- getStart().addAll((Collection<? extends Mode>) newValue);
- return;
- case EventsPackage.MODE_EVENT__END:
- getEnd().clear();
- getEnd().addAll((Collection<? extends Mode>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EventsPackage.MODE_EVENT__START:
- getStart().clear();
- return;
- case EventsPackage.MODE_EVENT__END:
- getEnd().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EventsPackage.MODE_EVENT__START:
- return start != null && !start.isEmpty();
- case EventsPackage.MODE_EVENT__END:
- return end != null && !end.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // ModeEventImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsAdapterFactory.java
deleted file mode 100644
index f9b3f5558eb..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsAdapterFactory.java
+++ /dev/null
@@ -1,393 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
-import org.eclipse.papyrus.eastadl.timing.Event;
-import org.eclipse.papyrus.eastadl.timing.TimingDescription;
-import org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent;
-import org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure;
-import org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunction;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.events.ExternalEvent;
-import org.eclipse.papyrus.eastadl.timing.events.ModeEvent;
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage
- * @generated
- */
-public class EventsAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static EventsPackage modelPackage;
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EventsSwitch<Adapter> modelSwitch =
- new EventsSwitch<Adapter>() {
- @Override
- public Adapter caseEventFunctionFlowPort(EventFunctionFlowPort object) {
- return createEventFunctionFlowPortAdapter();
- }
-
- @Override
- public Adapter caseEventFunctionClientServerPort(EventFunctionClientServerPort object) {
- return createEventFunctionClientServerPortAdapter();
- }
-
- @Override
- public Adapter caseEventFunction(EventFunction object) {
- return createEventFunctionAdapter();
- }
-
- @Override
- public Adapter caseAUTOSAREvent(AUTOSAREvent object) {
- return createAUTOSAREventAdapter();
- }
-
- @Override
- public Adapter caseEventFaultFailure(EventFaultFailure object) {
- return createEventFaultFailureAdapter();
- }
-
- @Override
- public Adapter caseEventFeatureFlaw(EventFeatureFlaw object) {
- return createEventFeatureFlawAdapter();
- }
-
- @Override
- public Adapter caseExternalEvent(ExternalEvent object) {
- return createExternalEventAdapter();
- }
-
- @Override
- public Adapter caseModeEvent(ModeEvent object) {
- return createModeEventAdapter();
- }
-
- @Override
- public Adapter caseEAElement(EAElement object) {
- return createEAElementAdapter();
- }
-
- @Override
- public Adapter caseTimingDescription(TimingDescription object) {
- return createTimingDescriptionAdapter();
- }
-
- @Override
- public Adapter caseEvent(Event object) {
- return createEventAdapter();
- }
-
- @Override
- public Adapter caseEAValue(EAValue object) {
- return createEAValueAdapter();
- }
-
- @Override
- public Adapter caseEAExpression(EAExpression object) {
- return createEAExpressionAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EventsAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = EventsPackage.eINSTANCE;
- }
- }
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject) target);
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.Event <em>Event</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.Event
- * @generated
- */
- public Adapter createEventAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue <em>EA Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAValue
- * @generated
- */
- public Adapter createEAValueAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression <em>EA Expression</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression
- * @generated
- */
- public Adapter createEAExpressionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunction <em>Event Function</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunction
- * @generated
- */
- public Adapter createEventFunctionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent <em>AUTOSAR Event</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent
- * @generated
- */
- public Adapter createAUTOSAREventAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure <em>Event Fault Failure</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure
- * @generated
- */
- public Adapter createEventFaultFailureAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw <em>Event Feature Flaw</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw
- * @generated
- */
- public Adapter createEventFeatureFlawAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.ExternalEvent <em>External Event</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.ExternalEvent
- * @generated
- */
- public Adapter createExternalEventAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.ModeEvent <em>Mode Event</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.ModeEvent
- * @generated
- */
- public Adapter createModeEventAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement <em>EA Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement
- * @generated
- */
- public Adapter createEAElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort <em>Event Function Client Server Port</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort
- * @generated
- */
- public Adapter createEventFunctionClientServerPortAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort <em>Event Function Flow Port</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort
- * @generated
- */
- public Adapter createEventFunctionFlowPortAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.timing.TimingDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.eastadl.timing.TimingDescription
- * @generated
- */
- public Adapter createTimingDescriptionAdapter() {
- return null;
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
-} // EventsAdapterFactory
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceFactoryImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceFactoryImpl.java
deleted file mode 100644
index eb64cb8191b..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceFactoryImpl.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.util.EventsResourceImpl
- * @generated
- */
-public class EventsResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EventsResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new EventsResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} // EventsResourceFactoryImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceImpl.java
deleted file mode 100644
index c7720ce31ce..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsResourceImpl.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.util.EventsResourceFactoryImpl
- * @generated
- */
-public class EventsResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
- * @generated
- */
- public EventsResourceImpl(URI uri) {
- super(uri);
- }
-
-} // EventsResourceImpl
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsSwitch.java
deleted file mode 100644
index 034d0e6c5a3..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsSwitch.java
+++ /dev/null
@@ -1,490 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression;
-import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue;
-import org.eclipse.papyrus.eastadl.timing.Event;
-import org.eclipse.papyrus.eastadl.timing.TimingDescription;
-import org.eclipse.papyrus.eastadl.timing.events.AUTOSAREvent;
-import org.eclipse.papyrus.eastadl.timing.events.EventFaultFailure;
-import org.eclipse.papyrus.eastadl.timing.events.EventFeatureFlaw;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunction;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionClientServerPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventFunctionFlowPort;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-import org.eclipse.papyrus.eastadl.timing.events.ExternalEvent;
-import org.eclipse.papyrus.eastadl.timing.events.ModeEvent;
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.eastadl.timing.events.EventsPackage
- * @generated
- */
-public class EventsSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static EventsPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EventsSwitch() {
- if (modelPackage == null) {
- modelPackage = EventsPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Event</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Event</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEvent(Event object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EA Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EA Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEAValue(EAValue object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EA Expression</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EA Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEAExpression(EAExpression object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Event Function</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Event Function</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEventFunction(EventFunction object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>AUTOSAR Event</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>AUTOSAR Event</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAUTOSAREvent(AUTOSAREvent object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Event Fault Failure</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Event Fault Failure</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEventFaultFailure(EventFaultFailure object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Event Feature Flaw</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Event Feature Flaw</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEventFeatureFlaw(EventFeatureFlaw object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>External Event</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>External Event</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseExternalEvent(ExternalEvent object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Mode Event</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Mode Event</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseModeEvent(ModeEvent object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EA Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEAElement(EAElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Event Function Client Server Port</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Event Function Client Server Port</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEventFunctionClientServerPort(EventFunctionClientServerPort object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Event Function Flow Port</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Event Function Flow Port</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEventFunctionFlowPort(EventFunctionFlowPort object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Description</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Description</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTimingDescription(TimingDescription object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case EventsPackage.EVENT_FUNCTION_FLOW_PORT: {
- EventFunctionFlowPort eventFunctionFlowPort = (EventFunctionFlowPort) theEObject;
- T result = caseEventFunctionFlowPort(eventFunctionFlowPort);
- if (result == null) {
- result = caseEvent(eventFunctionFlowPort);
- }
- if (result == null) {
- result = caseEAExpression(eventFunctionFlowPort);
- }
- if (result == null) {
- result = caseTimingDescription(eventFunctionFlowPort);
- }
- if (result == null) {
- result = caseEAValue(eventFunctionFlowPort);
- }
- if (result == null) {
- result = caseEAElement(eventFunctionFlowPort);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case EventsPackage.EVENT_FUNCTION_CLIENT_SERVER_PORT: {
- EventFunctionClientServerPort eventFunctionClientServerPort = (EventFunctionClientServerPort) theEObject;
- T result = caseEventFunctionClientServerPort(eventFunctionClientServerPort);
- if (result == null) {
- result = caseEvent(eventFunctionClientServerPort);
- }
- if (result == null) {
- result = caseEAExpression(eventFunctionClientServerPort);
- }
- if (result == null) {
- result = caseTimingDescription(eventFunctionClientServerPort);
- }
- if (result == null) {
- result = caseEAValue(eventFunctionClientServerPort);
- }
- if (result == null) {
- result = caseEAElement(eventFunctionClientServerPort);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case EventsPackage.EVENT_FUNCTION: {
- EventFunction eventFunction = (EventFunction) theEObject;
- T result = caseEventFunction(eventFunction);
- if (result == null) {
- result = caseEvent(eventFunction);
- }
- if (result == null) {
- result = caseTimingDescription(eventFunction);
- }
- if (result == null) {
- result = caseEAElement(eventFunction);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case EventsPackage.AUTOSAR_EVENT: {
- AUTOSAREvent autosarEvent = (AUTOSAREvent) theEObject;
- T result = caseAUTOSAREvent(autosarEvent);
- if (result == null) {
- result = caseEvent(autosarEvent);
- }
- if (result == null) {
- result = caseTimingDescription(autosarEvent);
- }
- if (result == null) {
- result = caseEAElement(autosarEvent);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case EventsPackage.EVENT_FAULT_FAILURE: {
- EventFaultFailure eventFaultFailure = (EventFaultFailure) theEObject;
- T result = caseEventFaultFailure(eventFaultFailure);
- if (result == null) {
- result = caseEvent(eventFaultFailure);
- }
- if (result == null) {
- result = caseTimingDescription(eventFaultFailure);
- }
- if (result == null) {
- result = caseEAElement(eventFaultFailure);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case EventsPackage.EVENT_FEATURE_FLAW: {
- EventFeatureFlaw eventFeatureFlaw = (EventFeatureFlaw) theEObject;
- T result = caseEventFeatureFlaw(eventFeatureFlaw);
- if (result == null) {
- result = caseEvent(eventFeatureFlaw);
- }
- if (result == null) {
- result = caseTimingDescription(eventFeatureFlaw);
- }
- if (result == null) {
- result = caseEAElement(eventFeatureFlaw);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case EventsPackage.EXTERNAL_EVENT: {
- ExternalEvent externalEvent = (ExternalEvent) theEObject;
- T result = caseExternalEvent(externalEvent);
- if (result == null) {
- result = caseEvent(externalEvent);
- }
- if (result == null) {
- result = caseTimingDescription(externalEvent);
- }
- if (result == null) {
- result = caseEAElement(externalEvent);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case EventsPackage.MODE_EVENT: {
- ModeEvent modeEvent = (ModeEvent) theEObject;
- T result = caseModeEvent(modeEvent);
- if (result == null) {
- result = caseEvent(modeEvent);
- }
- if (result == null) {
- result = caseTimingDescription(modeEvent);
- }
- if (result == null) {
- result = caseEAElement(modeEvent);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
-} // EventsSwitch
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsXMLProcessor.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsXMLProcessor.java
deleted file mode 100644
index 8d8c0abac0d..00000000000
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/events/util/EventsXMLProcessor.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.eastadl.timing.events.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-import org.eclipse.papyrus.eastadl.timing.events.EventsPackage;
-
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class EventsXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EventsXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- EventsPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the EventsResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new EventsResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new EventsResourceFactoryImpl());
- }
- return registrations;
- }
-
-} // EventsXMLProcessor

Back to the top