From 972baab642bd889d2c3476c0c9e17a6929e0c318 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 1 Aug 2019 14:49:53 +0200 Subject: [Stochastic] Remove fault tree support for now --- .../cftLanguage/impl/ComponentInstanceImpl.java | 176 --------------------- 1 file changed, 176 deletions(-) delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java') diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java deleted file mode 100644 index d1c22199..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java +++ /dev/null @@ -1,176 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; - -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; - -/** - * - * An implementation of the model object 'Component Instance'. - * - *

- * The following features are implemented: - *

- * - * - * @generated - */ -public class ComponentInstanceImpl extends VariableImpl implements ComponentInstance -{ - /** - * The cached value of the '{@link #getComponentType() Component Type}' reference. - * - * - * @see #getComponentType() - * @generated - * @ordered - */ - protected ComponentDefinition componentType; - - /** - * - * - * @generated - */ - protected ComponentInstanceImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.COMPONENT_INSTANCE; - } - - /** - * - * - * @generated - */ - @Override - public ComponentDefinition getComponentType() - { - if (componentType != null && componentType.eIsProxy()) - { - InternalEObject oldComponentType = (InternalEObject)componentType; - componentType = (ComponentDefinition)eResolveProxy(oldComponentType); - if (componentType != oldComponentType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE, oldComponentType, componentType)); - } - } - return componentType; - } - - /** - * - * - * @generated - */ - public ComponentDefinition basicGetComponentType() - { - return componentType; - } - - /** - * - * - * @generated - */ - @Override - public void setComponentType(ComponentDefinition newComponentType) - { - ComponentDefinition oldComponentType = componentType; - componentType = newComponentType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE, oldComponentType, componentType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - if (resolve) return getComponentType(); - return basicGetComponentType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - setComponentType((ComponentDefinition)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - setComponentType((ComponentDefinition)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - return componentType != null; - } - return super.eIsSet(featureID); - } - -} //ComponentInstanceImpl -- cgit v1.2.3-70-g09d2