From f1d9a50a3be2bfabc6091d51e120ca63ac1ab2d4 Mon Sep 17 00:00:00 2001
From: ArenBabikian
Date: Fri, 15 Feb 2019 12:42:15 -0500
Subject: Set up #19
---
.../test/yakindu/impl/CompositeElementImpl.java | 152 +++++++++++++++++++++
1 file changed, 152 insertions(+)
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java
(limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java')
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java
new file mode 100644
index 00000000..0218f9c7
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java
@@ -0,0 +1,152 @@
+/**
+ */
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
+
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+
+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 'Composite Element'.
+ *
+ *
+ * The following features are implemented:
+ *
+ *
+ * - {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl#getRegions Regions}
+ *
+ *
+ * @generated
+ */
+public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container implements CompositeElement {
+ /**
+ * The cached value of the '{@link #getRegions() Regions}' containment reference list.
+ *
+ *
+ * @see #getRegions()
+ * @generated
+ * @ordered
+ */
+ protected EList regions;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected CompositeElementImpl() {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return yakinduPackage.Literals.COMPOSITE_ELEMENT;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EList getRegions() {
+ if (regions == null) {
+ regions = new EObjectContainmentEList(Region.class, this, yakinduPackage.COMPOSITE_ELEMENT__REGIONS);
+ }
+ return regions;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ return ((InternalEList>)getRegions()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ return getRegions();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ getRegions().clear();
+ getRegions().addAll((Collection extends Region>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ getRegions().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ return regions != null && !regions.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CompositeElementImpl
--
cgit v1.2.3-70-g09d2
From f1f2a1fac60aa00aa21cf9165e34666c108e8e4b Mon Sep 17 00:00:00 2001
From: ArenBabikian
Date: Sun, 12 May 2019 22:27:13 -0400
Subject: Pre-realisticBranchCreation Commit
---
.../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes
.../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes
.../ide/.VampireLanguageIdeModule.xtendbin | Bin 1685 -> 1685 bytes
.../ide/.VampireLanguageIdeSetup.xtendbin | Bin 2500 -> 2500 bytes
.../ui/.VampireLanguageUiModule.xtendbin | Bin 2342 -> 2342 bytes
.../.VampireLanguageProposalProvider.xtendbin | Bin 1792 -> 1792 bytes
...ampireLanguageDescriptionLabelProvider.xtendbin | Bin 1965 -> 1965 bytes
.../.VampireLanguageLabelProvider.xtendbin | Bin 2405 -> 2405 bytes
.../.VampireLanguageOutlineTreeProvider.xtendbin | Bin 1819 -> 1819 bytes
.../.VampireLanguageQuickfixProvider.xtendbin | Bin 1786 -> 1786 bytes
.../.VampireLanguageRuntimeModule.xtendbin | Bin 1706 -> 1706 bytes
.../.VampireLanguageStandaloneSetup.xtendbin | Bin 1980 -> 1980 bytes
.../formatting2/.VampireLanguageFormatter.xtendbin | Bin 4130 -> 4130 bytes
.../generator/.VampireLanguageGenerator.xtendbin | Bin 2338 -> 2338 bytes
.../scoping/.VampireLanguageScopeProvider.xtendbin | Bin 1751 -> 1751 bytes
.../validation/.VampireLanguageValidator.xtendbin | Bin 1736 -> 1736 bytes
.../.VampireAnalyzerConfiguration.xtendbin | Bin 2691 -> 2691 bytes
.../vampire/reasoner/.VampireSolver.xtendbin | Bin 5892 -> 5892 bytes
.../builder/.Logic2VampireLanguageMapper.xtendbin | Bin 18150 -> 18149 bytes
.../.Logic2VampireLanguageMapperTrace.xtendbin | Bin 4656 -> 4656 bytes
...c2VampireLanguageMapper_ConstantMapper.xtendbin | Bin 3164 -> 3164 bytes
...ampireLanguageMapper_ContainmentMapper.xtendbin | Bin 11904 -> 11904 bytes
...c2VampireLanguageMapper_RelationMapper.xtendbin | Bin 6454 -> 6454 bytes
...ogic2VampireLanguageMapper_ScopeMapper.xtendbin | Bin 10667 -> 10667 bytes
.../.Logic2VampireLanguageMapper_Support.xtendbin | Bin 13046 -> 13046 bytes
...Logic2VampireLanguageMapper_TypeMapper.xtendbin | Bin 11136 -> 11136 bytes
.../reasoner/builder/.Vampire2LogicMapper.xtendbin | Bin 1720 -> 1720 bytes
.../reasoner/builder/.VampireHandler.xtendbin | Bin 4908 -> 4908 bytes
...ModelInterpretation_TypeInterpretation.xtendbin | Bin 1491 -> 1491 bytes
...ation_TypeInterpretation_FilteredTypes.xtendbin | Bin 1688 -> 1688 bytes
.../metamodels/yakindu.aird | 1 -
.../metamodels/yakindu.ecore | 39 +-
.../metamodels/yakindu.genmodel | 2 +-
.../metamodels/yakindu.genmodel_ | 34 +
.../plugin.xml | 78 +-
.../yakindu/queries/yakinduMutatedPatterns.vql | 270 -----
.../yakindu/queries/yakinduMutatedPatterns.vql_ | 270 +++++
.../test/yakindu/queries/yakinduPatterns.vql | 16 +-
.../standalone/test/ecore/queries/.gitignore | 13 -
.../standalone/test/fam/queries/.gitignore | 10 -
.../standalone/test/fam/queries/Type.java | 770 ---------------
.../standalone/test/yakindu/Choice.java | 2 +-
.../standalone/test/yakindu/CompositeElement.java | 4 +-
.../dslreasoner/standalone/test/yakindu/Entry.java | 2 +-
.../dslreasoner/standalone/test/yakindu/Exit.java | 2 +-
.../standalone/test/yakindu/FinalState.java | 2 +-
.../standalone/test/yakindu/Pseudostate.java | 2 +-
.../standalone/test/yakindu/Region.java | 4 +-
.../standalone/test/yakindu/RegularState.java | 2 +-
.../dslreasoner/standalone/test/yakindu/State.java | 2 +-
.../standalone/test/yakindu/Statechart.java | 2 +-
.../standalone/test/yakindu/Synchronization.java | 2 +-
.../standalone/test/yakindu/Transition.java | 6 +-
.../standalone/test/yakindu/Vertex.java | 6 +-
.../standalone/test/yakindu/YakinduFactory.java | 114 +++
.../standalone/test/yakindu/YakinduPackage.java | 1038 ++++++++++++++++++++
.../standalone/test/yakindu/impl/ChoiceImpl.java | 4 +-
.../test/yakindu/impl/CompositeElementImpl.java | 16 +-
.../standalone/test/yakindu/impl/EntryImpl.java | 4 +-
.../standalone/test/yakindu/impl/ExitImpl.java | 4 +-
.../test/yakindu/impl/FinalStateImpl.java | 4 +-
.../test/yakindu/impl/PseudostateImpl.java | 4 +-
.../standalone/test/yakindu/impl/RegionImpl.java | 16 +-
.../test/yakindu/impl/RegularStateImpl.java | 4 +-
.../standalone/test/yakindu/impl/StateImpl.java | 20 +-
.../test/yakindu/impl/StatechartImpl.java | 4 +-
.../test/yakindu/impl/SynchronizationImpl.java | 4 +-
.../test/yakindu/impl/TransitionImpl.java | 54 +-
.../standalone/test/yakindu/impl/VertexImpl.java | 32 +-
.../test/yakindu/impl/YakinduFactoryImpl.java | 183 ++++
.../test/yakindu/impl/YakinduPackageImpl.java | 494 ++++++++++
.../test/yakindu/impl/yakinduFactoryImpl.java | 183 ----
.../test/yakindu/impl/yakinduPackageImpl.java | 494 ----------
.../test/yakindu/util/YakinduAdapterFactory.java | 336 +++++++
.../test/yakindu/util/YakinduSwitch.java | 378 +++++++
.../test/yakindu/util/yakinduAdapterFactory.java | 336 -------
.../test/yakindu/util/yakinduSwitch.java | 378 -------
.../standalone/test/yakindu/yakinduFactory.java | 114 ---
.../standalone/test/yakindu/yakinduPackage.java | 1038 --------------------
.../plugin.xml | 3 -
.../dslreasoner/vampire/icse/.EcoreTest.xtendbin | Bin 4545 -> 4545 bytes
.../dslreasoner/vampire/icse/.FAMTest.xtendbin | Bin 6314 -> 6314 bytes
.../vampire/icse/.FileSystemTest.xtendbin | Bin 7116 -> 7116 bytes
.../dslreasoner/vampire/icse/.GeneralTest.xtendbin | Bin 6456 -> 6456 bytes
.../dslreasoner/vampire/icse/.YakinduTest.xtendbin | Bin 6678 -> 7025 bytes
.../ecse/dslreasoner/vampire/icse/YakinduTest.java | 108 +-
.../vampire/test/.MedicalSystem.xtendbin | Bin 4997 -> 4997 bytes
.../dslreasoner/vampire/test/.SimpleRun.xtendbin | Bin 687 -> 687 bytes
.../dslreasoner/vampire/test/.VampireTest.xtendbin | Bin 6500 -> 6500 bytes
89 files changed, 2992 insertions(+), 3916 deletions(-)
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel_
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql_
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/ecore/queries/.gitignore
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/.gitignore
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/Type.java
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduFactory.java
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduPackage.java
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduFactoryImpl.java
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduPackageImpl.java
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduFactoryImpl.java
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduPackageImpl.java
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduAdapterFactory.java
create mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduSwitch.java
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduAdapterFactory.java
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduSwitch.java
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduFactory.java
delete mode 100644 Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduPackage.java
(limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java')
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin
index 3ab0ceba..3f997d1e 100644
Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin
index 3d2fc82c..fd411426 100644
Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeModule.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeModule.xtendbin
index 599f4b11..ec6f2b5e 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeModule.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeModule.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeSetup.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeSetup.xtendbin
index 39db4d8f..142268cc 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeSetup.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/xtend-gen/ca/mcgill/ecse/dslreasoner/ide/.VampireLanguageIdeSetup.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/.VampireLanguageUiModule.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/.VampireLanguageUiModule.xtendbin
index 261f76db..83816584 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/.VampireLanguageUiModule.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/.VampireLanguageUiModule.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin
index 23282723..ef0e981f 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageDescriptionLabelProvider.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageDescriptionLabelProvider.xtendbin
index df1b5191..7ec5c9c6 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageDescriptionLabelProvider.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageDescriptionLabelProvider.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageLabelProvider.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageLabelProvider.xtendbin
index 712d5877..0efc1f64 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageLabelProvider.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/labeling/.VampireLanguageLabelProvider.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/outline/.VampireLanguageOutlineTreeProvider.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/outline/.VampireLanguageOutlineTreeProvider.xtendbin
index 52de9434..35e9ce12 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/outline/.VampireLanguageOutlineTreeProvider.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/outline/.VampireLanguageOutlineTreeProvider.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/quickfix/.VampireLanguageQuickfixProvider.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/quickfix/.VampireLanguageQuickfixProvider.xtendbin
index 5074417c..90005e11 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/quickfix/.VampireLanguageQuickfixProvider.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/quickfix/.VampireLanguageQuickfixProvider.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageRuntimeModule.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageRuntimeModule.xtendbin
index 9411e824..8e4e1612 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageRuntimeModule.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageRuntimeModule.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageStandaloneSetup.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageStandaloneSetup.xtendbin
index bc079ba9..cc1180a8 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageStandaloneSetup.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/.VampireLanguageStandaloneSetup.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/formatting2/.VampireLanguageFormatter.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/formatting2/.VampireLanguageFormatter.xtendbin
index 2f3d05aa..8a562c45 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/formatting2/.VampireLanguageFormatter.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/formatting2/.VampireLanguageFormatter.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/generator/.VampireLanguageGenerator.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/generator/.VampireLanguageGenerator.xtendbin
index 62275f93..fb30c8b3 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/generator/.VampireLanguageGenerator.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/generator/.VampireLanguageGenerator.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/scoping/.VampireLanguageScopeProvider.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/scoping/.VampireLanguageScopeProvider.xtendbin
index c5c4ea67..bc26963e 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/scoping/.VampireLanguageScopeProvider.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/scoping/.VampireLanguageScopeProvider.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/validation/.VampireLanguageValidator.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/validation/.VampireLanguageValidator.xtendbin
index 45665484..d83995ca 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/validation/.VampireLanguageValidator.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/xtend-gen/ca/mcgill/ecse/dslreasoner/validation/.VampireLanguageValidator.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireAnalyzerConfiguration.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireAnalyzerConfiguration.xtendbin
index cab2b7ec..43712734 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireAnalyzerConfiguration.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireAnalyzerConfiguration.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin
index 677cb718..b395b0c5 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin
index d071aa8a..3e571f5b 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin
index 48090814..6c116851 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin
index 154e42a2..7ba8f303 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin
index 61774e26..ad62b1f9 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin
index 2798d324..150ac835 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin
index 5f3f349b..c181e53c 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin
index 787c44a2..68d8cfb3 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin
index b6e94088..1bef8bd1 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin
index cd1b994d..9c4555e0 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireHandler.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireHandler.xtendbin
index 2cc7c421..7bd6797c 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireHandler.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireHandler.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation.xtendbin
index 25a165b1..6a10d85a 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation.xtendbin differ
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation_FilteredTypes.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation_FilteredTypes.xtendbin
index 8697d473..26460f68 100644
Binary files a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation_FilteredTypes.xtendbin and b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.VampireModelInterpretation_TypeInterpretation_FilteredTypes.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.aird b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.aird
index be45a301..518acc99 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.aird
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.aird
@@ -2,7 +2,6 @@
yakindu.ecore
- yakindu.genmodel
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.ecore b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.ecore
index 0c944db8..0e800e4a 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.ecore
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.ecore
@@ -1,26 +1,33 @@
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
+
+
+
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel
index b1f75d76..46801b3e 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel
@@ -5,7 +5,7 @@
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" importerID="org.eclipse.emf.importer.ecore"
complianceLevel="8.0" copyrightFields="false" operationReflection="true" importOrganizing="true">
yakindu.ecore
-
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel_ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel_
new file mode 100644
index 00000000..b1f75d76
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/metamodels/yakindu.genmodel_
@@ -0,0 +1,34 @@
+
+
+ yakindu.ecore
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/plugin.xml b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/plugin.xml
index a2a573fc..0335dc9f 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/plugin.xml
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/plugin.xml
@@ -4,10 +4,6 @@
-
-
-
-
@@ -34,74 +30,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -129,6 +57,8 @@
+
+
@@ -140,4 +70,8 @@
+
+
+
+
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql
deleted file mode 100644
index 2e498670..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql
+++ /dev/null
@@ -1,270 +0,0 @@
-package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.queries
-
-import epackage "YakinduMetamodel"
-
-/////////
-// Entry
-/////////
-
-pattern entryInRegion_M0(r1 : Region, e1 : Entry) {
- Region.vertices(r1, e1);
-}
-pattern entryInRegion_M1(r1 : Region, e1) {
- Region.vertices(r1, e1);
-}
-pattern entryInRegion_M2(r1 : Region, e1: Entry) {
- // For positive constraint
- Region(r1);Entry(e1);
-}
-
-
-//@Constraint(severity="error", message="error", key = {r1})
-pattern noEntryInRegion_M0(r1 : Region) {
- neg find entryInRegion_M0(r1, _);
-}
-pattern noEntryInRegion_M1(r1 : Region) {
- neg find entryInRegion_M1(r1, _);
-}
-pattern noEntryInRegion_M2(r1 : Region) {
- neg find entryInRegion_M2(r1, _);
-}
-pattern noEntryInRegion_M3(r1 : Region) {
- find entryInRegion_M0(r1, _);
-}
-pattern noEntryInRegion_M4(r1 : Region) {
- find entryInRegion_M1(r1, _);
-}
-pattern noEntryInRegion_M5(r1 : Region) {
- find entryInRegion_M2(r1, _);
-}
-
-//@Constraint(severity="error", message="error", key = {r})
-pattern multipleEntryInRegion_M0(r : Region) {
- find entryInRegion_M0(r, e1);
- find entryInRegion_M0(r, e2);
- e1 != e2;
-}
-pattern multipleEntryInRegion_M1(r : Region) {
- find entryInRegion_M1(r, e1);
- find entryInRegion_M0(r, e2);
- e1 != e2;
-}
-pattern multipleEntryInRegion_M2(r : Region) {
- find entryInRegion_M2(r, e1);
- find entryInRegion_M0(r, e2);
- e1 != e2;
-}
-pattern multipleEntryInRegion_M3(r : Region) {
- find entryInRegion_M0(r, e1);
- find entryInRegion_M1(r, e2);
- e1 != e2;
-}
-pattern multipleEntryInRegion_M4(r : Region) {
- find entryInRegion_M2(r, e1);
- find entryInRegion_M2(r, e2);
- e1 != e2;
-}
-pattern multipleEntryInRegion_M5(r : Region) {
- find entryInRegion_M0(r, e1);
- find entryInRegion_M0(r, e2);
-}
-
-
-pattern transition_M0(t : Transition, src : Vertex, trg : Vertex) {
- Transition.source(t, src);
- Transition.target(t, trg);
-}
-pattern transition_M1(t : Transition, src : Vertex, trg : Vertex) {
- Transition.source(t, src);
- Vertex(trg);
-}
-pattern transition_M2(t : Transition, src : Vertex, trg : Vertex) {
- Vertex(src);
- Transition.target(t, trg);
-}
-pattern transition_M3(t : Transition, src : Vertex, trg : Vertex) {
- Transition.source(t_x, src);
- Transition.target(t, trg);
-}
-pattern transition_M4(t : Transition, src : Vertex, trg : Vertex) {
- Transition.source(t, src);
- Transition.target(t_x, trg);
-}
-
-//@Constraint(severity="error", message="error", key = {e})
-pattern incomingToEntry_M0(t : Transition, e : Entry) {
- find transition_M0(t, _, e);
-}
-pattern incomingToEntry_1(t : Transition, e) {
- find transition_M0(t, _, e);
-}
-pattern incomingToEntry_2(t : Transition, e : Entry) {
- find transition_M1(t, _, e);
-}
-pattern incomingToEntry_3(t : Transition, e : Entry) {
- find transition_M2(t, _, e);
-}
-pattern incomingToEntry_4(t : Transition, e : Entry) {
- find transition_M3(t, _, e);
-}
-pattern incomingToEntry_5(t : Transition, e : Entry) {
- find transition_M4(t, _, e);
-}
-
-pattern noOutgoingTransitionFromEntry_M0(e : Entry) {
- neg find transition_M0(_, e, _);
-}
-
-pattern noOutgoingTransitionFromEntry_M1(e) {
- Vertex(e);
- neg find transition_M0(_, e, _);
-}
-pattern noOutgoingTransitionFromEntry_M2(e : Entry) {
- neg find transition_M1(_, e, _);
-}
-pattern noOutgoingTransitionFromEntry_M3(e : Entry) {
- neg find transition_M2(_, e, _);
-}
-pattern noOutgoingTransitionFromEntry_M4(e : Entry) {
- neg find transition_M3(_, e, _);
-}
-pattern noOutgoingTransitionFromEntry_M5(e : Entry) {
- neg find transition_M4(_, e, _);
-}
-
-
-//@Constraint(severity="error", message="error", key = {e})
-pattern multipleTransitionFromEntry_M0(e : Entry, t1 : Transition, t2: Transition) {
- Entry.outgoingTransitions(e,t1);
- Entry.outgoingTransitions(e,t2);
- t1!=t2;
-}
-pattern multipleTransitionFromEntry_M1(e, t1 : Transition, t2: Transition) {
- Entry.outgoingTransitions(e,t1);
- Entry.outgoingTransitions(e,t2);
- t1!=t2;
-}
-pattern multipleTransitionFromEntry_M2(e : Entry, t1 : Transition, t2: Transition) {
- Transition(t1);
- Entry.outgoingTransitions(e,t2);
- t1!=t2;
-}
-pattern multipleTransitionFromEntry_M3(e : Entry, t1 : Transition, t2: Transition) {
- Entry.outgoingTransitions(e,t1);
- Transition(t2);
- t1!=t2;
-}
-pattern multipleTransitionFromEntry_M4(e : Entry, t1 : Transition, t2: Transition) {
- Entry.outgoingTransitions(e,t1);
- Entry.outgoingTransitions(e,t2);
-}
-
-/////////
-// Exit
-/////////
-
-//@Constraint(severity="error", message="error", key = {e})
-pattern outgoingFromExit_M0(t : Transition, e : Exit) {
- Exit.outgoingTransitions(e,t);
-}
-pattern outgoingFromExit_M1(t : Transition, e) {
- Vertex.outgoingTransitions(e,t);
-}
-pattern outgoingFromExit_M2(t : Transition, e : Exit) {
- Transition(t);
- Exit(e);
-}
-
-/////////
-// Final
-/////////
-
-//@Constraint(severity="error", message="error", key = {f})
-pattern outgoingFromFinal_M0(t : Transition, f : FinalState) {
- FinalState.outgoingTransitions(f,t);
-}
-pattern outgoingFromFinal_M1(t : Transition, f) {
- Vertex.outgoingTransitions(f,t);
-}
-pattern outgoingFromFinal_M2(t : Transition, f : FinalState) {
- Transition(t);
- FinalState(f);
-}
-
-/////////
-// State vs Region
-/////////
-
-//@Constraint(severity="error", message="error", key = {region})
-pattern noStateInRegion_M0(region: Region) {
- neg find StateInRegion_M0(region,_);
-}
-pattern noStateInRegion_M1(region: Region) {
- neg find StateInRegion_M1(region,_);
-}
-pattern noStateInRegion_M2(region: Region) {
- neg find StateInRegion_M2(region,_);
-}
-pattern noStateInRegion_M3(region: Region) {
- find StateInRegion_M0(region,_);
-}
-
-pattern StateInRegion_M0(region: Region, state: State) {
- Region.vertices(region,state);
-}
-pattern StateInRegion_M1(region: Region, state) {
- Region.vertices(region,state);
-}
-pattern StateInRegion_M2(region: Region, state:State) {
- Region(region);State(state);
-}
-
-/////////
-// Choice
-/////////
-
-@Constraint(severity="error", message="error", key = {c})
-pattern choiceHasNoOutgoing_M0(c : Choice) {
- neg find transition_M0(_, c, _);
-}
-pattern choiceHasNoOutgoing_M1(c:Vertex) {
- neg find transition_M0(_, c, _);
-}
-pattern choiceHasNoOutgoing_M2(c : Choice) {
- neg find transition_M1(_, c, _);
-}
-pattern choiceHasNoOutgoing_M3(c : Choice) {
- neg find transition_M2(_, c, _);
-}
-pattern choiceHasNoOutgoing_M4(c : Choice) {
- neg find transition_M3(_, c, _);
-}
-pattern choiceHasNoOutgoing_M5(c : Choice) {
- neg find transition_M4(_, c, _);
-}
-pattern choiceHasNoOutgoing_M6(c : Choice) {
- find transition_M0(_, c, _);
-}
-
-@Constraint(severity="error", message="error", key = {c})
-pattern choiceHasNoIncoming_M0(c: Choice) {
- neg find transition_M0(_, _, c);
-}
-pattern choiceHasNoIncoming_M1(c:Vertex) {
- neg find transition_M0(_, _, c);
-}
-pattern choiceHasNoIncoming_M2(c: Choice) {
- neg find transition_M1(_, _, c);
-}
-pattern choiceHasNoIncoming_M3(c: Choice) {
- neg find transition_M2(_, _, c);
-}
-pattern choiceHasNoIncoming_M4(c: Choice) {
- neg find transition_M3(_, _, c);
-}
-pattern choiceHasNoIncoming_M5(c: Choice) {
- neg find transition_M4(_, _, c);
-}
-pattern choiceHasNoIncoming_M6(c: Choice) {
- find transition_M0(_, _, c);
-}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql_ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql_
new file mode 100644
index 00000000..2e498670
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduMutatedPatterns.vql_
@@ -0,0 +1,270 @@
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.queries
+
+import epackage "YakinduMetamodel"
+
+/////////
+// Entry
+/////////
+
+pattern entryInRegion_M0(r1 : Region, e1 : Entry) {
+ Region.vertices(r1, e1);
+}
+pattern entryInRegion_M1(r1 : Region, e1) {
+ Region.vertices(r1, e1);
+}
+pattern entryInRegion_M2(r1 : Region, e1: Entry) {
+ // For positive constraint
+ Region(r1);Entry(e1);
+}
+
+
+//@Constraint(severity="error", message="error", key = {r1})
+pattern noEntryInRegion_M0(r1 : Region) {
+ neg find entryInRegion_M0(r1, _);
+}
+pattern noEntryInRegion_M1(r1 : Region) {
+ neg find entryInRegion_M1(r1, _);
+}
+pattern noEntryInRegion_M2(r1 : Region) {
+ neg find entryInRegion_M2(r1, _);
+}
+pattern noEntryInRegion_M3(r1 : Region) {
+ find entryInRegion_M0(r1, _);
+}
+pattern noEntryInRegion_M4(r1 : Region) {
+ find entryInRegion_M1(r1, _);
+}
+pattern noEntryInRegion_M5(r1 : Region) {
+ find entryInRegion_M2(r1, _);
+}
+
+//@Constraint(severity="error", message="error", key = {r})
+pattern multipleEntryInRegion_M0(r : Region) {
+ find entryInRegion_M0(r, e1);
+ find entryInRegion_M0(r, e2);
+ e1 != e2;
+}
+pattern multipleEntryInRegion_M1(r : Region) {
+ find entryInRegion_M1(r, e1);
+ find entryInRegion_M0(r, e2);
+ e1 != e2;
+}
+pattern multipleEntryInRegion_M2(r : Region) {
+ find entryInRegion_M2(r, e1);
+ find entryInRegion_M0(r, e2);
+ e1 != e2;
+}
+pattern multipleEntryInRegion_M3(r : Region) {
+ find entryInRegion_M0(r, e1);
+ find entryInRegion_M1(r, e2);
+ e1 != e2;
+}
+pattern multipleEntryInRegion_M4(r : Region) {
+ find entryInRegion_M2(r, e1);
+ find entryInRegion_M2(r, e2);
+ e1 != e2;
+}
+pattern multipleEntryInRegion_M5(r : Region) {
+ find entryInRegion_M0(r, e1);
+ find entryInRegion_M0(r, e2);
+}
+
+
+pattern transition_M0(t : Transition, src : Vertex, trg : Vertex) {
+ Transition.source(t, src);
+ Transition.target(t, trg);
+}
+pattern transition_M1(t : Transition, src : Vertex, trg : Vertex) {
+ Transition.source(t, src);
+ Vertex(trg);
+}
+pattern transition_M2(t : Transition, src : Vertex, trg : Vertex) {
+ Vertex(src);
+ Transition.target(t, trg);
+}
+pattern transition_M3(t : Transition, src : Vertex, trg : Vertex) {
+ Transition.source(t_x, src);
+ Transition.target(t, trg);
+}
+pattern transition_M4(t : Transition, src : Vertex, trg : Vertex) {
+ Transition.source(t, src);
+ Transition.target(t_x, trg);
+}
+
+//@Constraint(severity="error", message="error", key = {e})
+pattern incomingToEntry_M0(t : Transition, e : Entry) {
+ find transition_M0(t, _, e);
+}
+pattern incomingToEntry_1(t : Transition, e) {
+ find transition_M0(t, _, e);
+}
+pattern incomingToEntry_2(t : Transition, e : Entry) {
+ find transition_M1(t, _, e);
+}
+pattern incomingToEntry_3(t : Transition, e : Entry) {
+ find transition_M2(t, _, e);
+}
+pattern incomingToEntry_4(t : Transition, e : Entry) {
+ find transition_M3(t, _, e);
+}
+pattern incomingToEntry_5(t : Transition, e : Entry) {
+ find transition_M4(t, _, e);
+}
+
+pattern noOutgoingTransitionFromEntry_M0(e : Entry) {
+ neg find transition_M0(_, e, _);
+}
+
+pattern noOutgoingTransitionFromEntry_M1(e) {
+ Vertex(e);
+ neg find transition_M0(_, e, _);
+}
+pattern noOutgoingTransitionFromEntry_M2(e : Entry) {
+ neg find transition_M1(_, e, _);
+}
+pattern noOutgoingTransitionFromEntry_M3(e : Entry) {
+ neg find transition_M2(_, e, _);
+}
+pattern noOutgoingTransitionFromEntry_M4(e : Entry) {
+ neg find transition_M3(_, e, _);
+}
+pattern noOutgoingTransitionFromEntry_M5(e : Entry) {
+ neg find transition_M4(_, e, _);
+}
+
+
+//@Constraint(severity="error", message="error", key = {e})
+pattern multipleTransitionFromEntry_M0(e : Entry, t1 : Transition, t2: Transition) {
+ Entry.outgoingTransitions(e,t1);
+ Entry.outgoingTransitions(e,t2);
+ t1!=t2;
+}
+pattern multipleTransitionFromEntry_M1(e, t1 : Transition, t2: Transition) {
+ Entry.outgoingTransitions(e,t1);
+ Entry.outgoingTransitions(e,t2);
+ t1!=t2;
+}
+pattern multipleTransitionFromEntry_M2(e : Entry, t1 : Transition, t2: Transition) {
+ Transition(t1);
+ Entry.outgoingTransitions(e,t2);
+ t1!=t2;
+}
+pattern multipleTransitionFromEntry_M3(e : Entry, t1 : Transition, t2: Transition) {
+ Entry.outgoingTransitions(e,t1);
+ Transition(t2);
+ t1!=t2;
+}
+pattern multipleTransitionFromEntry_M4(e : Entry, t1 : Transition, t2: Transition) {
+ Entry.outgoingTransitions(e,t1);
+ Entry.outgoingTransitions(e,t2);
+}
+
+/////////
+// Exit
+/////////
+
+//@Constraint(severity="error", message="error", key = {e})
+pattern outgoingFromExit_M0(t : Transition, e : Exit) {
+ Exit.outgoingTransitions(e,t);
+}
+pattern outgoingFromExit_M1(t : Transition, e) {
+ Vertex.outgoingTransitions(e,t);
+}
+pattern outgoingFromExit_M2(t : Transition, e : Exit) {
+ Transition(t);
+ Exit(e);
+}
+
+/////////
+// Final
+/////////
+
+//@Constraint(severity="error", message="error", key = {f})
+pattern outgoingFromFinal_M0(t : Transition, f : FinalState) {
+ FinalState.outgoingTransitions(f,t);
+}
+pattern outgoingFromFinal_M1(t : Transition, f) {
+ Vertex.outgoingTransitions(f,t);
+}
+pattern outgoingFromFinal_M2(t : Transition, f : FinalState) {
+ Transition(t);
+ FinalState(f);
+}
+
+/////////
+// State vs Region
+/////////
+
+//@Constraint(severity="error", message="error", key = {region})
+pattern noStateInRegion_M0(region: Region) {
+ neg find StateInRegion_M0(region,_);
+}
+pattern noStateInRegion_M1(region: Region) {
+ neg find StateInRegion_M1(region,_);
+}
+pattern noStateInRegion_M2(region: Region) {
+ neg find StateInRegion_M2(region,_);
+}
+pattern noStateInRegion_M3(region: Region) {
+ find StateInRegion_M0(region,_);
+}
+
+pattern StateInRegion_M0(region: Region, state: State) {
+ Region.vertices(region,state);
+}
+pattern StateInRegion_M1(region: Region, state) {
+ Region.vertices(region,state);
+}
+pattern StateInRegion_M2(region: Region, state:State) {
+ Region(region);State(state);
+}
+
+/////////
+// Choice
+/////////
+
+@Constraint(severity="error", message="error", key = {c})
+pattern choiceHasNoOutgoing_M0(c : Choice) {
+ neg find transition_M0(_, c, _);
+}
+pattern choiceHasNoOutgoing_M1(c:Vertex) {
+ neg find transition_M0(_, c, _);
+}
+pattern choiceHasNoOutgoing_M2(c : Choice) {
+ neg find transition_M1(_, c, _);
+}
+pattern choiceHasNoOutgoing_M3(c : Choice) {
+ neg find transition_M2(_, c, _);
+}
+pattern choiceHasNoOutgoing_M4(c : Choice) {
+ neg find transition_M3(_, c, _);
+}
+pattern choiceHasNoOutgoing_M5(c : Choice) {
+ neg find transition_M4(_, c, _);
+}
+pattern choiceHasNoOutgoing_M6(c : Choice) {
+ find transition_M0(_, c, _);
+}
+
+@Constraint(severity="error", message="error", key = {c})
+pattern choiceHasNoIncoming_M0(c: Choice) {
+ neg find transition_M0(_, _, c);
+}
+pattern choiceHasNoIncoming_M1(c:Vertex) {
+ neg find transition_M0(_, _, c);
+}
+pattern choiceHasNoIncoming_M2(c: Choice) {
+ neg find transition_M1(_, _, c);
+}
+pattern choiceHasNoIncoming_M3(c: Choice) {
+ neg find transition_M2(_, _, c);
+}
+pattern choiceHasNoIncoming_M4(c: Choice) {
+ neg find transition_M3(_, _, c);
+}
+pattern choiceHasNoIncoming_M5(c: Choice) {
+ neg find transition_M4(_, _, c);
+}
+pattern choiceHasNoIncoming_M6(c: Choice) {
+ find transition_M0(_, _, c);
+}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduPatterns.vql b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduPatterns.vql
index 597b1691..ea8184de 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduPatterns.vql
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/queries/yakinduPatterns.vql
@@ -217,11 +217,11 @@ pattern twoSynch(s1 : Synchronization, s2 : Synchronization) {
/**
* Model generation task: at least one synch
*/
-//@Constraint(severity="error", message="error", key = {s})
-//pattern noSynch(s:Statechart) {
-// Statechart(s);
-// neg find synch(_);
-//}
-//pattern synch(s:Synchronization) {
-// Synchronization(s);
-//}
\ No newline at end of file
+@Constraint(severity="error", message="error", key = {s})
+pattern noSynch(s:Statechart) {
+ Statechart(s);
+ neg find synch(_);
+}
+pattern synch(s:Synchronization) {
+ Synchronization(s);
+}
\ No newline at end of file
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/ecore/queries/.gitignore b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/ecore/queries/.gitignore
deleted file mode 100644
index a9786e0f..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/ecore/queries/.gitignore
+++ /dev/null
@@ -1,13 +0,0 @@
-/.DirectSupertype.java._trace
-/.Ecore.java._trace
-/.LoopInInheritence.java._trace
-/.NonSymmetricOpposite.java._trace
-/.Opposite.java._trace
-/.OppositeDifferentClass.java._trace
-/.EcorePatterns.java._trace
-/DirectSupertype.java
-/EcorePatterns.java
-/LoopInInheritence.java
-/NonSymmetricOpposite.java
-/Opposite.java
-/OppositeDifferentClass.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/.gitignore b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/.gitignore
deleted file mode 100644
index 60f1891b..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/.gitignore
+++ /dev/null
@@ -1,10 +0,0 @@
-/.FamPatterns.java._trace
-/.Model.java._trace
-/.Parent.java._trace
-/.RootElements.java._trace
-/.TerminatorAndInformation.java._trace
-/.Type.java._trace
-/FamPatterns.java
-/Model.java
-/Parent.java
-/RootElements.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/Type.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/Type.java
deleted file mode 100644
index bc3230c5..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src-gen/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/Type.java
+++ /dev/null
@@ -1,770 +0,0 @@
-/**
- * Generated from platform:/resource/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famPatterns.vql
- */
-package ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries;
-
-import ca.mcgill.ecse.dslreasoner.standalone.test.fam.Function;
-import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionType;
-import ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.Parent;
-import ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.RootElements;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.LinkedHashSet;
-import java.util.List;
-import java.util.Objects;
-import java.util.Optional;
-import java.util.Set;
-import java.util.function.Consumer;
-import java.util.stream.Collectors;
-import java.util.stream.Stream;
-import org.apache.log4j.Logger;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.viatra.query.runtime.api.IPatternMatch;
-import org.eclipse.viatra.query.runtime.api.IQuerySpecification;
-import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine;
-import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery;
-import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification;
-import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher;
-import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch;
-import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey;
-import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey;
-import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint;
-import org.eclipse.viatra.query.runtime.matchers.psystem.PBody;
-import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable;
-import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation;
-import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality;
-import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter;
-import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall;
-import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue;
-import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall;
-import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint;
-import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter;
-import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection;
-import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility;
-import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple;
-import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples;
-import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil;
-
-/**
- * A pattern-specific query specification that can instantiate Matcher in a type-safe way.
- *
- * Original source:
- *
- * {@literal @}QueryBasedFeature
- * pattern type(This : Function, Target : FunctionType) = {
- * find rootElements(_Model, This);
- * Target == FunctionType::Root;
- * } or {
- * neg find parent(_Child, This);
- * neg find rootElements(_Model, This);
- * Target == FunctionType::Leaf;
- * } or {
- * find parent(This, _Par);
- * find parent(_Child, This);
- * Target == FunctionType::Intermediate;
- * }
- *
- *
- * @see Matcher
- * @see Match
- *
- */
-@SuppressWarnings("all")
-public final class Type extends BaseGeneratedEMFQuerySpecification {
- /**
- * Pattern-specific match representation of the ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.type pattern,
- * to be used in conjunction with {@link Matcher}.
- *
- * Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned.
- * Each instance is a (possibly partial) substitution of pattern parameters,
- * usable to represent a match of the pattern in the result of a query,
- * or to specify the bound (fixed) input parameters when issuing a query.
- *
- * @see Matcher
- *
- */
- public static abstract class Match extends BasePatternMatch {
- private Function fThis;
-
- private FunctionType fTarget;
-
- private static List parameterNames = makeImmutableList("This", "Target");
-
- private Match(final Function pThis, final FunctionType pTarget) {
- this.fThis = pThis;
- this.fTarget = pTarget;
- }
-
- @Override
- public Object get(final String parameterName) {
- if ("This".equals(parameterName)) return this.fThis;
- if ("Target".equals(parameterName)) return this.fTarget;
- return null;
- }
-
- public Function getThis() {
- return this.fThis;
- }
-
- public FunctionType getTarget() {
- return this.fTarget;
- }
-
- @Override
- public boolean set(final String parameterName, final Object newValue) {
- if (!isMutable()) throw new java.lang.UnsupportedOperationException();
- if ("This".equals(parameterName) ) {
- this.fThis = (Function) newValue;
- return true;
- }
- if ("Target".equals(parameterName) ) {
- this.fTarget = (FunctionType) newValue;
- return true;
- }
- return false;
- }
-
- public void setThis(final Function pThis) {
- if (!isMutable()) throw new java.lang.UnsupportedOperationException();
- this.fThis = pThis;
- }
-
- public void setTarget(final FunctionType pTarget) {
- if (!isMutable()) throw new java.lang.UnsupportedOperationException();
- this.fTarget = pTarget;
- }
-
- @Override
- public String patternName() {
- return "ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.type";
- }
-
- @Override
- public List parameterNames() {
- return Type.Match.parameterNames;
- }
-
- @Override
- public Object[] toArray() {
- return new Object[]{fThis, fTarget};
- }
-
- @Override
- public Type.Match toImmutable() {
- return isMutable() ? newMatch(fThis, fTarget) : this;
- }
-
- @Override
- public String prettyPrint() {
- StringBuilder result = new StringBuilder();
- result.append("\"This\"=" + prettyPrintValue(fThis) + ", ");
- result.append("\"Target\"=" + prettyPrintValue(fTarget));
- return result.toString();
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(fThis, fTarget);
- }
-
- @Override
- public boolean equals(final Object obj) {
- if (this == obj)
- return true;
- if (obj == null) {
- return false;
- }
- if ((obj instanceof Type.Match)) {
- Type.Match other = (Type.Match) obj;
- return Objects.equals(fThis, other.fThis) && Objects.equals(fTarget, other.fTarget);
- } else {
- // this should be infrequent
- if (!(obj instanceof IPatternMatch)) {
- return false;
- }
- IPatternMatch otherSig = (IPatternMatch) obj;
- return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray());
- }
- }
-
- @Override
- public Type specification() {
- return Type.instance();
- }
-
- /**
- * Returns an empty, mutable match.
- * Fields of the mutable match can be filled to create a partial match, usable as matcher input.
- *
- * @return the empty match.
- *
- */
- public static Type.Match newEmptyMatch() {
- return new Mutable(null, null);
- }
-
- /**
- * Returns a mutable (partial) match.
- * Fields of the mutable match can be filled to create a partial match, usable as matcher input.
- *
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return the new, mutable (partial) match object.
- *
- */
- public static Type.Match newMutableMatch(final Function pThis, final FunctionType pTarget) {
- return new Mutable(pThis, pTarget);
- }
-
- /**
- * Returns a new (partial) match.
- * This can be used e.g. to call the matcher with a partial match.
- * The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object.
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return the (partial) match object.
- *
- */
- public static Type.Match newMatch(final Function pThis, final FunctionType pTarget) {
- return new Immutable(pThis, pTarget);
- }
-
- private static final class Mutable extends Type.Match {
- Mutable(final Function pThis, final FunctionType pTarget) {
- super(pThis, pTarget);
- }
-
- @Override
- public boolean isMutable() {
- return true;
- }
- }
-
- private static final class Immutable extends Type.Match {
- Immutable(final Function pThis, final FunctionType pTarget) {
- super(pThis, pTarget);
- }
-
- @Override
- public boolean isMutable() {
- return false;
- }
- }
- }
-
- /**
- * Generated pattern matcher API of the ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.type pattern,
- * providing pattern-specific query methods.
- *
- *
Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)},
- * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}.
- *
- *
Matches of the pattern will be represented as {@link Match}.
- *
- *
Original source:
- *
- * {@literal @}QueryBasedFeature
- * pattern type(This : Function, Target : FunctionType) = {
- * find rootElements(_Model, This);
- * Target == FunctionType::Root;
- * } or {
- * neg find parent(_Child, This);
- * neg find rootElements(_Model, This);
- * Target == FunctionType::Leaf;
- * } or {
- * find parent(This, _Par);
- * find parent(_Child, This);
- * Target == FunctionType::Intermediate;
- * }
- *
- *
- * @see Match
- * @see Type
- *
- */
- public static class Matcher extends BaseMatcher {
- /**
- * Initializes the pattern matcher within an existing VIATRA Query engine.
- * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned.
- *
- * @param engine the existing VIATRA Query engine in which this matcher will be created.
- * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation
- *
- */
- public static Type.Matcher on(final ViatraQueryEngine engine) {
- // check if matcher already exists
- Matcher matcher = engine.getExistingMatcher(querySpecification());
- if (matcher == null) {
- matcher = (Matcher)engine.getMatcher(querySpecification());
- }
- return matcher;
- }
-
- /**
- * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation
- * @return an initialized matcher
- * @noreference This method is for internal matcher initialization by the framework, do not call it manually.
- *
- */
- public static Type.Matcher create() {
- return new Matcher();
- }
-
- private final static int POSITION_THIS = 0;
-
- private final static int POSITION_TARGET = 1;
-
- private final static Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Type.Matcher.class);
-
- /**
- * Initializes the pattern matcher within an existing VIATRA Query engine.
- * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned.
- *
- * @param engine the existing VIATRA Query engine in which this matcher will be created.
- * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation
- *
- */
- private Matcher() {
- super(querySpecification());
- }
-
- /**
- * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters.
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return matches represented as a Match object.
- *
- */
- public Collection getAllMatches(final Function pThis, final FunctionType pTarget) {
- return rawStreamAllMatches(new Object[]{pThis, pTarget}).collect(Collectors.toSet());
- }
-
- /**
- * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters.
- *
- * NOTE: It is important not to modify the source model while the stream is being processed.
- * If the match set of the pattern changes during processing, the contents of the stream is undefined.
- * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code.
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return a stream of matches represented as a Match object.
- *
- */
- public Stream streamAllMatches(final Function pThis, final FunctionType pTarget) {
- return rawStreamAllMatches(new Object[]{pThis, pTarget});
- }
-
- /**
- * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters.
- * Neither determinism nor randomness of selection is guaranteed.
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return a match represented as a Match object, or null if no match is found.
- *
- */
- public Optional getOneArbitraryMatch(final Function pThis, final FunctionType pTarget) {
- return rawGetOneArbitraryMatch(new Object[]{pThis, pTarget});
- }
-
- /**
- * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match,
- * under any possible substitution of the unspecified parameters (if any).
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return true if the input is a valid (partial) match of the pattern.
- *
- */
- public boolean hasMatch(final Function pThis, final FunctionType pTarget) {
- return rawHasMatch(new Object[]{pThis, pTarget});
- }
-
- /**
- * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters.
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return the number of pattern matches found.
- *
- */
- public int countMatches(final Function pThis, final FunctionType pTarget) {
- return rawCountMatches(new Object[]{pThis, pTarget});
- }
-
- /**
- * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters.
- * Neither determinism nor randomness of selection is guaranteed.
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @param processor the action that will process the selected match.
- * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked
- *
- */
- public boolean forOneArbitraryMatch(final Function pThis, final FunctionType pTarget, final Consumer super Type.Match> processor) {
- return rawForOneArbitraryMatch(new Object[]{pThis, pTarget}, processor);
- }
-
- /**
- * Returns a new (partial) match.
- * This can be used e.g. to call the matcher with a partial match.
- * The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object.
- * @param pThis the fixed value of pattern parameter This, or null if not bound.
- * @param pTarget the fixed value of pattern parameter Target, or null if not bound.
- * @return the (partial) match object.
- *
- */
- public Type.Match newMatch(final Function pThis, final FunctionType pTarget) {
- return Type.Match.newMatch(pThis, pTarget);
- }
-
- /**
- * Retrieve the set of values that occur in matches for This.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- protected Stream rawStreamAllValuesOfThis(final Object[] parameters) {
- return rawStreamAllValues(POSITION_THIS, parameters).map(Function.class::cast);
- }
-
- /**
- * Retrieve the set of values that occur in matches for This.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Set getAllValuesOfThis() {
- return rawStreamAllValuesOfThis(emptyArray()).collect(Collectors.toSet());
- }
-
- /**
- * Retrieve the set of values that occur in matches for This.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Stream streamAllValuesOfThis() {
- return rawStreamAllValuesOfThis(emptyArray());
- }
-
- /**
- * Retrieve the set of values that occur in matches for This.
- *
- * NOTE: It is important not to modify the source model while the stream is being processed.
- * If the match set of the pattern changes during processing, the contents of the stream is undefined.
- * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code.
- *
- * @return the Stream of all values or empty set if there are no matches
- *
- */
- public Stream streamAllValuesOfThis(final Type.Match partialMatch) {
- return rawStreamAllValuesOfThis(partialMatch.toArray());
- }
-
- /**
- * Retrieve the set of values that occur in matches for This.
- *
- * NOTE: It is important not to modify the source model while the stream is being processed.
- * If the match set of the pattern changes during processing, the contents of the stream is undefined.
- * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code.
- *
- * @return the Stream of all values or empty set if there are no matches
- *
- */
- public Stream streamAllValuesOfThis(final FunctionType pTarget) {
- return rawStreamAllValuesOfThis(new Object[]{null, pTarget});
- }
-
- /**
- * Retrieve the set of values that occur in matches for This.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Set getAllValuesOfThis(final Type.Match partialMatch) {
- return rawStreamAllValuesOfThis(partialMatch.toArray()).collect(Collectors.toSet());
- }
-
- /**
- * Retrieve the set of values that occur in matches for This.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Set getAllValuesOfThis(final FunctionType pTarget) {
- return rawStreamAllValuesOfThis(new Object[]{null, pTarget}).collect(Collectors.toSet());
- }
-
- /**
- * Retrieve the set of values that occur in matches for Target.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- protected Stream rawStreamAllValuesOfTarget(final Object[] parameters) {
- return rawStreamAllValues(POSITION_TARGET, parameters).map(FunctionType.class::cast);
- }
-
- /**
- * Retrieve the set of values that occur in matches for Target.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Set getAllValuesOfTarget() {
- return rawStreamAllValuesOfTarget(emptyArray()).collect(Collectors.toSet());
- }
-
- /**
- * Retrieve the set of values that occur in matches for Target.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Stream streamAllValuesOfTarget() {
- return rawStreamAllValuesOfTarget(emptyArray());
- }
-
- /**
- * Retrieve the set of values that occur in matches for Target.
- *
- * NOTE: It is important not to modify the source model while the stream is being processed.
- * If the match set of the pattern changes during processing, the contents of the stream is undefined.
- * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code.
- *
- * @return the Stream of all values or empty set if there are no matches
- *
- */
- public Stream streamAllValuesOfTarget(final Type.Match partialMatch) {
- return rawStreamAllValuesOfTarget(partialMatch.toArray());
- }
-
- /**
- * Retrieve the set of values that occur in matches for Target.
- *
- * NOTE: It is important not to modify the source model while the stream is being processed.
- * If the match set of the pattern changes during processing, the contents of the stream is undefined.
- * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code.
- *
- * @return the Stream of all values or empty set if there are no matches
- *
- */
- public Stream streamAllValuesOfTarget(final Function pThis) {
- return rawStreamAllValuesOfTarget(new Object[]{pThis, null});
- }
-
- /**
- * Retrieve the set of values that occur in matches for Target.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Set getAllValuesOfTarget(final Type.Match partialMatch) {
- return rawStreamAllValuesOfTarget(partialMatch.toArray()).collect(Collectors.toSet());
- }
-
- /**
- * Retrieve the set of values that occur in matches for Target.
- * @return the Set of all values or empty set if there are no matches
- *
- */
- public Set getAllValuesOfTarget(final Function pThis) {
- return rawStreamAllValuesOfTarget(new Object[]{pThis, null}).collect(Collectors.toSet());
- }
-
- @Override
- protected Type.Match tupleToMatch(final Tuple t) {
- try {
- return Type.Match.newMatch((Function) t.get(POSITION_THIS), (FunctionType) t.get(POSITION_TARGET));
- } catch(ClassCastException e) {
- LOGGER.error("Element(s) in tuple not properly typed!",e);
- return null;
- }
- }
-
- @Override
- protected Type.Match arrayToMatch(final Object[] match) {
- try {
- return Type.Match.newMatch((Function) match[POSITION_THIS], (FunctionType) match[POSITION_TARGET]);
- } catch(ClassCastException e) {
- LOGGER.error("Element(s) in array not properly typed!",e);
- return null;
- }
- }
-
- @Override
- protected Type.Match arrayToMatchMutable(final Object[] match) {
- try {
- return Type.Match.newMutableMatch((Function) match[POSITION_THIS], (FunctionType) match[POSITION_TARGET]);
- } catch(ClassCastException e) {
- LOGGER.error("Element(s) in array not properly typed!",e);
- return null;
- }
- }
-
- /**
- * @return the singleton instance of the query specification of this pattern
- * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded
- *
- */
- public static IQuerySpecification querySpecification() {
- return Type.instance();
- }
- }
-
- private Type() {
- super(GeneratedPQuery.INSTANCE);
- }
-
- /**
- * @return the singleton instance of the query specification
- * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded
- *
- */
- public static Type instance() {
- try{
- return LazyHolder.INSTANCE;
- } catch (ExceptionInInitializerError err) {
- throw processInitializerError(err);
- }
- }
-
- @Override
- protected Type.Matcher instantiate(final ViatraQueryEngine engine) {
- return Type.Matcher.on(engine);
- }
-
- @Override
- public Type.Matcher instantiate() {
- return Type.Matcher.create();
- }
-
- @Override
- public Type.Match newEmptyMatch() {
- return Type.Match.newEmptyMatch();
- }
-
- @Override
- public Type.Match newMatch(final Object... parameters) {
- return Type.Match.newMatch((ca.mcgill.ecse.dslreasoner.standalone.test.fam.Function) parameters[0], (ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionType) parameters[1]);
- }
-
- /**
- * Inner class allowing the singleton instance of {@link JvmGenericType: ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.Type (visibility: PUBLIC, simpleName: Type, identifier: ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.Type, deprecated: ) (abstract: false, static: false, final: true, packageName: ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created
- * not at the class load time of the outer class,
- * but rather at the first call to {@link JvmGenericType: ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.Type (visibility: PUBLIC, simpleName: Type, identifier: ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.Type, deprecated: ) (abstract: false, static: false, final: true, packageName: ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}.
- *
- * This workaround is required e.g. to support recursion.
- *
- */
- private static class LazyHolder {
- private final static Type INSTANCE = new Type();
-
- /**
- * Statically initializes the query specification after the field {@link #INSTANCE} is assigned.
- * This initialization order is required to support indirect recursion.
- *
- *
The static initializer is defined using a helper field to work around limitations of the code generator.
- *
- */
- private final static Object STATIC_INITIALIZER = ensureInitialized();
-
- public static Object ensureInitialized() {
- INSTANCE.ensureInitializedInternal();
- return null;
- }
- }
-
- private static class GeneratedPQuery extends BaseGeneratedEMFPQuery {
- private final static Type.GeneratedPQuery INSTANCE = new GeneratedPQuery();
-
- private final PParameter parameter_This = new PParameter("This", "ca.mcgill.ecse.dslreasoner.standalone.test.fam.Function", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("FamMetamodel", "Function")), PParameterDirection.INOUT);
-
- private final PParameter parameter_Target = new PParameter("Target", "ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionType", new EDataTypeInSlotsKey((EDataType)getClassifierLiteralSafe("FamMetamodel", "FunctionType")), PParameterDirection.INOUT);
-
- private final List parameters = Arrays.asList(parameter_This, parameter_Target);
-
- private GeneratedPQuery() {
- super(PVisibility.PUBLIC);
- }
-
- @Override
- public String getFullyQualifiedName() {
- return "ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries.type";
- }
-
- @Override
- public List getParameterNames() {
- return Arrays.asList("This","Target");
- }
-
- @Override
- public List getParameters() {
- return parameters;
- }
-
- @Override
- public Set doGetContainedBodies() {
- setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED));
- Set bodies = new LinkedHashSet<>();
- {
- PBody body = new PBody(this);
- PVariable var_This = body.getOrCreateVariableByName("This");
- PVariable var_Target = body.getOrCreateVariableByName("Target");
- PVariable var__Model = body.getOrCreateVariableByName("_Model");
- new TypeConstraint(body, Tuples.flatTupleOf(var_This), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FamMetamodel", "Function")));
- new TypeConstraint(body, Tuples.flatTupleOf(var_Target), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("FamMetamodel", "FunctionType")));
- body.setSymbolicParameters(Arrays.asList(
- new ExportedParameter(body, var_This, parameter_This),
- new ExportedParameter(body, var_Target, parameter_Target)
- ));
- // find rootElements(_Model, This)
- new PositivePatternCall(body, Tuples.flatTupleOf(var__Model, var_This), RootElements.instance().getInternalQueryRepresentation());
- // Target == FunctionType::Root
- PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}");
- new ConstantValue(body, var__virtual_0_, getEnumLiteral("FamMetamodel", "FunctionType", "Root").getInstance());
- new Equality(body, var_Target, var__virtual_0_);
- bodies.add(body);
- }
- {
- PBody body = new PBody(this);
- PVariable var_This = body.getOrCreateVariableByName("This");
- PVariable var_Target = body.getOrCreateVariableByName("Target");
- PVariable var__Child = body.getOrCreateVariableByName("_Child");
- PVariable var__Model = body.getOrCreateVariableByName("_Model");
- new TypeConstraint(body, Tuples.flatTupleOf(var_This), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FamMetamodel", "Function")));
- new TypeConstraint(body, Tuples.flatTupleOf(var_Target), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("FamMetamodel", "FunctionType")));
- body.setSymbolicParameters(Arrays.asList(
- new ExportedParameter(body, var_This, parameter_This),
- new ExportedParameter(body, var_Target, parameter_Target)
- ));
- // neg find parent(_Child, This)
- new NegativePatternCall(body, Tuples.flatTupleOf(var__Child, var_This), Parent.instance().getInternalQueryRepresentation());
- // neg find rootElements(_Model, This)
- new NegativePatternCall(body, Tuples.flatTupleOf(var__Model, var_This), RootElements.instance().getInternalQueryRepresentation());
- // Target == FunctionType::Leaf
- PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}");
- new ConstantValue(body, var__virtual_0_, getEnumLiteral("FamMetamodel", "FunctionType", "Leaf").getInstance());
- new Equality(body, var_Target, var__virtual_0_);
- bodies.add(body);
- }
- {
- PBody body = new PBody(this);
- PVariable var_This = body.getOrCreateVariableByName("This");
- PVariable var_Target = body.getOrCreateVariableByName("Target");
- PVariable var__Par = body.getOrCreateVariableByName("_Par");
- PVariable var__Child = body.getOrCreateVariableByName("_Child");
- new TypeConstraint(body, Tuples.flatTupleOf(var_This), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FamMetamodel", "Function")));
- new TypeConstraint(body, Tuples.flatTupleOf(var_Target), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("FamMetamodel", "FunctionType")));
- body.setSymbolicParameters(Arrays.asList(
- new ExportedParameter(body, var_This, parameter_This),
- new ExportedParameter(body, var_Target, parameter_Target)
- ));
- // find parent(This, _Par)
- new PositivePatternCall(body, Tuples.flatTupleOf(var_This, var__Par), Parent.instance().getInternalQueryRepresentation());
- // find parent(_Child, This)
- new PositivePatternCall(body, Tuples.flatTupleOf(var__Child, var_This), Parent.instance().getInternalQueryRepresentation());
- // Target == FunctionType::Intermediate
- PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}");
- new ConstantValue(body, var__virtual_0_, getEnumLiteral("FamMetamodel", "FunctionType", "Intermediate").getInstance());
- new Equality(body, var_Target, var__virtual_0_);
- bodies.add(body);
- }
- {
- PAnnotation annotation = new PAnnotation("QueryBasedFeature");
- addAnnotation(annotation);
- }
- return bodies;
- }
- }
-}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Choice.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Choice.java
index cc4049c4..fc2f0328 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Choice.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Choice.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getChoice()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getChoice()
* @model
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/CompositeElement.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/CompositeElement.java
index 037b1b3c..b0e38bcf 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/CompositeElement.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/CompositeElement.java
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EObject;
* {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions Regions}
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getCompositeElement()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getCompositeElement()
* @model abstract="true"
* @generated
*/
@@ -33,7 +33,7 @@ public interface CompositeElement extends EObject {
*
*
* @return the value of the 'Regions' containment reference list.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getCompositeElement_Regions()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getCompositeElement_Regions()
* @model containment="true"
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Entry.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Entry.java
index da40c481..c8adb603 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Entry.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Entry.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getEntry()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getEntry()
* @model
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Exit.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Exit.java
index 9f8e12d3..b134c14f 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Exit.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Exit.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getExit()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getExit()
* @model
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/FinalState.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/FinalState.java
index 33703d36..5ec2a16a 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/FinalState.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/FinalState.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getFinalState()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getFinalState()
* @model
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Pseudostate.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Pseudostate.java
index e6a003f9..670a172a 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Pseudostate.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Pseudostate.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getPseudostate()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getPseudostate()
* @model abstract="true"
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Region.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Region.java
index f4c3f114..84081ae8 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Region.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Region.java
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EObject;
* {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices Vertices}
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getRegion()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegion()
* @model
* @generated
*/
@@ -33,7 +33,7 @@ public interface Region extends EObject {
*
*
* @return the value of the 'Vertices' containment reference list.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getRegion_Vertices()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegion_Vertices()
* @model containment="true" ordered="false"
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/RegularState.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/RegularState.java
index 7db584e5..4ad05644 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/RegularState.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/RegularState.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getRegularState()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegularState()
* @model abstract="true"
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/State.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/State.java
index 3c65be40..09667a01 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/State.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/State.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getState()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getState()
* @model
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Statechart.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Statechart.java
index 33a1dd7a..0f8e383d 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Statechart.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Statechart.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getStatechart()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getStatechart()
* @model
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Synchronization.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Synchronization.java
index f1294200..a06bc066 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Synchronization.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Synchronization.java
@@ -9,7 +9,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
*
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getSynchronization()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getSynchronization()
* @model
* @generated
*/
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Transition.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Transition.java
index 543cc73b..c90c8d23 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Transition.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Transition.java
@@ -17,7 +17,7 @@ import org.eclipse.emf.ecore.EObject;
* {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource Source}
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getTransition()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition()
* @model
* @generated
*/
@@ -33,7 +33,7 @@ public interface Transition extends EObject {
*
* @return the value of the 'Target' reference.
* @see #setTarget(Vertex)
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getTransition_Target()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition_Target()
* @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions
* @model opposite="incomingTransitions" required="true" ordered="false"
* @generated
@@ -61,7 +61,7 @@ public interface Transition extends EObject {
*
* @return the value of the 'Source' container reference.
* @see #setSource(Vertex)
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getTransition_Source()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition_Source()
* @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions
* @model opposite="outgoingTransitions" transient="false" ordered="false"
* @generated
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Vertex.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Vertex.java
index 6005a550..e4631e42 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Vertex.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Vertex.java
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.EObject;
* {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions Outgoing Transitions}
*
*
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getVertex()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex()
* @model abstract="true"
* @generated
*/
@@ -35,7 +35,7 @@ public interface Vertex extends EObject {
*
*
* @return the value of the 'Incoming Transitions' reference list.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getVertex_IncomingTransitions()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex_IncomingTransitions()
* @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget
* @model opposite="target" ordered="false"
* @generated
@@ -53,7 +53,7 @@ public interface Vertex extends EObject {
*
*
* @return the value of the 'Outgoing Transitions' containment reference list.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#getVertex_OutgoingTransitions()
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex_OutgoingTransitions()
* @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource
* @model opposite="source" containment="true" ordered="false"
* @generated
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduFactory.java
new file mode 100644
index 00000000..53afae22
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduFactory.java
@@ -0,0 +1,114 @@
+/**
+ */
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ *
+ * The Factory for the model.
+ * It provides a create method for each non-abstract class of the model.
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
+ * @generated
+ */
+public interface YakinduFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ *
+ *
+ * @generated
+ */
+ YakinduFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduFactoryImpl.init();
+
+ /**
+ * Returns a new object of class 'Region'.
+ *
+ *
+ * @return a new object of class 'Region'.
+ * @generated
+ */
+ Region createRegion();
+
+ /**
+ * Returns a new object of class 'Transition'.
+ *
+ *
+ * @return a new object of class 'Transition'.
+ * @generated
+ */
+ Transition createTransition();
+
+ /**
+ * Returns a new object of class 'Statechart'.
+ *
+ *
+ * @return a new object of class 'Statechart'.
+ * @generated
+ */
+ Statechart createStatechart();
+
+ /**
+ * Returns a new object of class 'Entry'.
+ *
+ *
+ * @return a new object of class 'Entry'.
+ * @generated
+ */
+ Entry createEntry();
+
+ /**
+ * Returns a new object of class 'Synchronization'.
+ *
+ *
+ * @return a new object of class 'Synchronization'.
+ * @generated
+ */
+ Synchronization createSynchronization();
+
+ /**
+ * Returns a new object of class 'State'.
+ *
+ *
+ * @return a new object of class 'State'.
+ * @generated
+ */
+ State createState();
+
+ /**
+ * Returns a new object of class 'Choice'.
+ *
+ *
+ * @return a new object of class 'Choice'.
+ * @generated
+ */
+ Choice createChoice();
+
+ /**
+ * Returns a new object of class 'Exit'.
+ *
+ *
+ * @return a new object of class 'Exit'.
+ * @generated
+ */
+ Exit createExit();
+
+ /**
+ * Returns a new object of class 'Final State'.
+ *
+ *
+ * @return a new object of class 'Final State'.
+ * @generated
+ */
+ FinalState createFinalState();
+
+ /**
+ * Returns the package supported by this factory.
+ *
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ YakinduPackage getYakinduPackage();
+
+} //YakinduFactory
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduPackage.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduPackage.java
new file mode 100644
index 00000000..7fbe176c
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/YakinduPackage.java
@@ -0,0 +1,1038 @@
+/**
+ */
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ *
+ * The Package for the model.
+ * It contains accessors for the meta objects to represent
+ *
+ * - each class,
+ * - each feature of each class,
+ * - each operation of each class,
+ * - each enum,
+ * - and each data type
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface YakinduPackage extends EPackage {
+ /**
+ * The package name.
+ *
+ *
+ * @generated
+ */
+ String eNAME = "yakindu";
+
+ /**
+ * The package namespace URI.
+ *
+ *
+ * @generated
+ */
+ String eNS_URI = "YakinduMetamodel";
+
+ /**
+ * The package namespace name.
+ *
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "yakindu";
+
+ /**
+ * The singleton instance of the package.
+ *
+ *
+ * @generated
+ */
+ YakinduPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl Vertex}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex()
+ * @generated
+ */
+ int VERTEX = 1;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VERTEX__INCOMING_TRANSITIONS = 0;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VERTEX__OUTGOING_TRANSITIONS = 1;
+
+ /**
+ * The number of structural features of the 'Vertex' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VERTEX_FEATURE_COUNT = 2;
+
+ /**
+ * The number of operations of the 'Vertex' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VERTEX_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl Pseudostate}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate()
+ * @generated
+ */
+ int PSEUDOSTATE = 0;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
+
+ /**
+ * The number of structural features of the 'Pseudostate' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Pseudostate' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl Region}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion()
+ * @generated
+ */
+ int REGION = 2;
+
+ /**
+ * The feature id for the 'Vertices' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int REGION__VERTICES = 0;
+
+ /**
+ * The number of structural features of the 'Region' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int REGION_FEATURE_COUNT = 1;
+
+ /**
+ * The number of operations of the 'Region' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int REGION_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl Transition}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition()
+ * @generated
+ */
+ int TRANSITION = 3;
+
+ /**
+ * The feature id for the 'Target' reference.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSITION__TARGET = 0;
+
+ /**
+ * The feature id for the 'Source' container reference.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSITION__SOURCE = 1;
+
+ /**
+ * The number of structural features of the 'Transition' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSITION_FEATURE_COUNT = 2;
+
+ /**
+ * The number of operations of the 'Transition' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSITION_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl Composite Element}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement()
+ * @generated
+ */
+ int COMPOSITE_ELEMENT = 9;
+
+ /**
+ * The feature id for the 'Regions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int COMPOSITE_ELEMENT__REGIONS = 0;
+
+ /**
+ * The number of structural features of the 'Composite Element' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int COMPOSITE_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The number of operations of the 'Composite Element' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int COMPOSITE_ELEMENT_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl Statechart}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart()
+ * @generated
+ */
+ int STATECHART = 4;
+
+ /**
+ * The feature id for the 'Regions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS;
+
+ /**
+ * The number of structural features of the 'Statechart' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Statechart' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl Entry}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry()
+ * @generated
+ */
+ int ENTRY = 5;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
+
+ /**
+ * The number of structural features of the 'Entry' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Entry' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl Synchronization}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization()
+ * @generated
+ */
+ int SYNCHRONIZATION = 6;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int SYNCHRONIZATION__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int SYNCHRONIZATION__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
+
+ /**
+ * The number of structural features of the 'Synchronization' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int SYNCHRONIZATION_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Synchronization' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int SYNCHRONIZATION_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl Regular State}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState()
+ * @generated
+ */
+ int REGULAR_STATE = 8;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
+
+ /**
+ * The number of structural features of the 'Regular State' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Regular State' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl State}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState()
+ * @generated
+ */
+ int STATE = 7;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Regions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the 'State' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the 'State' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl Choice}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice()
+ * @generated
+ */
+ int CHOICE = 10;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
+
+ /**
+ * The number of structural features of the 'Choice' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Choice' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl Exit}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit()
+ * @generated
+ */
+ int EXIT = 11;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
+
+ /**
+ * The number of structural features of the 'Exit' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Exit' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl Final State}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState()
+ * @generated
+ */
+ int FINAL_STATE = 12;
+
+ /**
+ * The feature id for the 'Incoming Transitions' reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
+
+ /**
+ * The feature id for the 'Outgoing Transitions' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
+
+ /**
+ * The number of structural features of the 'Final State' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the 'Final State' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate Pseudostate}'.
+ *
+ *
+ * @return the meta object for class 'Pseudostate'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
+ * @generated
+ */
+ EClass getPseudostate();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex Vertex}'.
+ *
+ *
+ * @return the meta object for class 'Vertex'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
+ * @generated
+ */
+ EClass getVertex();
+
+ /**
+ * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions Incoming Transitions}'.
+ *
+ *
+ * @return the meta object for the reference list 'Incoming Transitions'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions()
+ * @see #getVertex()
+ * @generated
+ */
+ EReference getVertex_IncomingTransitions();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions Outgoing Transitions}'.
+ *
+ *
+ * @return the meta object for the containment reference list 'Outgoing Transitions'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions()
+ * @see #getVertex()
+ * @generated
+ */
+ EReference getVertex_OutgoingTransitions();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region Region}'.
+ *
+ *
+ * @return the meta object for class 'Region'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
+ * @generated
+ */
+ EClass getRegion();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices Vertices}'.
+ *
+ *
+ * @return the meta object for the containment reference list 'Vertices'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices()
+ * @see #getRegion()
+ * @generated
+ */
+ EReference getRegion_Vertices();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition Transition}'.
+ *
+ *
+ * @return the meta object for class 'Transition'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
+ * @generated
+ */
+ EClass getTransition();
+
+ /**
+ * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget Target}'.
+ *
+ *
+ * @return the meta object for the reference 'Target'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget()
+ * @see #getTransition()
+ * @generated
+ */
+ EReference getTransition_Target();
+
+ /**
+ * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource Source}'.
+ *
+ *
+ * @return the meta object for the container reference 'Source'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource()
+ * @see #getTransition()
+ * @generated
+ */
+ EReference getTransition_Source();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart Statechart}'.
+ *
+ *
+ * @return the meta object for class 'Statechart'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
+ * @generated
+ */
+ EClass getStatechart();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry Entry}'.
+ *
+ *
+ * @return the meta object for class 'Entry'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
+ * @generated
+ */
+ EClass getEntry();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization Synchronization}'.
+ *
+ *
+ * @return the meta object for class 'Synchronization'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
+ * @generated
+ */
+ EClass getSynchronization();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State State}'.
+ *
+ *
+ * @return the meta object for class 'State'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
+ * @generated
+ */
+ EClass getState();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState Regular State}'.
+ *
+ *
+ * @return the meta object for class 'Regular State'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
+ * @generated
+ */
+ EClass getRegularState();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement Composite Element}'.
+ *
+ *
+ * @return the meta object for class 'Composite Element'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
+ * @generated
+ */
+ EClass getCompositeElement();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions Regions}'.
+ *
+ *
+ * @return the meta object for the containment reference list 'Regions'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions()
+ * @see #getCompositeElement()
+ * @generated
+ */
+ EReference getCompositeElement_Regions();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice Choice}'.
+ *
+ *
+ * @return the meta object for class 'Choice'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
+ * @generated
+ */
+ EClass getChoice();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit Exit}'.
+ *
+ *
+ * @return the meta object for class 'Exit'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
+ * @generated
+ */
+ EClass getExit();
+
+ /**
+ * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState Final State}'.
+ *
+ *
+ * @return the meta object for class 'Final State'.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
+ * @generated
+ */
+ EClass getFinalState();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ *
+ *
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ YakinduFactory getYakinduFactory();
+
+ /**
+ *
+ * Defines literals for the meta objects that represent
+ *
+ * - each class,
+ * - each feature of each class,
+ * - each operation of each class,
+ * - each enum,
+ * - and each data type
+ *
+ *
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl Pseudostate}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate()
+ * @generated
+ */
+ EClass PSEUDOSTATE = eINSTANCE.getPseudostate();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl Vertex}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex()
+ * @generated
+ */
+ EClass VERTEX = eINSTANCE.getVertex();
+
+ /**
+ * The meta object literal for the 'Incoming Transitions' reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions();
+
+ /**
+ * The meta object literal for the 'Outgoing Transitions' containment reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl Region}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion()
+ * @generated
+ */
+ EClass REGION = eINSTANCE.getRegion();
+
+ /**
+ * The meta object literal for the 'Vertices' containment reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl Transition}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition()
+ * @generated
+ */
+ EClass TRANSITION = eINSTANCE.getTransition();
+
+ /**
+ * The meta object literal for the 'Target' reference feature.
+ *
+ *
+ * @generated
+ */
+ EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();
+
+ /**
+ * The meta object literal for the 'Source' container reference feature.
+ *
+ *
+ * @generated
+ */
+ EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl Statechart}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart()
+ * @generated
+ */
+ EClass STATECHART = eINSTANCE.getStatechart();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl Entry}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry()
+ * @generated
+ */
+ EClass ENTRY = eINSTANCE.getEntry();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl Synchronization}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization()
+ * @generated
+ */
+ EClass SYNCHRONIZATION = eINSTANCE.getSynchronization();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl State}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState()
+ * @generated
+ */
+ EClass STATE = eINSTANCE.getState();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl Regular State}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState()
+ * @generated
+ */
+ EClass REGULAR_STATE = eINSTANCE.getRegularState();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl Composite Element}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement()
+ * @generated
+ */
+ EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement();
+
+ /**
+ * The meta object literal for the 'Regions' containment reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl Choice}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice()
+ * @generated
+ */
+ EClass CHOICE = eINSTANCE.getChoice();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl Exit}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit()
+ * @generated
+ */
+ EClass EXIT = eINSTANCE.getExit();
+
+ /**
+ * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl Final State}' class.
+ *
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState()
+ * @generated
+ */
+ EClass FINAL_STATE = eINSTANCE.getFinalState();
+
+ }
+
+} //YakinduPackage
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java
index 8fc4883b..b757b42f 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public class ChoiceImpl extends PseudostateImpl implements Choice {
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.CHOICE;
+ return YakinduPackage.Literals.CHOICE;
}
} //ChoiceImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java
index 0218f9c7..8441ed27 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import java.util.Collection;
@@ -60,7 +60,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.COMPOSITE_ELEMENT;
+ return YakinduPackage.Literals.COMPOSITE_ELEMENT;
}
/**
@@ -70,7 +70,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container
*/
public EList getRegions() {
if (regions == null) {
- regions = new EObjectContainmentEList(Region.class, this, yakinduPackage.COMPOSITE_ELEMENT__REGIONS);
+ regions = new EObjectContainmentEList(Region.class, this, YakinduPackage.COMPOSITE_ELEMENT__REGIONS);
}
return regions;
}
@@ -83,7 +83,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
return ((InternalEList>)getRegions()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -97,7 +97,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
return getRegions();
}
return super.eGet(featureID, resolve, coreType);
@@ -112,7 +112,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
getRegions().clear();
getRegions().addAll((Collection extends Region>)newValue);
return;
@@ -128,7 +128,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
getRegions().clear();
return;
}
@@ -143,7 +143,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case yakinduPackage.COMPOSITE_ELEMENT__REGIONS:
+ case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
return regions != null && !regions.isEmpty();
}
return super.eIsSet(featureID);
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java
index d0334475..0603c2a4 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public class EntryImpl extends PseudostateImpl implements Entry {
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.ENTRY;
+ return YakinduPackage.Literals.ENTRY;
}
} //EntryImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java
index d1448776..4859ef03 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public class ExitImpl extends PseudostateImpl implements Exit {
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.EXIT;
+ return YakinduPackage.Literals.EXIT;
}
} //ExitImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java
index 716c096e..c4d4e157 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public class FinalStateImpl extends RegularStateImpl implements FinalState {
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.FINAL_STATE;
+ return YakinduPackage.Literals.FINAL_STATE;
}
} //FinalStateImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java
index b9fc27f3..56c44b78 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public abstract class PseudostateImpl extends VertexImpl implements Pseudostate
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.PSEUDOSTATE;
+ return YakinduPackage.Literals.PSEUDOSTATE;
}
} //PseudostateImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java
index fa873aeb..fa529ad6 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import java.util.Collection;
@@ -60,7 +60,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.REGION;
+ return YakinduPackage.Literals.REGION;
}
/**
@@ -70,7 +70,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
*/
public EList getVertices() {
if (vertices == null) {
- vertices = new EObjectContainmentEList(Vertex.class, this, yakinduPackage.REGION__VERTICES);
+ vertices = new EObjectContainmentEList(Vertex.class, this, YakinduPackage.REGION__VERTICES);
}
return vertices;
}
@@ -83,7 +83,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case yakinduPackage.REGION__VERTICES:
+ case YakinduPackage.REGION__VERTICES:
return ((InternalEList>)getVertices()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -97,7 +97,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case yakinduPackage.REGION__VERTICES:
+ case YakinduPackage.REGION__VERTICES:
return getVertices();
}
return super.eGet(featureID, resolve, coreType);
@@ -112,7 +112,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case yakinduPackage.REGION__VERTICES:
+ case YakinduPackage.REGION__VERTICES:
getVertices().clear();
getVertices().addAll((Collection extends Vertex>)newValue);
return;
@@ -128,7 +128,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case yakinduPackage.REGION__VERTICES:
+ case YakinduPackage.REGION__VERTICES:
getVertices().clear();
return;
}
@@ -143,7 +143,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case yakinduPackage.REGION__VERTICES:
+ case YakinduPackage.REGION__VERTICES:
return vertices != null && !vertices.isEmpty();
}
return super.eIsSet(featureID);
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java
index bbe21a14..5361d4d5 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public abstract class RegularStateImpl extends VertexImpl implements RegularStat
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.REGULAR_STATE;
+ return YakinduPackage.Literals.REGULAR_STATE;
}
} //RegularStateImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java
index 66ab2a8f..85938d63 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java
@@ -5,7 +5,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import java.util.Collection;
@@ -59,7 +59,7 @@ public class StateImpl extends RegularStateImpl implements State {
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.STATE;
+ return YakinduPackage.Literals.STATE;
}
/**
@@ -69,7 +69,7 @@ public class StateImpl extends RegularStateImpl implements State {
*/
public EList getRegions() {
if (regions == null) {
- regions = new EObjectContainmentEList(Region.class, this, yakinduPackage.STATE__REGIONS);
+ regions = new EObjectContainmentEList(Region.class, this, YakinduPackage.STATE__REGIONS);
}
return regions;
}
@@ -82,7 +82,7 @@ public class StateImpl extends RegularStateImpl implements State {
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case yakinduPackage.STATE__REGIONS:
+ case YakinduPackage.STATE__REGIONS:
return ((InternalEList>)getRegions()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -96,7 +96,7 @@ public class StateImpl extends RegularStateImpl implements State {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case yakinduPackage.STATE__REGIONS:
+ case YakinduPackage.STATE__REGIONS:
return getRegions();
}
return super.eGet(featureID, resolve, coreType);
@@ -111,7 +111,7 @@ public class StateImpl extends RegularStateImpl implements State {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case yakinduPackage.STATE__REGIONS:
+ case YakinduPackage.STATE__REGIONS:
getRegions().clear();
getRegions().addAll((Collection extends Region>)newValue);
return;
@@ -127,7 +127,7 @@ public class StateImpl extends RegularStateImpl implements State {
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case yakinduPackage.STATE__REGIONS:
+ case YakinduPackage.STATE__REGIONS:
getRegions().clear();
return;
}
@@ -142,7 +142,7 @@ public class StateImpl extends RegularStateImpl implements State {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case yakinduPackage.STATE__REGIONS:
+ case YakinduPackage.STATE__REGIONS:
return regions != null && !regions.isEmpty();
}
return super.eIsSet(featureID);
@@ -157,7 +157,7 @@ public class StateImpl extends RegularStateImpl implements State {
public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) {
if (baseClass == CompositeElement.class) {
switch (derivedFeatureID) {
- case yakinduPackage.STATE__REGIONS: return yakinduPackage.COMPOSITE_ELEMENT__REGIONS;
+ case YakinduPackage.STATE__REGIONS: return YakinduPackage.COMPOSITE_ELEMENT__REGIONS;
default: return -1;
}
}
@@ -173,7 +173,7 @@ public class StateImpl extends RegularStateImpl implements State {
public int eDerivedStructuralFeatureID(int baseFeatureID, Class> baseClass) {
if (baseClass == CompositeElement.class) {
switch (baseFeatureID) {
- case yakinduPackage.COMPOSITE_ELEMENT__REGIONS: return yakinduPackage.STATE__REGIONS;
+ case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: return YakinduPackage.STATE__REGIONS;
default: return -1;
}
}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java
index 056820ca..a74110da 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public class StatechartImpl extends CompositeElementImpl implements Statechart {
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.STATECHART;
+ return YakinduPackage.Literals.STATECHART;
}
} //StatechartImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java
index 28ef69ea..3b6cd8eb 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java
@@ -3,7 +3,7 @@
package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.ecore.EClass;
@@ -31,7 +31,7 @@ public class SynchronizationImpl extends PseudostateImpl implements Synchronizat
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.SYNCHRONIZATION;
+ return YakinduPackage.Literals.SYNCHRONIZATION;
}
} //SynchronizationImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java
index ea1677ee..dfbca048 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -58,7 +58,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.TRANSITION;
+ return YakinduPackage.Literals.TRANSITION;
}
/**
@@ -72,7 +72,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
target = (Vertex)eResolveProxy(oldTarget);
if (target != oldTarget) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, yakinduPackage.TRANSITION__TARGET, oldTarget, target));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, YakinduPackage.TRANSITION__TARGET, oldTarget, target));
}
}
return target;
@@ -96,7 +96,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
Vertex oldTarget = target;
target = newTarget;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, yakinduPackage.TRANSITION__TARGET, oldTarget, newTarget);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, oldTarget, newTarget);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@@ -111,14 +111,14 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
if (newTarget != target) {
NotificationChain msgs = null;
if (target != null)
- msgs = ((InternalEObject)target).eInverseRemove(this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
+ msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
if (newTarget != null)
- msgs = ((InternalEObject)newTarget).eInverseAdd(this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
+ msgs = ((InternalEObject)newTarget).eInverseAdd(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
msgs = basicSetTarget(newTarget, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, yakinduPackage.TRANSITION__TARGET, newTarget, newTarget));
+ eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, newTarget, newTarget));
}
/**
@@ -127,7 +127,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
* @generated
*/
public Vertex getSource() {
- if (eContainerFeatureID() != yakinduPackage.TRANSITION__SOURCE) return null;
+ if (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE) return null;
return (Vertex)eInternalContainer();
}
@@ -137,7 +137,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
* @generated
*/
public NotificationChain basicSetSource(Vertex newSource, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newSource, yakinduPackage.TRANSITION__SOURCE, msgs);
+ msgs = eBasicSetContainer((InternalEObject)newSource, YakinduPackage.TRANSITION__SOURCE, msgs);
return msgs;
}
@@ -147,19 +147,19 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
* @generated
*/
public void setSource(Vertex newSource) {
- if (newSource != eInternalContainer() || (eContainerFeatureID() != yakinduPackage.TRANSITION__SOURCE && newSource != null)) {
+ if (newSource != eInternalContainer() || (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE && newSource != null)) {
if (EcoreUtil.isAncestor(this, newSource))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newSource != null)
- msgs = ((InternalEObject)newSource).eInverseAdd(this, yakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
+ msgs = ((InternalEObject)newSource).eInverseAdd(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
msgs = basicSetSource(newSource, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, yakinduPackage.TRANSITION__SOURCE, newSource, newSource));
+ eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__SOURCE, newSource, newSource));
}
/**
@@ -170,11 +170,11 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case yakinduPackage.TRANSITION__TARGET:
+ case YakinduPackage.TRANSITION__TARGET:
if (target != null)
- msgs = ((InternalEObject)target).eInverseRemove(this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
+ msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
return basicSetTarget((Vertex)otherEnd, msgs);
- case yakinduPackage.TRANSITION__SOURCE:
+ case YakinduPackage.TRANSITION__SOURCE:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetSource((Vertex)otherEnd, msgs);
@@ -190,9 +190,9 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case yakinduPackage.TRANSITION__TARGET:
+ case YakinduPackage.TRANSITION__TARGET:
return basicSetTarget(null, msgs);
- case yakinduPackage.TRANSITION__SOURCE:
+ case YakinduPackage.TRANSITION__SOURCE:
return basicSetSource(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -206,8 +206,8 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
- case yakinduPackage.TRANSITION__SOURCE:
- return eInternalContainer().eInverseRemove(this, yakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
+ case YakinduPackage.TRANSITION__SOURCE:
+ return eInternalContainer().eInverseRemove(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
@@ -220,10 +220,10 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case yakinduPackage.TRANSITION__TARGET:
+ case YakinduPackage.TRANSITION__TARGET:
if (resolve) return getTarget();
return basicGetTarget();
- case yakinduPackage.TRANSITION__SOURCE:
+ case YakinduPackage.TRANSITION__SOURCE:
return getSource();
}
return super.eGet(featureID, resolve, coreType);
@@ -237,10 +237,10 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case yakinduPackage.TRANSITION__TARGET:
+ case YakinduPackage.TRANSITION__TARGET:
setTarget((Vertex)newValue);
return;
- case yakinduPackage.TRANSITION__SOURCE:
+ case YakinduPackage.TRANSITION__SOURCE:
setSource((Vertex)newValue);
return;
}
@@ -255,10 +255,10 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case yakinduPackage.TRANSITION__TARGET:
+ case YakinduPackage.TRANSITION__TARGET:
setTarget((Vertex)null);
return;
- case yakinduPackage.TRANSITION__SOURCE:
+ case YakinduPackage.TRANSITION__SOURCE:
setSource((Vertex)null);
return;
}
@@ -273,9 +273,9 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case yakinduPackage.TRANSITION__TARGET:
+ case YakinduPackage.TRANSITION__TARGET:
return target != null;
- case yakinduPackage.TRANSITION__SOURCE:
+ case YakinduPackage.TRANSITION__SOURCE:
return getSource() != null;
}
return super.eIsSet(featureID);
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java
index 6f5b9ed3..6384fb51 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
import java.util.Collection;
@@ -72,7 +72,7 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
*/
@Override
protected EClass eStaticClass() {
- return yakinduPackage.Literals.VERTEX;
+ return YakinduPackage.Literals.VERTEX;
}
/**
@@ -82,7 +82,7 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
*/
public EList getIncomingTransitions() {
if (incomingTransitions == null) {
- incomingTransitions = new EObjectWithInverseResolvingEList(Transition.class, this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, yakinduPackage.TRANSITION__TARGET);
+ incomingTransitions = new EObjectWithInverseResolvingEList(Transition.class, this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, YakinduPackage.TRANSITION__TARGET);
}
return incomingTransitions;
}
@@ -94,7 +94,7 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
*/
public EList getOutgoingTransitions() {
if (outgoingTransitions == null) {
- outgoingTransitions = new EObjectContainmentWithInverseEList(Transition.class, this, yakinduPackage.VERTEX__OUTGOING_TRANSITIONS, yakinduPackage.TRANSITION__SOURCE);
+ outgoingTransitions = new EObjectContainmentWithInverseEList(Transition.class, this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, YakinduPackage.TRANSITION__SOURCE);
}
return outgoingTransitions;
}
@@ -108,9 +108,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case yakinduPackage.VERTEX__INCOMING_TRANSITIONS:
+ case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
return ((InternalEList)(InternalEList>)getIncomingTransitions()).basicAdd(otherEnd, msgs);
- case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
+ case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
return ((InternalEList)(InternalEList>)getOutgoingTransitions()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
@@ -124,9 +124,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case yakinduPackage.VERTEX__INCOMING_TRANSITIONS:
+ case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
return ((InternalEList>)getIncomingTransitions()).basicRemove(otherEnd, msgs);
- case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
+ case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
return ((InternalEList>)getOutgoingTransitions()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -140,9 +140,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case yakinduPackage.VERTEX__INCOMING_TRANSITIONS:
+ case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
return getIncomingTransitions();
- case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
+ case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
return getOutgoingTransitions();
}
return super.eGet(featureID, resolve, coreType);
@@ -157,11 +157,11 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case yakinduPackage.VERTEX__INCOMING_TRANSITIONS:
+ case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
getIncomingTransitions().clear();
getIncomingTransitions().addAll((Collection extends Transition>)newValue);
return;
- case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
+ case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
getOutgoingTransitions().clear();
getOutgoingTransitions().addAll((Collection extends Transition>)newValue);
return;
@@ -177,10 +177,10 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case yakinduPackage.VERTEX__INCOMING_TRANSITIONS:
+ case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
getIncomingTransitions().clear();
return;
- case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
+ case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
getOutgoingTransitions().clear();
return;
}
@@ -195,9 +195,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case yakinduPackage.VERTEX__INCOMING_TRANSITIONS:
+ case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
return incomingTransitions != null && !incomingTransitions.isEmpty();
- case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
+ case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
return outgoingTransitions != null && !outgoingTransitions.isEmpty();
}
return super.eIsSet(featureID);
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduFactoryImpl.java
new file mode 100644
index 00000000..bd5ee1bd
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduFactoryImpl.java
@@ -0,0 +1,183 @@
+/**
+ */
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
+
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
+
+import org.eclipse.emf.ecore.EClass;
+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;
+
+/**
+ *
+ * An implementation of the model Factory.
+ *
+ * @generated
+ */
+public class YakinduFactoryImpl extends EFactoryImpl implements YakinduFactory {
+ /**
+ * Creates the default factory implementation.
+ *
+ *
+ * @generated
+ */
+ public static YakinduFactory init() {
+ try {
+ YakinduFactory theYakinduFactory = (YakinduFactory)EPackage.Registry.INSTANCE.getEFactory(YakinduPackage.eNS_URI);
+ if (theYakinduFactory != null) {
+ return theYakinduFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new YakinduFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ *
+ *
+ * @generated
+ */
+ public YakinduFactoryImpl() {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case YakinduPackage.REGION: return createRegion();
+ case YakinduPackage.TRANSITION: return createTransition();
+ case YakinduPackage.STATECHART: return createStatechart();
+ case YakinduPackage.ENTRY: return createEntry();
+ case YakinduPackage.SYNCHRONIZATION: return createSynchronization();
+ case YakinduPackage.STATE: return createState();
+ case YakinduPackage.CHOICE: return createChoice();
+ case YakinduPackage.EXIT: return createExit();
+ case YakinduPackage.FINAL_STATE: return createFinalState();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Region createRegion() {
+ RegionImpl region = new RegionImpl();
+ return region;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Transition createTransition() {
+ TransitionImpl transition = new TransitionImpl();
+ return transition;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Statechart createStatechart() {
+ StatechartImpl statechart = new StatechartImpl();
+ return statechart;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Entry createEntry() {
+ EntryImpl entry = new EntryImpl();
+ return entry;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Synchronization createSynchronization() {
+ SynchronizationImpl synchronization = new SynchronizationImpl();
+ return synchronization;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public State createState() {
+ StateImpl state = new StateImpl();
+ return state;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Choice createChoice() {
+ ChoiceImpl choice = new ChoiceImpl();
+ return choice;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Exit createExit() {
+ ExitImpl exit = new ExitImpl();
+ return exit;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public FinalState createFinalState() {
+ FinalStateImpl finalState = new FinalStateImpl();
+ return finalState;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public YakinduPackage getYakinduPackage() {
+ return (YakinduPackage)getEPackage();
+ }
+
+ /**
+ *
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static YakinduPackage getPackage() {
+ return YakinduPackage.eINSTANCE;
+ }
+
+} //YakinduFactoryImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduPackageImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduPackageImpl.java
new file mode 100644
index 00000000..0796c5d8
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduPackageImpl.java
@@ -0,0 +1,494 @@
+/**
+ */
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
+
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory;
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ *
+ * An implementation of the model Package.
+ *
+ * @generated
+ */
+public class YakinduPackageImpl extends EPackageImpl implements YakinduPackage {
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass pseudostateEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass vertexEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass regionEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass transitionEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass statechartEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass entryEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass synchronizationEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass stateEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass regularStateEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass compositeElementEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass choiceEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass exitEClass = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass finalStateEClass = null;
+
+ /**
+ * Creates an instance of the model Package, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * 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.
+ *
+ *
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private YakinduPackageImpl() {
+ super(eNS_URI, YakinduFactory.eINSTANCE);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
+ *
+ *
This method is used to initialize {@link YakinduPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ *
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static YakinduPackage init() {
+ if (isInited) return (YakinduPackage)EPackage.Registry.INSTANCE.getEPackage(YakinduPackage.eNS_URI);
+
+ // Obtain or create and register package
+ Object registeredYakinduPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
+ YakinduPackageImpl theYakinduPackage = registeredYakinduPackage instanceof YakinduPackageImpl ? (YakinduPackageImpl)registeredYakinduPackage : new YakinduPackageImpl();
+
+ isInited = true;
+
+ // Create package meta-data objects
+ theYakinduPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theYakinduPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theYakinduPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(YakinduPackage.eNS_URI, theYakinduPackage);
+ return theYakinduPackage;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getPseudostate() {
+ return pseudostateEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVertex() {
+ return vertexEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVertex_IncomingTransitions() {
+ return (EReference)vertexEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVertex_OutgoingTransitions() {
+ return (EReference)vertexEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getRegion() {
+ return regionEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getRegion_Vertices() {
+ return (EReference)regionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getTransition() {
+ return transitionEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getTransition_Target() {
+ return (EReference)transitionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getTransition_Source() {
+ return (EReference)transitionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getStatechart() {
+ return statechartEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getEntry() {
+ return entryEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getSynchronization() {
+ return synchronizationEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getState() {
+ return stateEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getRegularState() {
+ return regularStateEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getCompositeElement() {
+ return compositeElementEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getCompositeElement_Regions() {
+ return (EReference)compositeElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getChoice() {
+ return choiceEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getExit() {
+ return exitEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getFinalState() {
+ return finalStateEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public YakinduFactory getYakinduFactory() {
+ return (YakinduFactory)getEFactoryInstance();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ *
+ *
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ pseudostateEClass = createEClass(PSEUDOSTATE);
+
+ vertexEClass = createEClass(VERTEX);
+ createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS);
+ createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS);
+
+ regionEClass = createEClass(REGION);
+ createEReference(regionEClass, REGION__VERTICES);
+
+ transitionEClass = createEClass(TRANSITION);
+ createEReference(transitionEClass, TRANSITION__TARGET);
+ createEReference(transitionEClass, TRANSITION__SOURCE);
+
+ statechartEClass = createEClass(STATECHART);
+
+ entryEClass = createEClass(ENTRY);
+
+ synchronizationEClass = createEClass(SYNCHRONIZATION);
+
+ stateEClass = createEClass(STATE);
+
+ regularStateEClass = createEClass(REGULAR_STATE);
+
+ compositeElementEClass = createEClass(COMPOSITE_ELEMENT);
+ createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS);
+
+ choiceEClass = createEClass(CHOICE);
+
+ exitEClass = createEClass(EXIT);
+
+ finalStateEClass = createEClass(FINAL_STATE);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ *
+ *
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ pseudostateEClass.getESuperTypes().add(this.getVertex());
+ statechartEClass.getESuperTypes().add(this.getCompositeElement());
+ entryEClass.getESuperTypes().add(this.getPseudostate());
+ synchronizationEClass.getESuperTypes().add(this.getPseudostate());
+ stateEClass.getESuperTypes().add(this.getRegularState());
+ stateEClass.getESuperTypes().add(this.getCompositeElement());
+ regularStateEClass.getESuperTypes().add(this.getVertex());
+ choiceEClass.getESuperTypes().add(this.getPseudostate());
+ exitEClass.getESuperTypes().add(this.getPseudostate());
+ finalStateEClass.getESuperTypes().add(this.getRegularState());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getVertex_IncomingTransitions(), this.getTransition(), this.getTransition_Target(), "incomingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getVertex_OutgoingTransitions(), this.getTransition(), this.getTransition_Source(), "outgoingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRegion_Vertices(), this.getVertex(), null, "vertices", null, 0, -1, Region.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTransition_Target(), this.getVertex(), this.getVertex_IncomingTransitions(), "target", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getTransition_Source(), this.getVertex(), this.getVertex_OutgoingTransitions(), "source", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCompositeElement_Regions(), this.getRegion(), null, "regions", null, 0, -1, CompositeElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //YakinduPackageImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduFactoryImpl.java
deleted file mode 100644
index 5d004565..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduFactoryImpl.java
+++ /dev/null
@@ -1,183 +0,0 @@
-/**
- */
-package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
-
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
-
-import org.eclipse.emf.ecore.EClass;
-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;
-
-/**
- *
- * An implementation of the model Factory.
- *
- * @generated
- */
-public class yakinduFactoryImpl extends EFactoryImpl implements yakinduFactory {
- /**
- * Creates the default factory implementation.
- *
- *
- * @generated
- */
- public static yakinduFactory init() {
- try {
- yakinduFactory theyakinduFactory = (yakinduFactory)EPackage.Registry.INSTANCE.getEFactory(yakinduPackage.eNS_URI);
- if (theyakinduFactory != null) {
- return theyakinduFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new yakinduFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- *
- *
- * @generated
- */
- public yakinduFactoryImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case yakinduPackage.REGION: return createRegion();
- case yakinduPackage.TRANSITION: return createTransition();
- case yakinduPackage.STATECHART: return createStatechart();
- case yakinduPackage.ENTRY: return createEntry();
- case yakinduPackage.SYNCHRONIZATION: return createSynchronization();
- case yakinduPackage.STATE: return createState();
- case yakinduPackage.CHOICE: return createChoice();
- case yakinduPackage.EXIT: return createExit();
- case yakinduPackage.FINAL_STATE: return createFinalState();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- *
- *
- * @generated
- */
- public Region createRegion() {
- RegionImpl region = new RegionImpl();
- return region;
- }
-
- /**
- *
- *
- * @generated
- */
- public Transition createTransition() {
- TransitionImpl transition = new TransitionImpl();
- return transition;
- }
-
- /**
- *
- *
- * @generated
- */
- public Statechart createStatechart() {
- StatechartImpl statechart = new StatechartImpl();
- return statechart;
- }
-
- /**
- *
- *
- * @generated
- */
- public Entry createEntry() {
- EntryImpl entry = new EntryImpl();
- return entry;
- }
-
- /**
- *
- *
- * @generated
- */
- public Synchronization createSynchronization() {
- SynchronizationImpl synchronization = new SynchronizationImpl();
- return synchronization;
- }
-
- /**
- *
- *
- * @generated
- */
- public State createState() {
- StateImpl state = new StateImpl();
- return state;
- }
-
- /**
- *
- *
- * @generated
- */
- public Choice createChoice() {
- ChoiceImpl choice = new ChoiceImpl();
- return choice;
- }
-
- /**
- *
- *
- * @generated
- */
- public Exit createExit() {
- ExitImpl exit = new ExitImpl();
- return exit;
- }
-
- /**
- *
- *
- * @generated
- */
- public FinalState createFinalState() {
- FinalStateImpl finalState = new FinalStateImpl();
- return finalState;
- }
-
- /**
- *
- *
- * @generated
- */
- public yakinduPackage getyakinduPackage() {
- return (yakinduPackage)getEPackage();
- }
-
- /**
- *
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static yakinduPackage getPackage() {
- return yakinduPackage.eINSTANCE;
- }
-
-} //yakinduFactoryImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduPackageImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduPackageImpl.java
deleted file mode 100644
index 2213e07f..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduPackageImpl.java
+++ /dev/null
@@ -1,494 +0,0 @@
-/**
- */
-package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
-
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduFactory;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-/**
- *
- * An implementation of the model Package.
- *
- * @generated
- */
-public class yakinduPackageImpl extends EPackageImpl implements yakinduPackage {
- /**
- *
- *
- * @generated
- */
- private EClass pseudostateEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass vertexEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass regionEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass transitionEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass statechartEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass entryEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass synchronizationEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass stateEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass regularStateEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass compositeElementEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass choiceEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass exitEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass finalStateEClass = null;
-
- /**
- * Creates an instance of the model Package, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- *
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.
- *
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private yakinduPackageImpl() {
- super(eNS_URI, yakinduFactory.eINSTANCE);
- }
-
- /**
- *
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
- *
- *
This method is used to initialize {@link yakinduPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- *
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static yakinduPackage init() {
- if (isInited) return (yakinduPackage)EPackage.Registry.INSTANCE.getEPackage(yakinduPackage.eNS_URI);
-
- // Obtain or create and register package
- yakinduPackageImpl theyakinduPackage = (yakinduPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof yakinduPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new yakinduPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theyakinduPackage.createPackageContents();
-
- // Initialize created meta-data
- theyakinduPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theyakinduPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(yakinduPackage.eNS_URI, theyakinduPackage);
- return theyakinduPackage;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getPseudostate() {
- return pseudostateEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getVertex() {
- return vertexEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getVertex_IncomingTransitions() {
- return (EReference)vertexEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getVertex_OutgoingTransitions() {
- return (EReference)vertexEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getRegion() {
- return regionEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getRegion_Vertices() {
- return (EReference)regionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getTransition() {
- return transitionEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getTransition_Target() {
- return (EReference)transitionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getTransition_Source() {
- return (EReference)transitionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getStatechart() {
- return statechartEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getEntry() {
- return entryEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getSynchronization() {
- return synchronizationEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getState() {
- return stateEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getRegularState() {
- return regularStateEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getCompositeElement() {
- return compositeElementEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getCompositeElement_Regions() {
- return (EReference)compositeElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getChoice() {
- return choiceEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getExit() {
- return exitEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getFinalState() {
- return finalStateEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public yakinduFactory getyakinduFactory() {
- return (yakinduFactory)getEFactoryInstance();
- }
-
- /**
- *
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- *
- *
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- pseudostateEClass = createEClass(PSEUDOSTATE);
-
- vertexEClass = createEClass(VERTEX);
- createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS);
- createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS);
-
- regionEClass = createEClass(REGION);
- createEReference(regionEClass, REGION__VERTICES);
-
- transitionEClass = createEClass(TRANSITION);
- createEReference(transitionEClass, TRANSITION__TARGET);
- createEReference(transitionEClass, TRANSITION__SOURCE);
-
- statechartEClass = createEClass(STATECHART);
-
- entryEClass = createEClass(ENTRY);
-
- synchronizationEClass = createEClass(SYNCHRONIZATION);
-
- stateEClass = createEClass(STATE);
-
- regularStateEClass = createEClass(REGULAR_STATE);
-
- compositeElementEClass = createEClass(COMPOSITE_ELEMENT);
- createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS);
-
- choiceEClass = createEClass(CHOICE);
-
- exitEClass = createEClass(EXIT);
-
- finalStateEClass = createEClass(FINAL_STATE);
- }
-
- /**
- *
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- *
- *
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- pseudostateEClass.getESuperTypes().add(this.getVertex());
- statechartEClass.getESuperTypes().add(this.getCompositeElement());
- entryEClass.getESuperTypes().add(this.getPseudostate());
- synchronizationEClass.getESuperTypes().add(this.getPseudostate());
- stateEClass.getESuperTypes().add(this.getRegularState());
- stateEClass.getESuperTypes().add(this.getCompositeElement());
- regularStateEClass.getESuperTypes().add(this.getVertex());
- choiceEClass.getESuperTypes().add(this.getPseudostate());
- exitEClass.getESuperTypes().add(this.getPseudostate());
- finalStateEClass.getESuperTypes().add(this.getRegularState());
-
- // Initialize classes, features, and operations; add parameters
- initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getVertex_IncomingTransitions(), this.getTransition(), this.getTransition_Target(), "incomingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getVertex_OutgoingTransitions(), this.getTransition(), this.getTransition_Source(), "outgoingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRegion_Vertices(), this.getVertex(), null, "vertices", null, 0, -1, Region.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTransition_Target(), this.getVertex(), this.getVertex_IncomingTransitions(), "target", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getTransition_Source(), this.getVertex(), this.getVertex_OutgoingTransitions(), "source", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCompositeElement_Regions(), this.getRegion(), null, "regions", null, 0, -1, CompositeElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //yakinduPackageImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduAdapterFactory.java
new file mode 100644
index 00000000..566f01e5
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduAdapterFactory.java
@@ -0,0 +1,336 @@
+/**
+ */
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
+
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
+
+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;
+
+/**
+ *
+ * The Adapter Factory for the model.
+ * It provides an adapter createXXX
method for each class of the model.
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
+ * @generated
+ */
+public class YakinduAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static YakinduPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public YakinduAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = YakinduPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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;
+ }
+
+ /**
+ * The switch that delegates to the createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected YakinduSwitch modelSwitch =
+ new YakinduSwitch() {
+ @Override
+ public Adapter casePseudostate(Pseudostate object) {
+ return createPseudostateAdapter();
+ }
+ @Override
+ public Adapter caseVertex(Vertex object) {
+ return createVertexAdapter();
+ }
+ @Override
+ public Adapter caseRegion(Region object) {
+ return createRegionAdapter();
+ }
+ @Override
+ public Adapter caseTransition(Transition object) {
+ return createTransitionAdapter();
+ }
+ @Override
+ public Adapter caseStatechart(Statechart object) {
+ return createStatechartAdapter();
+ }
+ @Override
+ public Adapter caseEntry(Entry object) {
+ return createEntryAdapter();
+ }
+ @Override
+ public Adapter caseSynchronization(Synchronization object) {
+ return createSynchronizationAdapter();
+ }
+ @Override
+ public Adapter caseState(State object) {
+ return createStateAdapter();
+ }
+ @Override
+ public Adapter caseRegularState(RegularState object) {
+ return createRegularStateAdapter();
+ }
+ @Override
+ public Adapter caseCompositeElement(CompositeElement object) {
+ return createCompositeElementAdapter();
+ }
+ @Override
+ public Adapter caseChoice(Choice object) {
+ return createChoiceAdapter();
+ }
+ @Override
+ public Adapter caseExit(Exit object) {
+ return createExitAdapter();
+ }
+ @Override
+ public Adapter caseFinalState(FinalState object) {
+ return createFinalStateAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the target
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate Pseudostate}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
+ * @generated
+ */
+ public Adapter createPseudostateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex Vertex}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
+ * @generated
+ */
+ public Adapter createVertexAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region Region}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
+ * @generated
+ */
+ public Adapter createRegionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition Transition}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
+ * @generated
+ */
+ public Adapter createTransitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart Statechart}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
+ * @generated
+ */
+ public Adapter createStatechartAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry Entry}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
+ * @generated
+ */
+ public Adapter createEntryAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization Synchronization}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
+ * @generated
+ */
+ public Adapter createSynchronizationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State State}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
+ * @generated
+ */
+ public Adapter createStateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState Regular State}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
+ * @generated
+ */
+ public Adapter createRegularStateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement Composite Element}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
+ * @generated
+ */
+ public Adapter createCompositeElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice Choice}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
+ * @generated
+ */
+ public Adapter createChoiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit Exit}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
+ * @generated
+ */
+ public Adapter createExitAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState Final State}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
+ * @generated
+ */
+ public Adapter createFinalStateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //YakinduAdapterFactory
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduSwitch.java
new file mode 100644
index 00000000..fdaff54d
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduSwitch.java
@@ -0,0 +1,378 @@
+/**
+ */
+package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
+
+import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
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.
+ *
+ * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
+ * @generated
+ */
+public class YakinduSwitch extends Switch {
+ /**
+ * The cached model package
+ *
+ *
+ * @generated
+ */
+ protected static YakinduPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ *
+ *
+ * @generated
+ */
+ public YakinduSwitch() {
+ if (modelPackage == null) {
+ modelPackage = YakinduPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ *
+ *
+ * @param 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;
+ }
+
+ /**
+ * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case YakinduPackage.PSEUDOSTATE: {
+ Pseudostate pseudostate = (Pseudostate)theEObject;
+ T result = casePseudostate(pseudostate);
+ if (result == null) result = caseVertex(pseudostate);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.VERTEX: {
+ Vertex vertex = (Vertex)theEObject;
+ T result = caseVertex(vertex);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.REGION: {
+ Region region = (Region)theEObject;
+ T result = caseRegion(region);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.TRANSITION: {
+ Transition transition = (Transition)theEObject;
+ T result = caseTransition(transition);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.STATECHART: {
+ Statechart statechart = (Statechart)theEObject;
+ T result = caseStatechart(statechart);
+ if (result == null) result = caseCompositeElement(statechart);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.ENTRY: {
+ Entry entry = (Entry)theEObject;
+ T result = caseEntry(entry);
+ if (result == null) result = casePseudostate(entry);
+ if (result == null) result = caseVertex(entry);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.SYNCHRONIZATION: {
+ Synchronization synchronization = (Synchronization)theEObject;
+ T result = caseSynchronization(synchronization);
+ if (result == null) result = casePseudostate(synchronization);
+ if (result == null) result = caseVertex(synchronization);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.STATE: {
+ State state = (State)theEObject;
+ T result = caseState(state);
+ if (result == null) result = caseRegularState(state);
+ if (result == null) result = caseCompositeElement(state);
+ if (result == null) result = caseVertex(state);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.REGULAR_STATE: {
+ RegularState regularState = (RegularState)theEObject;
+ T result = caseRegularState(regularState);
+ if (result == null) result = caseVertex(regularState);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.COMPOSITE_ELEMENT: {
+ CompositeElement compositeElement = (CompositeElement)theEObject;
+ T result = caseCompositeElement(compositeElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.CHOICE: {
+ Choice choice = (Choice)theEObject;
+ T result = caseChoice(choice);
+ if (result == null) result = casePseudostate(choice);
+ if (result == null) result = caseVertex(choice);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.EXIT: {
+ Exit exit = (Exit)theEObject;
+ T result = caseExit(exit);
+ if (result == null) result = casePseudostate(exit);
+ if (result == null) result = caseVertex(exit);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case YakinduPackage.FINAL_STATE: {
+ FinalState finalState = (FinalState)theEObject;
+ T result = caseFinalState(finalState);
+ if (result == null) result = caseRegularState(finalState);
+ if (result == null) result = caseVertex(finalState);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Pseudostate'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Pseudostate'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePseudostate(Pseudostate object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Vertex'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Vertex'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVertex(Vertex object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Region'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Region'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRegion(Region object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Transition'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Transition'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTransition(Transition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Statechart'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Statechart'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseStatechart(Statechart object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Entry'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Entry'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEntry(Entry object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Synchronization'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Synchronization'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSynchronization(Synchronization object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'State'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'State'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseState(State object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Regular State'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Regular State'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRegularState(RegularState object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Composite Element'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Composite Element'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCompositeElement(CompositeElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Choice'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Choice'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseChoice(Choice object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Exit'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Exit'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExit(Exit object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Final State'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Final State'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFinalState(FinalState object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //YakinduSwitch
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduAdapterFactory.java
deleted file mode 100644
index b8fafb35..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduAdapterFactory.java
+++ /dev/null
@@ -1,336 +0,0 @@
-/**
- */
-package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
-
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
-
-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;
-
-/**
- *
- * The Adapter Factory for the model.
- * It provides an adapter createXXX
method for each class of the model.
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage
- * @generated
- */
-public class yakinduAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- *
- *
- * @generated
- */
- protected static yakinduPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- *
- *
- * @generated
- */
- public yakinduAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = yakinduPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- *
- * This implementation returns true
if the object is either the model's package or is an instance object of the model.
- *
- * @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;
- }
-
- /**
- * The switch that delegates to the createXXX
methods.
- *
- *
- * @generated
- */
- protected yakinduSwitch modelSwitch =
- new yakinduSwitch() {
- @Override
- public Adapter casePseudostate(Pseudostate object) {
- return createPseudostateAdapter();
- }
- @Override
- public Adapter caseVertex(Vertex object) {
- return createVertexAdapter();
- }
- @Override
- public Adapter caseRegion(Region object) {
- return createRegionAdapter();
- }
- @Override
- public Adapter caseTransition(Transition object) {
- return createTransitionAdapter();
- }
- @Override
- public Adapter caseStatechart(Statechart object) {
- return createStatechartAdapter();
- }
- @Override
- public Adapter caseEntry(Entry object) {
- return createEntryAdapter();
- }
- @Override
- public Adapter caseSynchronization(Synchronization object) {
- return createSynchronizationAdapter();
- }
- @Override
- public Adapter caseState(State object) {
- return createStateAdapter();
- }
- @Override
- public Adapter caseRegularState(RegularState object) {
- return createRegularStateAdapter();
- }
- @Override
- public Adapter caseCompositeElement(CompositeElement object) {
- return createCompositeElementAdapter();
- }
- @Override
- public Adapter caseChoice(Choice object) {
- return createChoiceAdapter();
- }
- @Override
- public Adapter caseExit(Exit object) {
- return createExitAdapter();
- }
- @Override
- public Adapter caseFinalState(FinalState object) {
- return createFinalStateAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the target
.
- *
- *
- * @param target the object to adapt.
- * @return the adapter for the target
.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate Pseudostate}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
- * @generated
- */
- public Adapter createPseudostateAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex Vertex}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
- * @generated
- */
- public Adapter createVertexAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region Region}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
- * @generated
- */
- public Adapter createRegionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition Transition}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
- * @generated
- */
- public Adapter createTransitionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart Statechart}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
- * @generated
- */
- public Adapter createStatechartAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry Entry}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
- * @generated
- */
- public Adapter createEntryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization Synchronization}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
- * @generated
- */
- public Adapter createSynchronizationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State State}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
- * @generated
- */
- public Adapter createStateAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState Regular State}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
- * @generated
- */
- public Adapter createRegularStateAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement Composite Element}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
- * @generated
- */
- public Adapter createCompositeElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice Choice}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
- * @generated
- */
- public Adapter createChoiceAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit Exit}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
- * @generated
- */
- public Adapter createExitAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState Final State}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
- * @generated
- */
- public Adapter createFinalStateAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- *
- * This default implementation returns null.
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //yakinduAdapterFactory
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduSwitch.java
deleted file mode 100644
index fbc6f821..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduSwitch.java
+++ /dev/null
@@ -1,378 +0,0 @@
-/**
- */
-package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
-
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-/**
- *
- * The Switch for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the caseXXX
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.
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage
- * @generated
- */
-public class yakinduSwitch extends Switch {
- /**
- * The cached model package
- *
- *
- * @generated
- */
- protected static yakinduPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- *
- *
- * @generated
- */
- public yakinduSwitch() {
- if (modelPackage == null) {
- modelPackage = yakinduPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- *
- *
- * @param 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;
- }
-
- /**
- * Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
- *
- *
- * @return the first non-null result returned by a caseXXX
call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case yakinduPackage.PSEUDOSTATE: {
- Pseudostate pseudostate = (Pseudostate)theEObject;
- T result = casePseudostate(pseudostate);
- if (result == null) result = caseVertex(pseudostate);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.VERTEX: {
- Vertex vertex = (Vertex)theEObject;
- T result = caseVertex(vertex);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.REGION: {
- Region region = (Region)theEObject;
- T result = caseRegion(region);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.TRANSITION: {
- Transition transition = (Transition)theEObject;
- T result = caseTransition(transition);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.STATECHART: {
- Statechart statechart = (Statechart)theEObject;
- T result = caseStatechart(statechart);
- if (result == null) result = caseCompositeElement(statechart);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.ENTRY: {
- Entry entry = (Entry)theEObject;
- T result = caseEntry(entry);
- if (result == null) result = casePseudostate(entry);
- if (result == null) result = caseVertex(entry);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.SYNCHRONIZATION: {
- Synchronization synchronization = (Synchronization)theEObject;
- T result = caseSynchronization(synchronization);
- if (result == null) result = casePseudostate(synchronization);
- if (result == null) result = caseVertex(synchronization);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.STATE: {
- State state = (State)theEObject;
- T result = caseState(state);
- if (result == null) result = caseRegularState(state);
- if (result == null) result = caseCompositeElement(state);
- if (result == null) result = caseVertex(state);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.REGULAR_STATE: {
- RegularState regularState = (RegularState)theEObject;
- T result = caseRegularState(regularState);
- if (result == null) result = caseVertex(regularState);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.COMPOSITE_ELEMENT: {
- CompositeElement compositeElement = (CompositeElement)theEObject;
- T result = caseCompositeElement(compositeElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.CHOICE: {
- Choice choice = (Choice)theEObject;
- T result = caseChoice(choice);
- if (result == null) result = casePseudostate(choice);
- if (result == null) result = caseVertex(choice);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.EXIT: {
- Exit exit = (Exit)theEObject;
- T result = caseExit(exit);
- if (result == null) result = casePseudostate(exit);
- if (result == null) result = caseVertex(exit);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case yakinduPackage.FINAL_STATE: {
- FinalState finalState = (FinalState)theEObject;
- T result = caseFinalState(finalState);
- if (result == null) result = caseRegularState(finalState);
- if (result == null) result = caseVertex(finalState);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Pseudostate'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Pseudostate'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePseudostate(Pseudostate object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Vertex'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Vertex'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseVertex(Vertex object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Region'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Region'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRegion(Region object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Transition'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Transition'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTransition(Transition object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Statechart'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Statechart'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStatechart(Statechart object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Entry'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Entry'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEntry(Entry object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Synchronization'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Synchronization'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSynchronization(Synchronization object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'State'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'State'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseState(State object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Regular State'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Regular State'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRegularState(RegularState object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Composite Element'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Composite Element'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCompositeElement(CompositeElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Choice'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Choice'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseChoice(Choice object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Exit'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Exit'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseExit(Exit object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Final State'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Final State'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFinalState(FinalState object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'EObject'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'EObject'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //yakinduSwitch
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduFactory.java
deleted file mode 100644
index 6d437ecb..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduFactory.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/**
- */
-package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- *
- * The Factory for the model.
- * It provides a create method for each non-abstract class of the model.
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage
- * @generated
- */
-public interface yakinduFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- *
- *
- * @generated
- */
- yakinduFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduFactoryImpl.init();
-
- /**
- * Returns a new object of class 'Region'.
- *
- *
- * @return a new object of class 'Region'.
- * @generated
- */
- Region createRegion();
-
- /**
- * Returns a new object of class 'Transition'.
- *
- *
- * @return a new object of class 'Transition'.
- * @generated
- */
- Transition createTransition();
-
- /**
- * Returns a new object of class 'Statechart'.
- *
- *
- * @return a new object of class 'Statechart'.
- * @generated
- */
- Statechart createStatechart();
-
- /**
- * Returns a new object of class 'Entry'.
- *
- *
- * @return a new object of class 'Entry'.
- * @generated
- */
- Entry createEntry();
-
- /**
- * Returns a new object of class 'Synchronization'.
- *
- *
- * @return a new object of class 'Synchronization'.
- * @generated
- */
- Synchronization createSynchronization();
-
- /**
- * Returns a new object of class 'State'.
- *
- *
- * @return a new object of class 'State'.
- * @generated
- */
- State createState();
-
- /**
- * Returns a new object of class 'Choice'.
- *
- *
- * @return a new object of class 'Choice'.
- * @generated
- */
- Choice createChoice();
-
- /**
- * Returns a new object of class 'Exit'.
- *
- *
- * @return a new object of class 'Exit'.
- * @generated
- */
- Exit createExit();
-
- /**
- * Returns a new object of class 'Final State'.
- *
- *
- * @return a new object of class 'Final State'.
- * @generated
- */
- FinalState createFinalState();
-
- /**
- * Returns the package supported by this factory.
- *
- *
- * @return the package supported by this factory.
- * @generated
- */
- yakinduPackage getyakinduPackage();
-
-} //yakinduFactory
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduPackage.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduPackage.java
deleted file mode 100644
index b3b14944..00000000
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/yakinduPackage.java
+++ /dev/null
@@ -1,1038 +0,0 @@
-/**
- */
-package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- *
- * The Package for the model.
- * It contains accessors for the meta objects to represent
- *
- * - each class,
- * - each feature of each class,
- * - each operation of each class,
- * - each enum,
- * - and each data type
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduFactory
- * @model kind="package"
- * @generated
- */
-public interface yakinduPackage extends EPackage {
- /**
- * The package name.
- *
- *
- * @generated
- */
- String eNAME = "yakindu";
-
- /**
- * The package namespace URI.
- *
- *
- * @generated
- */
- String eNS_URI = "YakinduMetamodel";
-
- /**
- * The package namespace name.
- *
- *
- * @generated
- */
- String eNS_PREFIX = "yakindu";
-
- /**
- * The singleton instance of the package.
- *
- *
- * @generated
- */
- yakinduPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl.init();
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl Vertex}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getVertex()
- * @generated
- */
- int VERTEX = 1;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int VERTEX__INCOMING_TRANSITIONS = 0;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int VERTEX__OUTGOING_TRANSITIONS = 1;
-
- /**
- * The number of structural features of the 'Vertex' class.
- *
- *
- * @generated
- * @ordered
- */
- int VERTEX_FEATURE_COUNT = 2;
-
- /**
- * The number of operations of the 'Vertex' class.
- *
- *
- * @generated
- * @ordered
- */
- int VERTEX_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl Pseudostate}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getPseudostate()
- * @generated
- */
- int PSEUDOSTATE = 0;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
-
- /**
- * The number of structural features of the 'Pseudostate' class.
- *
- *
- * @generated
- * @ordered
- */
- int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Pseudostate' class.
- *
- *
- * @generated
- * @ordered
- */
- int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl Region}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getRegion()
- * @generated
- */
- int REGION = 2;
-
- /**
- * The feature id for the 'Vertices' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int REGION__VERTICES = 0;
-
- /**
- * The number of structural features of the 'Region' class.
- *
- *
- * @generated
- * @ordered
- */
- int REGION_FEATURE_COUNT = 1;
-
- /**
- * The number of operations of the 'Region' class.
- *
- *
- * @generated
- * @ordered
- */
- int REGION_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl Transition}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getTransition()
- * @generated
- */
- int TRANSITION = 3;
-
- /**
- * The feature id for the 'Target' reference.
- *
- *
- * @generated
- * @ordered
- */
- int TRANSITION__TARGET = 0;
-
- /**
- * The feature id for the 'Source' container reference.
- *
- *
- * @generated
- * @ordered
- */
- int TRANSITION__SOURCE = 1;
-
- /**
- * The number of structural features of the 'Transition' class.
- *
- *
- * @generated
- * @ordered
- */
- int TRANSITION_FEATURE_COUNT = 2;
-
- /**
- * The number of operations of the 'Transition' class.
- *
- *
- * @generated
- * @ordered
- */
- int TRANSITION_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl Composite Element}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getCompositeElement()
- * @generated
- */
- int COMPOSITE_ELEMENT = 9;
-
- /**
- * The feature id for the 'Regions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int COMPOSITE_ELEMENT__REGIONS = 0;
-
- /**
- * The number of structural features of the 'Composite Element' class.
- *
- *
- * @generated
- * @ordered
- */
- int COMPOSITE_ELEMENT_FEATURE_COUNT = 1;
-
- /**
- * The number of operations of the 'Composite Element' class.
- *
- *
- * @generated
- * @ordered
- */
- int COMPOSITE_ELEMENT_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl Statechart}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getStatechart()
- * @generated
- */
- int STATECHART = 4;
-
- /**
- * The feature id for the 'Regions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS;
-
- /**
- * The number of structural features of the 'Statechart' class.
- *
- *
- * @generated
- * @ordered
- */
- int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Statechart' class.
- *
- *
- * @generated
- * @ordered
- */
- int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl Entry}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getEntry()
- * @generated
- */
- int ENTRY = 5;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
-
- /**
- * The number of structural features of the 'Entry' class.
- *
- *
- * @generated
- * @ordered
- */
- int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Entry' class.
- *
- *
- * @generated
- * @ordered
- */
- int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl Synchronization}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getSynchronization()
- * @generated
- */
- int SYNCHRONIZATION = 6;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int SYNCHRONIZATION__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int SYNCHRONIZATION__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
-
- /**
- * The number of structural features of the 'Synchronization' class.
- *
- *
- * @generated
- * @ordered
- */
- int SYNCHRONIZATION_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Synchronization' class.
- *
- *
- * @generated
- * @ordered
- */
- int SYNCHRONIZATION_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl Regular State}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getRegularState()
- * @generated
- */
- int REGULAR_STATE = 8;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
-
- /**
- * The number of structural features of the 'Regular State' class.
- *
- *
- * @generated
- * @ordered
- */
- int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Regular State' class.
- *
- *
- * @generated
- * @ordered
- */
- int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl State}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getState()
- * @generated
- */
- int STATE = 7;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
-
- /**
- * The feature id for the 'Regions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'State' class.
- *
- *
- * @generated
- * @ordered
- */
- int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the 'State' class.
- *
- *
- * @generated
- * @ordered
- */
- int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl Choice}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getChoice()
- * @generated
- */
- int CHOICE = 10;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
-
- /**
- * The number of structural features of the 'Choice' class.
- *
- *
- * @generated
- * @ordered
- */
- int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Choice' class.
- *
- *
- * @generated
- * @ordered
- */
- int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl Exit}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getExit()
- * @generated
- */
- int EXIT = 11;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
-
- /**
- * The number of structural features of the 'Exit' class.
- *
- *
- * @generated
- * @ordered
- */
- int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Exit' class.
- *
- *
- * @generated
- * @ordered
- */
- int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl Final State}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getFinalState()
- * @generated
- */
- int FINAL_STATE = 12;
-
- /**
- * The feature id for the 'Incoming Transitions' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
-
- /**
- * The feature id for the 'Outgoing Transitions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
-
- /**
- * The number of structural features of the 'Final State' class.
- *
- *
- * @generated
- * @ordered
- */
- int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the 'Final State' class.
- *
- *
- * @generated
- * @ordered
- */
- int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
-
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate Pseudostate}'.
- *
- *
- * @return the meta object for class 'Pseudostate'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
- * @generated
- */
- EClass getPseudostate();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex Vertex}'.
- *
- *
- * @return the meta object for class 'Vertex'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
- * @generated
- */
- EClass getVertex();
-
- /**
- * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions Incoming Transitions}'.
- *
- *
- * @return the meta object for the reference list 'Incoming Transitions'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions()
- * @see #getVertex()
- * @generated
- */
- EReference getVertex_IncomingTransitions();
-
- /**
- * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions Outgoing Transitions}'.
- *
- *
- * @return the meta object for the containment reference list 'Outgoing Transitions'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions()
- * @see #getVertex()
- * @generated
- */
- EReference getVertex_OutgoingTransitions();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region Region}'.
- *
- *
- * @return the meta object for class 'Region'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
- * @generated
- */
- EClass getRegion();
-
- /**
- * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices Vertices}'.
- *
- *
- * @return the meta object for the containment reference list 'Vertices'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices()
- * @see #getRegion()
- * @generated
- */
- EReference getRegion_Vertices();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition Transition}'.
- *
- *
- * @return the meta object for class 'Transition'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
- * @generated
- */
- EClass getTransition();
-
- /**
- * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget Target}'.
- *
- *
- * @return the meta object for the reference 'Target'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget()
- * @see #getTransition()
- * @generated
- */
- EReference getTransition_Target();
-
- /**
- * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource Source}'.
- *
- *
- * @return the meta object for the container reference 'Source'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource()
- * @see #getTransition()
- * @generated
- */
- EReference getTransition_Source();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart Statechart}'.
- *
- *
- * @return the meta object for class 'Statechart'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
- * @generated
- */
- EClass getStatechart();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry Entry}'.
- *
- *
- * @return the meta object for class 'Entry'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
- * @generated
- */
- EClass getEntry();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization Synchronization}'.
- *
- *
- * @return the meta object for class 'Synchronization'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
- * @generated
- */
- EClass getSynchronization();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State State}'.
- *
- *
- * @return the meta object for class 'State'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
- * @generated
- */
- EClass getState();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState Regular State}'.
- *
- *
- * @return the meta object for class 'Regular State'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
- * @generated
- */
- EClass getRegularState();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement Composite Element}'.
- *
- *
- * @return the meta object for class 'Composite Element'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
- * @generated
- */
- EClass getCompositeElement();
-
- /**
- * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions Regions}'.
- *
- *
- * @return the meta object for the containment reference list 'Regions'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions()
- * @see #getCompositeElement()
- * @generated
- */
- EReference getCompositeElement_Regions();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice Choice}'.
- *
- *
- * @return the meta object for class 'Choice'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
- * @generated
- */
- EClass getChoice();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit Exit}'.
- *
- *
- * @return the meta object for class 'Exit'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
- * @generated
- */
- EClass getExit();
-
- /**
- * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState Final State}'.
- *
- *
- * @return the meta object for class 'Final State'.
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
- * @generated
- */
- EClass getFinalState();
-
- /**
- * Returns the factory that creates the instances of the model.
- *
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- yakinduFactory getyakinduFactory();
-
- /**
- *
- * Defines literals for the meta objects that represent
- *
- * - each class,
- * - each feature of each class,
- * - each operation of each class,
- * - each enum,
- * - and each data type
- *
- *
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl Pseudostate}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getPseudostate()
- * @generated
- */
- EClass PSEUDOSTATE = eINSTANCE.getPseudostate();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl Vertex}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getVertex()
- * @generated
- */
- EClass VERTEX = eINSTANCE.getVertex();
-
- /**
- * The meta object literal for the 'Incoming Transitions' reference list feature.
- *
- *
- * @generated
- */
- EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions();
-
- /**
- * The meta object literal for the 'Outgoing Transitions' containment reference list feature.
- *
- *
- * @generated
- */
- EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl Region}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getRegion()
- * @generated
- */
- EClass REGION = eINSTANCE.getRegion();
-
- /**
- * The meta object literal for the 'Vertices' containment reference list feature.
- *
- *
- * @generated
- */
- EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl Transition}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getTransition()
- * @generated
- */
- EClass TRANSITION = eINSTANCE.getTransition();
-
- /**
- * The meta object literal for the 'Target' reference feature.
- *
- *
- * @generated
- */
- EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();
-
- /**
- * The meta object literal for the 'Source' container reference feature.
- *
- *
- * @generated
- */
- EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl Statechart}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getStatechart()
- * @generated
- */
- EClass STATECHART = eINSTANCE.getStatechart();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl Entry}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getEntry()
- * @generated
- */
- EClass ENTRY = eINSTANCE.getEntry();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl Synchronization}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getSynchronization()
- * @generated
- */
- EClass SYNCHRONIZATION = eINSTANCE.getSynchronization();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl State}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getState()
- * @generated
- */
- EClass STATE = eINSTANCE.getState();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl Regular State}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getRegularState()
- * @generated
- */
- EClass REGULAR_STATE = eINSTANCE.getRegularState();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl Composite Element}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getCompositeElement()
- * @generated
- */
- EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement();
-
- /**
- * The meta object literal for the 'Regions' containment reference list feature.
- *
- *
- * @generated
- */
- EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl Choice}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getChoice()
- * @generated
- */
- EClass CHOICE = eINSTANCE.getChoice();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl Exit}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getExit()
- * @generated
- */
- EClass EXIT = eINSTANCE.getExit();
-
- /**
- * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl Final State}' class.
- *
- *
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
- * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.yakinduPackageImpl#getFinalState()
- * @generated
- */
- EClass FINAL_STATE = eINSTANCE.getFinalState();
-
- }
-
-} //yakinduPackage
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/plugin.xml b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/plugin.xml
index f8fc4d59..33dc7485 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/plugin.xml
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/plugin.xml
@@ -236,7 +236,4 @@
-
-
-
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.EcoreTest.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.EcoreTest.xtendbin
index 7e2c1f12..890872ea 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.EcoreTest.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.EcoreTest.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin
index 9ef2b1a0..8d7947e1 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FileSystemTest.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FileSystemTest.xtendbin
index 468a5b6f..91741fb2 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FileSystemTest.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FileSystemTest.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.GeneralTest.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.GeneralTest.xtendbin
index ecbaed63..e1fba1c4 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.GeneralTest.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.GeneralTest.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.YakinduTest.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.YakinduTest.xtendbin
index bed2786b..22b54964 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.YakinduTest.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.YakinduTest.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTest.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTest.java
index f0d7d924..f8502439 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTest.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTest.java
@@ -1,112 +1,10 @@
package ca.mcgill.ecse.dslreasoner.vampire.icse;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
-import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage;
-import ca.mcgill.ecse.dslreasoner.vampire.icse.GeneralTest;
-import ca.mcgill.ecse.dslreasoner.vampire.reasoner.VampireSolver;
-import ca.mcgill.ecse.dslreasoner.vampire.reasoner.VampireSolverConfiguration;
-import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic;
-import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration;
-import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace;
-import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor;
-import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel;
-import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasoner;
-import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput;
-import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type;
-import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem;
-import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult;
-import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic;
-import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic;
-import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace;
-import java.util.HashMap;
-import java.util.Map;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;
-import org.eclipse.xtend2.lib.StringConcatenation;
-import org.eclipse.xtext.xbase.lib.Exceptions;
-import org.eclipse.xtext.xbase.lib.InputOutput;
-import org.eclipse.xtext.xbase.lib.ObjectExtensions;
-import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
-
@SuppressWarnings("all")
public class YakinduTest {
public static void main(final String[] args) {
- try {
- final Ecore2Logic ecore2Logic = new Ecore2Logic();
- final Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic);
- final InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic();
- StringConcatenation _builder = new StringConcatenation();
- _builder.append("initialModels/");
- final FileSystemWorkspace inputs = new FileSystemWorkspace(_builder.toString(), "");
- StringConcatenation _builder_1 = new StringConcatenation();
- _builder_1.append("output/YakinduTest/");
- final FileSystemWorkspace workspace = new FileSystemWorkspace(_builder_1.toString(), "");
- workspace.initAndClear();
- final Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE;
- final Map map = reg.getExtensionToFactoryMap();
- XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl();
- map.put("logicproblem", _xMIResourceFactoryImpl);
- InputOutput.println("Input and output workspaces are created");
- final EcoreMetamodelDescriptor metamodel = GeneralTest.loadMetamodel(yakinduPackage.eINSTANCE);
- final EList partialModel = GeneralTest.loadPartialModel(inputs, "yakindu/yakinduinstance.xmi");
- final Object queries = null;
- InputOutput.println("DSL loaded");
- Ecore2LogicConfiguration _ecore2LogicConfiguration = new Ecore2LogicConfiguration();
- final TracedOutput modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel, _ecore2LogicConfiguration);
- LogicProblem problem = modelGenerationProblem.getOutput();
- problem = instanceModel2Logic.transform(modelGenerationProblem, partialModel).getOutput();
- workspace.writeModel(problem, "Yakindu.logicproblem");
- InputOutput.println("Problem created");
- long startTime = System.currentTimeMillis();
- LogicReasoner reasoner = null;
- VampireSolver _vampireSolver = new VampireSolver();
- reasoner = _vampireSolver;
- final HashMap classMapMin = new HashMap();
- classMapMin.put(Region.class, Integer.valueOf(1));
- classMapMin.put(Transition.class, Integer.valueOf(2));
- classMapMin.put(CompositeElement.class, Integer.valueOf(3));
- final Map typeMapMin = GeneralTest.getTypeMap(classMapMin, metamodel, ecore2Logic, modelGenerationProblem.getTrace());
- final HashMap classMapMax = new HashMap();
- classMapMax.put(Region.class, Integer.valueOf(5));
- classMapMax.put(Transition.class, Integer.valueOf(2));
- classMapMax.put(Synchronization.class, Integer.valueOf(4));
- final Map typeMapMax = GeneralTest.getTypeMap(classMapMax, metamodel, ecore2Logic, modelGenerationProblem.getTrace());
- VampireSolverConfiguration _vampireSolverConfiguration = new VampireSolverConfiguration();
- final Procedure1 _function = (VampireSolverConfiguration it) -> {
- it.documentationLevel = DocumentationLevel.FULL;
- it.typeScopes.minNewElements = 20;
- it.typeScopes.maxNewElements = 30;
- int _size = typeMapMin.size();
- boolean _notEquals = (_size != 0);
- if (_notEquals) {
- it.typeScopes.minNewElementsByType = typeMapMin;
- }
- int _size_1 = typeMapMin.size();
- boolean _notEquals_1 = (_size_1 != 0);
- if (_notEquals_1) {
- it.typeScopes.maxNewElementsByType = typeMapMax;
- }
- it.contCycleLevel = 5;
- it.uniquenessDuplicates = false;
- };
- final VampireSolverConfiguration vampireConfig = ObjectExtensions.operator_doubleArrow(_vampireSolverConfiguration, _function);
- LogicResult solution = reasoner.solve(problem, vampireConfig, workspace);
- long _currentTimeMillis = System.currentTimeMillis();
- long _minus = (_currentTimeMillis - startTime);
- long totalTimeMin = (_minus / 60000);
- long _currentTimeMillis_1 = System.currentTimeMillis();
- long _minus_1 = (_currentTimeMillis_1 - startTime);
- long _divide = (_minus_1 / 1000);
- long totalTimeSec = (_divide % 60);
- InputOutput.println("Problem solved");
- InputOutput.println(((("Time was: " + Long.valueOf(totalTimeMin)) + ":") + Long.valueOf(totalTimeSec)));
- } catch (Throwable _e) {
- throw Exceptions.sneakyThrow(_e);
- }
+ throw new Error("Unresolved compilation problems:"
+ + "\nThe method or field yakinduPackage is undefined"
+ + "\neINSTANCE cannot be resolved");
}
}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.MedicalSystem.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.MedicalSystem.xtendbin
index 1bcd0a44..c33ed958 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.MedicalSystem.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.MedicalSystem.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.SimpleRun.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.SimpleRun.xtendbin
index 6272497d..9fecf93f 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.SimpleRun.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.SimpleRun.xtendbin differ
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.VampireTest.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.VampireTest.xtendbin
index 2f327d75..7b5be981 100644
Binary files a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.VampireTest.xtendbin and b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/test/.VampireTest.xtendbin differ
--
cgit v1.2.3-70-g09d2