From 6f88c4bd4e91728cea62505e893b0ce300baf7fc Mon Sep 17 00:00:00 2001
From: Kristóf Marussy
Date: Thu, 7 Feb 2019 18:24:45 +0100
Subject: Ecore2Cft transformation
---
.../faulttree/model/cft/impl/InputImpl.java | 55 +++++++++++-----------
1 file changed, 27 insertions(+), 28 deletions(-)
(limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java')
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java
index eda5fea0..aa560064 100644
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java
+++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java
@@ -6,8 +6,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input;
-import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent;
-
+import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
@@ -33,7 +32,7 @@ import org.eclipse.emf.ecore.util.InternalEList;
* The following features are implemented:
*
*
- * - {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIntputEvent Intput Event}
+ * - {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getInputEvent Input Event}
* - {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getComponent Component}
* - {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIncomingConnections Incoming Connections}
*
@@ -42,14 +41,14 @@ import org.eclipse.emf.ecore.util.InternalEList;
*/
public class InputImpl extends MinimalEObjectImpl.Container implements Input {
/**
- * The cached value of the '{@link #getIntputEvent() Intput Event}' reference.
+ * The cached value of the '{@link #getInputEvent() Input Event}' reference.
*
*
- * @see #getIntputEvent()
+ * @see #getInputEvent()
* @generated
* @ordered
*/
- protected IntputEvent intputEvent;
+ protected InputEvent inputEvent;
/**
* The cached value of the '{@link #getIncomingConnections() Incoming Connections}' containment reference list.
@@ -86,16 +85,16 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input {
* @generated
*/
@Override
- public IntputEvent getIntputEvent() {
- if (intputEvent != null && intputEvent.eIsProxy()) {
- InternalEObject oldIntputEvent = (InternalEObject)intputEvent;
- intputEvent = (IntputEvent)eResolveProxy(oldIntputEvent);
- if (intputEvent != oldIntputEvent) {
+ public InputEvent getInputEvent() {
+ if (inputEvent != null && inputEvent.eIsProxy()) {
+ InternalEObject oldInputEvent = (InternalEObject)inputEvent;
+ inputEvent = (InputEvent)eResolveProxy(oldInputEvent);
+ if (inputEvent != oldInputEvent) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.INPUT__INTPUT_EVENT, oldIntputEvent, intputEvent));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent));
}
}
- return intputEvent;
+ return inputEvent;
}
/**
@@ -103,8 +102,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input {
*
* @generated
*/
- public IntputEvent basicGetIntputEvent() {
- return intputEvent;
+ public InputEvent basicGetInputEvent() {
+ return inputEvent;
}
/**
@@ -113,11 +112,11 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input {
* @generated
*/
@Override
- public void setIntputEvent(IntputEvent newIntputEvent) {
- IntputEvent oldIntputEvent = intputEvent;
- intputEvent = newIntputEvent;
+ public void setInputEvent(InputEvent newInputEvent) {
+ InputEvent oldInputEvent = inputEvent;
+ inputEvent = newInputEvent;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__INTPUT_EVENT, oldIntputEvent, intputEvent));
+ eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent));
}
/**
@@ -233,9 +232,9 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case CftPackage.INPUT__INTPUT_EVENT:
- if (resolve) return getIntputEvent();
- return basicGetIntputEvent();
+ case CftPackage.INPUT__INPUT_EVENT:
+ if (resolve) return getInputEvent();
+ return basicGetInputEvent();
case CftPackage.INPUT__COMPONENT:
return getComponent();
case CftPackage.INPUT__INCOMING_CONNECTIONS:
@@ -253,8 +252,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case CftPackage.INPUT__INTPUT_EVENT:
- setIntputEvent((IntputEvent)newValue);
+ case CftPackage.INPUT__INPUT_EVENT:
+ setInputEvent((InputEvent)newValue);
return;
case CftPackage.INPUT__COMPONENT:
setComponent((Component)newValue);
@@ -275,8 +274,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input {
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case CftPackage.INPUT__INTPUT_EVENT:
- setIntputEvent((IntputEvent)null);
+ case CftPackage.INPUT__INPUT_EVENT:
+ setInputEvent((InputEvent)null);
return;
case CftPackage.INPUT__COMPONENT:
setComponent((Component)null);
@@ -296,8 +295,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case CftPackage.INPUT__INTPUT_EVENT:
- return intputEvent != null;
+ case CftPackage.INPUT__INPUT_EVENT:
+ return inputEvent != null;
case CftPackage.INPUT__COMPONENT:
return getComponent() != null;
case CftPackage.INPUT__INCOMING_CONNECTIONS:
--
cgit v1.2.3-70-g09d2