From 627db28682230cd2894ac4f9eb3746fda473e3bc Mon Sep 17 00:00:00 2001 From: ArenBabikian Date: Sun, 12 May 2019 22:27:13 -0400 Subject: Pre-realisticBranchCreation Commit --- .../fam/impl/FunctionalArchitectureModelImpl.java | 152 --------------------- 1 file changed, 152 deletions(-) delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/impl/FunctionalArchitectureModelImpl.java (limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/impl/FunctionalArchitectureModelImpl.java') diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/impl/FunctionalArchitectureModelImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/impl/FunctionalArchitectureModelImpl.java deleted file mode 100644 index 1b45df44..00000000 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/impl/FunctionalArchitectureModelImpl.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - */ -package ca.mcgill.ecse.dslreasoner.standalone.test.fam.impl; - -import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalArchitectureModel; -import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalElement; -import ca.mcgill.ecse.dslreasoner.standalone.test.fam.famPackage; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Functional Architecture Model'. - * - *

- * The following features are implemented: - *

- * - * - * @generated - */ -public class FunctionalArchitectureModelImpl extends MinimalEObjectImpl.Container implements FunctionalArchitectureModel { - /** - * The cached value of the '{@link #getRootElements() Root Elements}' containment reference list. - * - * - * @see #getRootElements() - * @generated - * @ordered - */ - protected EList rootElements; - - /** - * - * - * @generated - */ - protected FunctionalArchitectureModelImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return famPackage.Literals.FUNCTIONAL_ARCHITECTURE_MODEL; - } - - /** - * - * - * @generated - */ - public EList getRootElements() { - if (rootElements == null) { - rootElements = new EObjectContainmentEList(FunctionalElement.class, this, famPackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS); - } - return rootElements; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case famPackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - return ((InternalEList)getRootElements()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case famPackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - return getRootElements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case famPackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - getRootElements().clear(); - getRootElements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case famPackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - getRootElements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case famPackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - return rootElements != null && !rootElements.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //FunctionalArchitectureModelImpl -- cgit v1.2.3-54-g00ecf