diff options
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src')
34 files changed, 9278 insertions, 0 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java index 8cd339c5..aab59128 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -15,3 +16,22 @@ package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | |||
15 | */ | 16 | */ |
16 | public interface Choice extends Pseudostate { | 17 | public interface Choice extends Pseudostate { |
17 | } // Choice | 18 | } // Choice |
19 | ======= | ||
20 | /** | ||
21 | */ | ||
22 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
23 | |||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * A representation of the model object '<em><b>Choice</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * | ||
30 | * | ||
31 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getChoice() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | public interface Choice extends Pseudostate { | ||
36 | } // Choice | ||
37 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Choice.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java index cf2949d8..4565a3b9 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -40,3 +41,47 @@ public interface CompositeElement extends EObject { | |||
40 | EList<Region> getRegions(); | 41 | EList<Region> getRegions(); |
41 | 42 | ||
42 | } // CompositeElement | 43 | } // CompositeElement |
44 | ======= | ||
45 | /** | ||
46 | */ | ||
47 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
48 | |||
49 | import org.eclipse.emf.common.util.EList; | ||
50 | |||
51 | import org.eclipse.emf.ecore.EObject; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * A representation of the model object '<em><b>Composite Element</b></em>'. | ||
56 | * <!-- end-user-doc --> | ||
57 | * | ||
58 | * <p> | ||
59 | * The following features are supported: | ||
60 | * </p> | ||
61 | * <ul> | ||
62 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions <em>Regions</em>}</li> | ||
63 | * </ul> | ||
64 | * | ||
65 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getCompositeElement() | ||
66 | * @model abstract="true" | ||
67 | * @generated | ||
68 | */ | ||
69 | public interface CompositeElement extends EObject { | ||
70 | /** | ||
71 | * Returns the value of the '<em><b>Regions</b></em>' containment reference list. | ||
72 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region}. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <p> | ||
75 | * If the meaning of the '<em>Regions</em>' containment reference list isn't clear, | ||
76 | * there really should be more of a description here... | ||
77 | * </p> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @return the value of the '<em>Regions</em>' containment reference list. | ||
80 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getCompositeElement_Regions() | ||
81 | * @model containment="true" | ||
82 | * @generated | ||
83 | */ | ||
84 | EList<Region> getRegions(); | ||
85 | |||
86 | } // CompositeElement | ||
87 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/CompositeElement.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java index 961a2aec..b525ca11 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -15,3 +16,22 @@ package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | |||
15 | */ | 16 | */ |
16 | public interface Exit extends Pseudostate { | 17 | public interface Exit extends Pseudostate { |
17 | } // Exit | 18 | } // Exit |
19 | ======= | ||
20 | /** | ||
21 | */ | ||
22 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
23 | |||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * A representation of the model object '<em><b>Exit</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * | ||
30 | * | ||
31 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getExit() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | public interface Exit extends Pseudostate { | ||
36 | } // Exit | ||
37 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Exit.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java index bcc20dfd..cb947fab 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -15,3 +16,22 @@ package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | |||
15 | */ | 16 | */ |
16 | public interface FinalState extends RegularState { | 17 | public interface FinalState extends RegularState { |
17 | } // FinalState | 18 | } // FinalState |
19 | ======= | ||
20 | /** | ||
21 | */ | ||
22 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
23 | |||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * A representation of the model object '<em><b>Final State</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * | ||
30 | * | ||
31 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getFinalState() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | public interface FinalState extends RegularState { | ||
36 | } // FinalState | ||
37 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/FinalState.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java index f938d5b3..5d7db7ba 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -15,3 +16,22 @@ package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | |||
15 | */ | 16 | */ |
16 | public interface Pseudostate extends Vertex { | 17 | public interface Pseudostate extends Vertex { |
17 | } // Pseudostate | 18 | } // Pseudostate |
19 | ======= | ||
20 | /** | ||
21 | */ | ||
22 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
23 | |||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * A representation of the model object '<em><b>Pseudostate</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * | ||
30 | * | ||
31 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getPseudostate() | ||
32 | * @model abstract="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | public interface Pseudostate extends Vertex { | ||
36 | } // Pseudostate | ||
37 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Pseudostate.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java index ce361dce..616068ee 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -40,3 +41,47 @@ public interface Region extends EObject { | |||
40 | EList<Vertex> getVertices(); | 41 | EList<Vertex> getVertices(); |
41 | 42 | ||
42 | } // Region | 43 | } // Region |
44 | ======= | ||
45 | /** | ||
46 | */ | ||
47 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
48 | |||
49 | import org.eclipse.emf.common.util.EList; | ||
50 | |||
51 | import org.eclipse.emf.ecore.EObject; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * A representation of the model object '<em><b>Region</b></em>'. | ||
56 | * <!-- end-user-doc --> | ||
57 | * | ||
58 | * <p> | ||
59 | * The following features are supported: | ||
60 | * </p> | ||
61 | * <ul> | ||
62 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices <em>Vertices</em>}</li> | ||
63 | * </ul> | ||
64 | * | ||
65 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegion() | ||
66 | * @model | ||
67 | * @generated | ||
68 | */ | ||
69 | public interface Region extends EObject { | ||
70 | /** | ||
71 | * Returns the value of the '<em><b>Vertices</b></em>' containment reference list. | ||
72 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex}. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <p> | ||
75 | * If the meaning of the '<em>Vertices</em>' containment reference list isn't clear, | ||
76 | * there really should be more of a description here... | ||
77 | * </p> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @return the value of the '<em>Vertices</em>' containment reference list. | ||
80 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegion_Vertices() | ||
81 | * @model containment="true" ordered="false" | ||
82 | * @generated | ||
83 | */ | ||
84 | EList<Vertex> getVertices(); | ||
85 | |||
86 | } // Region | ||
87 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Region.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java index e5b552cd..f21ccb53 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -15,3 +16,22 @@ package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | |||
15 | */ | 16 | */ |
16 | public interface RegularState extends Vertex { | 17 | public interface RegularState extends Vertex { |
17 | } // RegularState | 18 | } // RegularState |
19 | ======= | ||
20 | /** | ||
21 | */ | ||
22 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
23 | |||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * A representation of the model object '<em><b>Regular State</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * | ||
30 | * | ||
31 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegularState() | ||
32 | * @model abstract="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | public interface RegularState extends Vertex { | ||
36 | } // RegularState | ||
37 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/RegularState.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java index 2cee971c..469b334e 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -15,3 +16,22 @@ package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | |||
15 | */ | 16 | */ |
16 | public interface State extends RegularState, CompositeElement { | 17 | public interface State extends RegularState, CompositeElement { |
17 | } // State | 18 | } // State |
19 | ======= | ||
20 | /** | ||
21 | */ | ||
22 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
23 | |||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * A representation of the model object '<em><b>State</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * | ||
30 | * | ||
31 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getState() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | public interface State extends RegularState, CompositeElement { | ||
36 | } // State | ||
37 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/State.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java index 4d32fd53..d59fbb51 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -15,3 +16,22 @@ package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | |||
15 | */ | 16 | */ |
16 | public interface Statechart extends CompositeElement { | 17 | public interface Statechart extends CompositeElement { |
17 | } // Statechart | 18 | } // Statechart |
19 | ======= | ||
20 | /** | ||
21 | */ | ||
22 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
23 | |||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * A representation of the model object '<em><b>Statechart</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * | ||
30 | * | ||
31 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getStatechart() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | public interface Statechart extends CompositeElement { | ||
36 | } // Statechart | ||
37 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Statechart.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java index 0518bfdb..b5d4b2bb 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -79,3 +80,86 @@ public interface Transition extends EObject { | |||
79 | void setSource(Vertex value); | 80 | void setSource(Vertex value); |
80 | 81 | ||
81 | } // Transition | 82 | } // Transition |
83 | ======= | ||
84 | /** | ||
85 | */ | ||
86 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
87 | |||
88 | import org.eclipse.emf.ecore.EObject; | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * A representation of the model object '<em><b>Transition</b></em>'. | ||
93 | * <!-- end-user-doc --> | ||
94 | * | ||
95 | * <p> | ||
96 | * The following features are supported: | ||
97 | * </p> | ||
98 | * <ul> | ||
99 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}</li> | ||
100 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}</li> | ||
101 | * </ul> | ||
102 | * | ||
103 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition() | ||
104 | * @model | ||
105 | * @generated | ||
106 | */ | ||
107 | public interface Transition extends EObject { | ||
108 | /** | ||
109 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
110 | * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'. | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <p> | ||
113 | * If the meaning of the '<em>Target</em>' reference isn't clear, | ||
114 | * there really should be more of a description here... | ||
115 | * </p> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @return the value of the '<em>Target</em>' reference. | ||
118 | * @see #setTarget(Vertex) | ||
119 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition_Target() | ||
120 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions | ||
121 | * @model opposite="incomingTransitions" required="true" ordered="false" | ||
122 | * @generated | ||
123 | */ | ||
124 | Vertex getTarget(); | ||
125 | |||
126 | /** | ||
127 | * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}' reference. | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @param value the new value of the '<em>Target</em>' reference. | ||
131 | * @see #getTarget() | ||
132 | * @generated | ||
133 | */ | ||
134 | void setTarget(Vertex value); | ||
135 | |||
136 | /** | ||
137 | * Returns the value of the '<em><b>Source</b></em>' container reference. | ||
138 | * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'. | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <p> | ||
141 | * If the meaning of the '<em>Source</em>' container reference isn't clear, | ||
142 | * there really should be more of a description here... | ||
143 | * </p> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @return the value of the '<em>Source</em>' container reference. | ||
146 | * @see #setSource(Vertex) | ||
147 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition_Source() | ||
148 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions | ||
149 | * @model opposite="outgoingTransitions" transient="false" ordered="false" | ||
150 | * @generated | ||
151 | */ | ||
152 | Vertex getSource(); | ||
153 | |||
154 | /** | ||
155 | * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}' container reference. | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @param value the new value of the '<em>Source</em>' container reference. | ||
159 | * @see #getSource() | ||
160 | * @generated | ||
161 | */ | ||
162 | void setSource(Vertex value); | ||
163 | |||
164 | } // Transition | ||
165 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Transition.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java index 43db469b..9659946c 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -61,3 +62,68 @@ public interface Vertex extends EObject { | |||
61 | EList<Transition> getOutgoingTransitions(); | 62 | EList<Transition> getOutgoingTransitions(); |
62 | 63 | ||
63 | } // Vertex | 64 | } // Vertex |
65 | ======= | ||
66 | /** | ||
67 | */ | ||
68 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
69 | |||
70 | import org.eclipse.emf.common.util.EList; | ||
71 | |||
72 | import org.eclipse.emf.ecore.EObject; | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * A representation of the model object '<em><b>Vertex</b></em>'. | ||
77 | * <!-- end-user-doc --> | ||
78 | * | ||
79 | * <p> | ||
80 | * The following features are supported: | ||
81 | * </p> | ||
82 | * <ul> | ||
83 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}</li> | ||
84 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}</li> | ||
85 | * </ul> | ||
86 | * | ||
87 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex() | ||
88 | * @model abstract="true" | ||
89 | * @generated | ||
90 | */ | ||
91 | public interface Vertex extends EObject { | ||
92 | /** | ||
93 | * Returns the value of the '<em><b>Incoming Transitions</b></em>' reference list. | ||
94 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition}. | ||
95 | * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}'. | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <p> | ||
98 | * If the meaning of the '<em>Incoming Transitions</em>' reference list isn't clear, | ||
99 | * there really should be more of a description here... | ||
100 | * </p> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @return the value of the '<em>Incoming Transitions</em>' reference list. | ||
103 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex_IncomingTransitions() | ||
104 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget | ||
105 | * @model opposite="target" ordered="false" | ||
106 | * @generated | ||
107 | */ | ||
108 | EList<Transition> getIncomingTransitions(); | ||
109 | |||
110 | /** | ||
111 | * Returns the value of the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
112 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition}. | ||
113 | * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}'. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <p> | ||
116 | * If the meaning of the '<em>Outgoing Transitions</em>' containment reference list isn't clear, | ||
117 | * there really should be more of a description here... | ||
118 | * </p> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @return the value of the '<em>Outgoing Transitions</em>' containment reference list. | ||
121 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex_OutgoingTransitions() | ||
122 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource | ||
123 | * @model opposite="source" containment="true" ordered="false" | ||
124 | * @generated | ||
125 | */ | ||
126 | EList<Transition> getOutgoingTransitions(); | ||
127 | |||
128 | } // Vertex | ||
129 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Vertex.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java new file mode 100644 index 00000000..72a15aa1 --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java | |||
@@ -0,0 +1,222 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java | ||
2 | /** | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EFactory; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * The <b>Factory</b> for the model. | ||
11 | * It provides a create method for each non-abstract class of the model. | ||
12 | * <!-- end-user-doc --> | ||
13 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface YakindummFactory extends EFactory { | ||
17 | /** | ||
18 | * The singleton instance of the factory. | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | YakindummFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummFactoryImpl.init(); | ||
24 | |||
25 | /** | ||
26 | * Returns a new object of class '<em>Region</em>'. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return a new object of class '<em>Region</em>'. | ||
30 | * @generated | ||
31 | */ | ||
32 | Region createRegion(); | ||
33 | |||
34 | /** | ||
35 | * Returns a new object of class '<em>Transition</em>'. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return a new object of class '<em>Transition</em>'. | ||
39 | * @generated | ||
40 | */ | ||
41 | Transition createTransition(); | ||
42 | |||
43 | /** | ||
44 | * Returns a new object of class '<em>Statechart</em>'. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @return a new object of class '<em>Statechart</em>'. | ||
48 | * @generated | ||
49 | */ | ||
50 | Statechart createStatechart(); | ||
51 | |||
52 | /** | ||
53 | * Returns a new object of class '<em>Entry</em>'. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @return a new object of class '<em>Entry</em>'. | ||
57 | * @generated | ||
58 | */ | ||
59 | Entry createEntry(); | ||
60 | |||
61 | /** | ||
62 | * Returns a new object of class '<em>State</em>'. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @return a new object of class '<em>State</em>'. | ||
66 | * @generated | ||
67 | */ | ||
68 | State createState(); | ||
69 | |||
70 | /** | ||
71 | * Returns a new object of class '<em>Choice</em>'. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return a new object of class '<em>Choice</em>'. | ||
75 | * @generated | ||
76 | */ | ||
77 | Choice createChoice(); | ||
78 | |||
79 | /** | ||
80 | * Returns a new object of class '<em>Exit</em>'. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @return a new object of class '<em>Exit</em>'. | ||
84 | * @generated | ||
85 | */ | ||
86 | Exit createExit(); | ||
87 | |||
88 | /** | ||
89 | * Returns a new object of class '<em>Final State</em>'. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @return a new object of class '<em>Final State</em>'. | ||
93 | * @generated | ||
94 | */ | ||
95 | FinalState createFinalState(); | ||
96 | |||
97 | /** | ||
98 | * Returns the package supported by this factory. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @return the package supported by this factory. | ||
102 | * @generated | ||
103 | */ | ||
104 | YakindummPackage getYakindummPackage(); | ||
105 | |||
106 | } //YakindummFactory | ||
107 | ======= | ||
108 | /** | ||
109 | */ | ||
110 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
111 | |||
112 | import org.eclipse.emf.ecore.EFactory; | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * The <b>Factory</b> for the model. | ||
117 | * It provides a create method for each non-abstract class of the model. | ||
118 | * <!-- end-user-doc --> | ||
119 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage | ||
120 | * @generated | ||
121 | */ | ||
122 | public interface YakinduFactory extends EFactory { | ||
123 | /** | ||
124 | * The singleton instance of the factory. | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | YakinduFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduFactoryImpl.init(); | ||
130 | |||
131 | /** | ||
132 | * Returns a new object of class '<em>Region</em>'. | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @return a new object of class '<em>Region</em>'. | ||
136 | * @generated | ||
137 | */ | ||
138 | Region createRegion(); | ||
139 | |||
140 | /** | ||
141 | * Returns a new object of class '<em>Transition</em>'. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @return a new object of class '<em>Transition</em>'. | ||
145 | * @generated | ||
146 | */ | ||
147 | Transition createTransition(); | ||
148 | |||
149 | /** | ||
150 | * Returns a new object of class '<em>Statechart</em>'. | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @return a new object of class '<em>Statechart</em>'. | ||
154 | * @generated | ||
155 | */ | ||
156 | Statechart createStatechart(); | ||
157 | |||
158 | /** | ||
159 | * Returns a new object of class '<em>Entry</em>'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @return a new object of class '<em>Entry</em>'. | ||
163 | * @generated | ||
164 | */ | ||
165 | Entry createEntry(); | ||
166 | |||
167 | /** | ||
168 | * Returns a new object of class '<em>Synchronization</em>'. | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @return a new object of class '<em>Synchronization</em>'. | ||
172 | * @generated | ||
173 | */ | ||
174 | Synchronization createSynchronization(); | ||
175 | |||
176 | /** | ||
177 | * Returns a new object of class '<em>State</em>'. | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @return a new object of class '<em>State</em>'. | ||
181 | * @generated | ||
182 | */ | ||
183 | State createState(); | ||
184 | |||
185 | /** | ||
186 | * Returns a new object of class '<em>Choice</em>'. | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @return a new object of class '<em>Choice</em>'. | ||
190 | * @generated | ||
191 | */ | ||
192 | Choice createChoice(); | ||
193 | |||
194 | /** | ||
195 | * Returns a new object of class '<em>Exit</em>'. | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @return a new object of class '<em>Exit</em>'. | ||
199 | * @generated | ||
200 | */ | ||
201 | Exit createExit(); | ||
202 | |||
203 | /** | ||
204 | * Returns a new object of class '<em>Final State</em>'. | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @return a new object of class '<em>Final State</em>'. | ||
208 | * @generated | ||
209 | */ | ||
210 | FinalState createFinalState(); | ||
211 | |||
212 | /** | ||
213 | * Returns the package supported by this factory. | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @return the package supported by this factory. | ||
217 | * @generated | ||
218 | */ | ||
219 | YakinduPackage getYakinduPackage(); | ||
220 | |||
221 | } //YakinduFactory | ||
222 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java new file mode 100644 index 00000000..f74d2357 --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java | |||
@@ -0,0 +1,2073 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java | ||
2 | /** | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EAttribute; | ||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EEnum; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | import org.eclipse.emf.ecore.EReference; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Package</b> for the model. | ||
15 | * It contains accessors for the meta objects to represent | ||
16 | * <ul> | ||
17 | * <li>each class,</li> | ||
18 | * <li>each feature of each class,</li> | ||
19 | * <li>each operation of each class,</li> | ||
20 | * <li>each enum,</li> | ||
21 | * <li>and each data type</li> | ||
22 | * </ul> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummFactory | ||
25 | * @model kind="package" | ||
26 | * @generated | ||
27 | */ | ||
28 | public interface YakindummPackage extends EPackage { | ||
29 | /** | ||
30 | * The package name. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | String eNAME = "yakindumm"; | ||
36 | |||
37 | /** | ||
38 | * The package namespace URI. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @generated | ||
42 | */ | ||
43 | String eNS_URI = "hu.bme.mit.inf.yakindumm"; | ||
44 | |||
45 | /** | ||
46 | * The package namespace name. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | String eNS_PREFIX = "ca.mcgill.ecse.yakindumm"; | ||
52 | |||
53 | /** | ||
54 | * The singleton instance of the package. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | YakindummPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl.init(); | ||
60 | |||
61 | /** | ||
62 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl <em>Vertex</em>}' class. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl | ||
66 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getVertex() | ||
67 | * @generated | ||
68 | */ | ||
69 | int VERTEX = 1; | ||
70 | |||
71 | /** | ||
72 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | * @ordered | ||
77 | */ | ||
78 | int VERTEX__INCOMING_TRANSITIONS = 0; | ||
79 | |||
80 | /** | ||
81 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | * @ordered | ||
86 | */ | ||
87 | int VERTEX__OUTGOING_TRANSITIONS = 1; | ||
88 | |||
89 | /** | ||
90 | * The number of structural features of the '<em>Vertex</em>' class. | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | * @ordered | ||
95 | */ | ||
96 | int VERTEX_FEATURE_COUNT = 2; | ||
97 | |||
98 | /** | ||
99 | * The number of operations of the '<em>Vertex</em>' class. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | * @ordered | ||
104 | */ | ||
105 | int VERTEX_OPERATION_COUNT = 0; | ||
106 | |||
107 | /** | ||
108 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl <em>Pseudostate</em>}' class. | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl | ||
112 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getPseudostate() | ||
113 | * @generated | ||
114 | */ | ||
115 | int PSEUDOSTATE = 0; | ||
116 | |||
117 | /** | ||
118 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | * @ordered | ||
123 | */ | ||
124 | int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS; | ||
125 | |||
126 | /** | ||
127 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | * @ordered | ||
132 | */ | ||
133 | int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS; | ||
134 | |||
135 | /** | ||
136 | * The number of structural features of the '<em>Pseudostate</em>' class. | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | * @ordered | ||
141 | */ | ||
142 | int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0; | ||
143 | |||
144 | /** | ||
145 | * The number of operations of the '<em>Pseudostate</em>' class. | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | * @ordered | ||
150 | */ | ||
151 | int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0; | ||
152 | |||
153 | /** | ||
154 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl <em>Region</em>}' class. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl | ||
158 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegion() | ||
159 | * @generated | ||
160 | */ | ||
161 | int REGION = 2; | ||
162 | |||
163 | /** | ||
164 | * The feature id for the '<em><b>Vertices</b></em>' containment reference list. | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | * @ordered | ||
169 | */ | ||
170 | int REGION__VERTICES = 0; | ||
171 | |||
172 | /** | ||
173 | * The number of structural features of the '<em>Region</em>' class. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | * @ordered | ||
178 | */ | ||
179 | int REGION_FEATURE_COUNT = 1; | ||
180 | |||
181 | /** | ||
182 | * The number of operations of the '<em>Region</em>' class. | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | * @ordered | ||
187 | */ | ||
188 | int REGION_OPERATION_COUNT = 0; | ||
189 | |||
190 | /** | ||
191 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl <em>Transition</em>}' class. | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl | ||
195 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getTransition() | ||
196 | * @generated | ||
197 | */ | ||
198 | int TRANSITION = 3; | ||
199 | |||
200 | /** | ||
201 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | * @ordered | ||
206 | */ | ||
207 | int TRANSITION__TARGET = 0; | ||
208 | |||
209 | /** | ||
210 | * The feature id for the '<em><b>Source</b></em>' container reference. | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | * @ordered | ||
215 | */ | ||
216 | int TRANSITION__SOURCE = 1; | ||
217 | |||
218 | /** | ||
219 | * The number of structural features of the '<em>Transition</em>' class. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * <!-- end-user-doc --> | ||
222 | * @generated | ||
223 | * @ordered | ||
224 | */ | ||
225 | int TRANSITION_FEATURE_COUNT = 2; | ||
226 | |||
227 | /** | ||
228 | * The number of operations of the '<em>Transition</em>' class. | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | * @ordered | ||
233 | */ | ||
234 | int TRANSITION_OPERATION_COUNT = 0; | ||
235 | |||
236 | /** | ||
237 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl <em>Composite Element</em>}' class. | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl | ||
241 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getCompositeElement() | ||
242 | * @generated | ||
243 | */ | ||
244 | int COMPOSITE_ELEMENT = 8; | ||
245 | |||
246 | /** | ||
247 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | * @ordered | ||
252 | */ | ||
253 | int COMPOSITE_ELEMENT__REGIONS = 0; | ||
254 | |||
255 | /** | ||
256 | * The number of structural features of the '<em>Composite Element</em>' class. | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @generated | ||
260 | * @ordered | ||
261 | */ | ||
262 | int COMPOSITE_ELEMENT_FEATURE_COUNT = 1; | ||
263 | |||
264 | /** | ||
265 | * The number of operations of the '<em>Composite Element</em>' class. | ||
266 | * <!-- begin-user-doc --> | ||
267 | * <!-- end-user-doc --> | ||
268 | * @generated | ||
269 | * @ordered | ||
270 | */ | ||
271 | int COMPOSITE_ELEMENT_OPERATION_COUNT = 0; | ||
272 | |||
273 | /** | ||
274 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl <em>Statechart</em>}' class. | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl | ||
278 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getStatechart() | ||
279 | * @generated | ||
280 | */ | ||
281 | int STATECHART = 4; | ||
282 | |||
283 | /** | ||
284 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | * @ordered | ||
289 | */ | ||
290 | int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS; | ||
291 | |||
292 | /** | ||
293 | * The number of structural features of the '<em>Statechart</em>' class. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | * @ordered | ||
298 | */ | ||
299 | int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0; | ||
300 | |||
301 | /** | ||
302 | * The number of operations of the '<em>Statechart</em>' class. | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | * @ordered | ||
307 | */ | ||
308 | int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0; | ||
309 | |||
310 | /** | ||
311 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl <em>Entry</em>}' class. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * <!-- end-user-doc --> | ||
314 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl | ||
315 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntry() | ||
316 | * @generated | ||
317 | */ | ||
318 | int ENTRY = 5; | ||
319 | |||
320 | /** | ||
321 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
322 | * <!-- begin-user-doc --> | ||
323 | * <!-- end-user-doc --> | ||
324 | * @generated | ||
325 | * @ordered | ||
326 | */ | ||
327 | int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
328 | |||
329 | /** | ||
330 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
331 | * <!-- begin-user-doc --> | ||
332 | * <!-- end-user-doc --> | ||
333 | * @generated | ||
334 | * @ordered | ||
335 | */ | ||
336 | int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
337 | |||
338 | /** | ||
339 | * The feature id for the '<em><b>Type</b></em>' attribute. | ||
340 | * <!-- begin-user-doc --> | ||
341 | * <!-- end-user-doc --> | ||
342 | * @generated | ||
343 | * @ordered | ||
344 | */ | ||
345 | int ENTRY__TYPE = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
346 | |||
347 | /** | ||
348 | * The number of structural features of the '<em>Entry</em>' class. | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | * @ordered | ||
353 | */ | ||
354 | int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 1; | ||
355 | |||
356 | /** | ||
357 | * The number of operations of the '<em>Entry</em>' class. | ||
358 | * <!-- begin-user-doc --> | ||
359 | * <!-- end-user-doc --> | ||
360 | * @generated | ||
361 | * @ordered | ||
362 | */ | ||
363 | int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
364 | |||
365 | /** | ||
366 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl <em>Regular State</em>}' class. | ||
367 | * <!-- begin-user-doc --> | ||
368 | * <!-- end-user-doc --> | ||
369 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl | ||
370 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegularState() | ||
371 | * @generated | ||
372 | */ | ||
373 | int REGULAR_STATE = 7; | ||
374 | |||
375 | /** | ||
376 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @generated | ||
380 | * @ordered | ||
381 | */ | ||
382 | int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS; | ||
383 | |||
384 | /** | ||
385 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @generated | ||
389 | * @ordered | ||
390 | */ | ||
391 | int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS; | ||
392 | |||
393 | /** | ||
394 | * The number of structural features of the '<em>Regular State</em>' class. | ||
395 | * <!-- begin-user-doc --> | ||
396 | * <!-- end-user-doc --> | ||
397 | * @generated | ||
398 | * @ordered | ||
399 | */ | ||
400 | int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0; | ||
401 | |||
402 | /** | ||
403 | * The number of operations of the '<em>Regular State</em>' class. | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @generated | ||
407 | * @ordered | ||
408 | */ | ||
409 | int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0; | ||
410 | |||
411 | /** | ||
412 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl <em>State</em>}' class. | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl | ||
416 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getState() | ||
417 | * @generated | ||
418 | */ | ||
419 | int STATE = 6; | ||
420 | |||
421 | /** | ||
422 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @generated | ||
426 | * @ordered | ||
427 | */ | ||
428 | int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS; | ||
429 | |||
430 | /** | ||
431 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
432 | * <!-- begin-user-doc --> | ||
433 | * <!-- end-user-doc --> | ||
434 | * @generated | ||
435 | * @ordered | ||
436 | */ | ||
437 | int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS; | ||
438 | |||
439 | /** | ||
440 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
441 | * <!-- begin-user-doc --> | ||
442 | * <!-- end-user-doc --> | ||
443 | * @generated | ||
444 | * @ordered | ||
445 | */ | ||
446 | int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0; | ||
447 | |||
448 | /** | ||
449 | * The number of structural features of the '<em>State</em>' class. | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @generated | ||
453 | * @ordered | ||
454 | */ | ||
455 | int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1; | ||
456 | |||
457 | /** | ||
458 | * The number of operations of the '<em>State</em>' class. | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @generated | ||
462 | * @ordered | ||
463 | */ | ||
464 | int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0; | ||
465 | |||
466 | /** | ||
467 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl <em>Choice</em>}' class. | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl | ||
471 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getChoice() | ||
472 | * @generated | ||
473 | */ | ||
474 | int CHOICE = 9; | ||
475 | |||
476 | /** | ||
477 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * <!-- end-user-doc --> | ||
480 | * @generated | ||
481 | * @ordered | ||
482 | */ | ||
483 | int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
484 | |||
485 | /** | ||
486 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
487 | * <!-- begin-user-doc --> | ||
488 | * <!-- end-user-doc --> | ||
489 | * @generated | ||
490 | * @ordered | ||
491 | */ | ||
492 | int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
493 | |||
494 | /** | ||
495 | * The number of structural features of the '<em>Choice</em>' class. | ||
496 | * <!-- begin-user-doc --> | ||
497 | * <!-- end-user-doc --> | ||
498 | * @generated | ||
499 | * @ordered | ||
500 | */ | ||
501 | int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
502 | |||
503 | /** | ||
504 | * The number of operations of the '<em>Choice</em>' class. | ||
505 | * <!-- begin-user-doc --> | ||
506 | * <!-- end-user-doc --> | ||
507 | * @generated | ||
508 | * @ordered | ||
509 | */ | ||
510 | int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
511 | |||
512 | /** | ||
513 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl <em>Exit</em>}' class. | ||
514 | * <!-- begin-user-doc --> | ||
515 | * <!-- end-user-doc --> | ||
516 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl | ||
517 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getExit() | ||
518 | * @generated | ||
519 | */ | ||
520 | int EXIT = 10; | ||
521 | |||
522 | /** | ||
523 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
524 | * <!-- begin-user-doc --> | ||
525 | * <!-- end-user-doc --> | ||
526 | * @generated | ||
527 | * @ordered | ||
528 | */ | ||
529 | int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
530 | |||
531 | /** | ||
532 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
533 | * <!-- begin-user-doc --> | ||
534 | * <!-- end-user-doc --> | ||
535 | * @generated | ||
536 | * @ordered | ||
537 | */ | ||
538 | int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
539 | |||
540 | /** | ||
541 | * The number of structural features of the '<em>Exit</em>' class. | ||
542 | * <!-- begin-user-doc --> | ||
543 | * <!-- end-user-doc --> | ||
544 | * @generated | ||
545 | * @ordered | ||
546 | */ | ||
547 | int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
548 | |||
549 | /** | ||
550 | * The number of operations of the '<em>Exit</em>' class. | ||
551 | * <!-- begin-user-doc --> | ||
552 | * <!-- end-user-doc --> | ||
553 | * @generated | ||
554 | * @ordered | ||
555 | */ | ||
556 | int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
557 | |||
558 | /** | ||
559 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl <em>Final State</em>}' class. | ||
560 | * <!-- begin-user-doc --> | ||
561 | * <!-- end-user-doc --> | ||
562 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl | ||
563 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getFinalState() | ||
564 | * @generated | ||
565 | */ | ||
566 | int FINAL_STATE = 11; | ||
567 | |||
568 | /** | ||
569 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
570 | * <!-- begin-user-doc --> | ||
571 | * <!-- end-user-doc --> | ||
572 | * @generated | ||
573 | * @ordered | ||
574 | */ | ||
575 | int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS; | ||
576 | |||
577 | /** | ||
578 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
579 | * <!-- begin-user-doc --> | ||
580 | * <!-- end-user-doc --> | ||
581 | * @generated | ||
582 | * @ordered | ||
583 | */ | ||
584 | int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS; | ||
585 | |||
586 | /** | ||
587 | * The number of structural features of the '<em>Final State</em>' class. | ||
588 | * <!-- begin-user-doc --> | ||
589 | * <!-- end-user-doc --> | ||
590 | * @generated | ||
591 | * @ordered | ||
592 | */ | ||
593 | int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0; | ||
594 | |||
595 | /** | ||
596 | * The number of operations of the '<em>Final State</em>' class. | ||
597 | * <!-- begin-user-doc --> | ||
598 | * <!-- end-user-doc --> | ||
599 | * @generated | ||
600 | * @ordered | ||
601 | */ | ||
602 | int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0; | ||
603 | |||
604 | /** | ||
605 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}' enum. | ||
606 | * <!-- begin-user-doc --> | ||
607 | * <!-- end-user-doc --> | ||
608 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType | ||
609 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntryType() | ||
610 | * @generated | ||
611 | */ | ||
612 | int ENTRY_TYPE = 12; | ||
613 | |||
614 | |||
615 | /** | ||
616 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate <em>Pseudostate</em>}'. | ||
617 | * <!-- begin-user-doc --> | ||
618 | * <!-- end-user-doc --> | ||
619 | * @return the meta object for class '<em>Pseudostate</em>'. | ||
620 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate | ||
621 | * @generated | ||
622 | */ | ||
623 | EClass getPseudostate(); | ||
624 | |||
625 | /** | ||
626 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex <em>Vertex</em>}'. | ||
627 | * <!-- begin-user-doc --> | ||
628 | * <!-- end-user-doc --> | ||
629 | * @return the meta object for class '<em>Vertex</em>'. | ||
630 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex | ||
631 | * @generated | ||
632 | */ | ||
633 | EClass getVertex(); | ||
634 | |||
635 | /** | ||
636 | * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'. | ||
637 | * <!-- begin-user-doc --> | ||
638 | * <!-- end-user-doc --> | ||
639 | * @return the meta object for the reference list '<em>Incoming Transitions</em>'. | ||
640 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions() | ||
641 | * @see #getVertex() | ||
642 | * @generated | ||
643 | */ | ||
644 | EReference getVertex_IncomingTransitions(); | ||
645 | |||
646 | /** | ||
647 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'. | ||
648 | * <!-- begin-user-doc --> | ||
649 | * <!-- end-user-doc --> | ||
650 | * @return the meta object for the containment reference list '<em>Outgoing Transitions</em>'. | ||
651 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions() | ||
652 | * @see #getVertex() | ||
653 | * @generated | ||
654 | */ | ||
655 | EReference getVertex_OutgoingTransitions(); | ||
656 | |||
657 | /** | ||
658 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region <em>Region</em>}'. | ||
659 | * <!-- begin-user-doc --> | ||
660 | * <!-- end-user-doc --> | ||
661 | * @return the meta object for class '<em>Region</em>'. | ||
662 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region | ||
663 | * @generated | ||
664 | */ | ||
665 | EClass getRegion(); | ||
666 | |||
667 | /** | ||
668 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region#getVertices <em>Vertices</em>}'. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @return the meta object for the containment reference list '<em>Vertices</em>'. | ||
672 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region#getVertices() | ||
673 | * @see #getRegion() | ||
674 | * @generated | ||
675 | */ | ||
676 | EReference getRegion_Vertices(); | ||
677 | |||
678 | /** | ||
679 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition <em>Transition</em>}'. | ||
680 | * <!-- begin-user-doc --> | ||
681 | * <!-- end-user-doc --> | ||
682 | * @return the meta object for class '<em>Transition</em>'. | ||
683 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition | ||
684 | * @generated | ||
685 | */ | ||
686 | EClass getTransition(); | ||
687 | |||
688 | /** | ||
689 | * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget <em>Target</em>}'. | ||
690 | * <!-- begin-user-doc --> | ||
691 | * <!-- end-user-doc --> | ||
692 | * @return the meta object for the reference '<em>Target</em>'. | ||
693 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget() | ||
694 | * @see #getTransition() | ||
695 | * @generated | ||
696 | */ | ||
697 | EReference getTransition_Target(); | ||
698 | |||
699 | /** | ||
700 | * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource <em>Source</em>}'. | ||
701 | * <!-- begin-user-doc --> | ||
702 | * <!-- end-user-doc --> | ||
703 | * @return the meta object for the container reference '<em>Source</em>'. | ||
704 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource() | ||
705 | * @see #getTransition() | ||
706 | * @generated | ||
707 | */ | ||
708 | EReference getTransition_Source(); | ||
709 | |||
710 | /** | ||
711 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart <em>Statechart</em>}'. | ||
712 | * <!-- begin-user-doc --> | ||
713 | * <!-- end-user-doc --> | ||
714 | * @return the meta object for class '<em>Statechart</em>'. | ||
715 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart | ||
716 | * @generated | ||
717 | */ | ||
718 | EClass getStatechart(); | ||
719 | |||
720 | /** | ||
721 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry <em>Entry</em>}'. | ||
722 | * <!-- begin-user-doc --> | ||
723 | * <!-- end-user-doc --> | ||
724 | * @return the meta object for class '<em>Entry</em>'. | ||
725 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry | ||
726 | * @generated | ||
727 | */ | ||
728 | EClass getEntry(); | ||
729 | |||
730 | /** | ||
731 | * Returns the meta object for the attribute '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType <em>Type</em>}'. | ||
732 | * <!-- begin-user-doc --> | ||
733 | * <!-- end-user-doc --> | ||
734 | * @return the meta object for the attribute '<em>Type</em>'. | ||
735 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType() | ||
736 | * @see #getEntry() | ||
737 | * @generated | ||
738 | */ | ||
739 | EAttribute getEntry_Type(); | ||
740 | |||
741 | /** | ||
742 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State <em>State</em>}'. | ||
743 | * <!-- begin-user-doc --> | ||
744 | * <!-- end-user-doc --> | ||
745 | * @return the meta object for class '<em>State</em>'. | ||
746 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State | ||
747 | * @generated | ||
748 | */ | ||
749 | EClass getState(); | ||
750 | |||
751 | /** | ||
752 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState <em>Regular State</em>}'. | ||
753 | * <!-- begin-user-doc --> | ||
754 | * <!-- end-user-doc --> | ||
755 | * @return the meta object for class '<em>Regular State</em>'. | ||
756 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState | ||
757 | * @generated | ||
758 | */ | ||
759 | EClass getRegularState(); | ||
760 | |||
761 | /** | ||
762 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement <em>Composite Element</em>}'. | ||
763 | * <!-- begin-user-doc --> | ||
764 | * <!-- end-user-doc --> | ||
765 | * @return the meta object for class '<em>Composite Element</em>'. | ||
766 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement | ||
767 | * @generated | ||
768 | */ | ||
769 | EClass getCompositeElement(); | ||
770 | |||
771 | /** | ||
772 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement#getRegions <em>Regions</em>}'. | ||
773 | * <!-- begin-user-doc --> | ||
774 | * <!-- end-user-doc --> | ||
775 | * @return the meta object for the containment reference list '<em>Regions</em>'. | ||
776 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement#getRegions() | ||
777 | * @see #getCompositeElement() | ||
778 | * @generated | ||
779 | */ | ||
780 | EReference getCompositeElement_Regions(); | ||
781 | |||
782 | /** | ||
783 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice <em>Choice</em>}'. | ||
784 | * <!-- begin-user-doc --> | ||
785 | * <!-- end-user-doc --> | ||
786 | * @return the meta object for class '<em>Choice</em>'. | ||
787 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice | ||
788 | * @generated | ||
789 | */ | ||
790 | EClass getChoice(); | ||
791 | |||
792 | /** | ||
793 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit <em>Exit</em>}'. | ||
794 | * <!-- begin-user-doc --> | ||
795 | * <!-- end-user-doc --> | ||
796 | * @return the meta object for class '<em>Exit</em>'. | ||
797 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit | ||
798 | * @generated | ||
799 | */ | ||
800 | EClass getExit(); | ||
801 | |||
802 | /** | ||
803 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState <em>Final State</em>}'. | ||
804 | * <!-- begin-user-doc --> | ||
805 | * <!-- end-user-doc --> | ||
806 | * @return the meta object for class '<em>Final State</em>'. | ||
807 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState | ||
808 | * @generated | ||
809 | */ | ||
810 | EClass getFinalState(); | ||
811 | |||
812 | /** | ||
813 | * Returns the meta object for enum '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}'. | ||
814 | * <!-- begin-user-doc --> | ||
815 | * <!-- end-user-doc --> | ||
816 | * @return the meta object for enum '<em>Entry Type</em>'. | ||
817 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType | ||
818 | * @generated | ||
819 | */ | ||
820 | EEnum getEntryType(); | ||
821 | |||
822 | /** | ||
823 | * Returns the factory that creates the instances of the model. | ||
824 | * <!-- begin-user-doc --> | ||
825 | * <!-- end-user-doc --> | ||
826 | * @return the factory that creates the instances of the model. | ||
827 | * @generated | ||
828 | */ | ||
829 | YakindummFactory getYakindummFactory(); | ||
830 | |||
831 | /** | ||
832 | * <!-- begin-user-doc --> | ||
833 | * Defines literals for the meta objects that represent | ||
834 | * <ul> | ||
835 | * <li>each class,</li> | ||
836 | * <li>each feature of each class,</li> | ||
837 | * <li>each operation of each class,</li> | ||
838 | * <li>each enum,</li> | ||
839 | * <li>and each data type</li> | ||
840 | * </ul> | ||
841 | * <!-- end-user-doc --> | ||
842 | * @generated | ||
843 | */ | ||
844 | interface Literals { | ||
845 | /** | ||
846 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl <em>Pseudostate</em>}' class. | ||
847 | * <!-- begin-user-doc --> | ||
848 | * <!-- end-user-doc --> | ||
849 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl | ||
850 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getPseudostate() | ||
851 | * @generated | ||
852 | */ | ||
853 | EClass PSEUDOSTATE = eINSTANCE.getPseudostate(); | ||
854 | |||
855 | /** | ||
856 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl <em>Vertex</em>}' class. | ||
857 | * <!-- begin-user-doc --> | ||
858 | * <!-- end-user-doc --> | ||
859 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl | ||
860 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getVertex() | ||
861 | * @generated | ||
862 | */ | ||
863 | EClass VERTEX = eINSTANCE.getVertex(); | ||
864 | |||
865 | /** | ||
866 | * The meta object literal for the '<em><b>Incoming Transitions</b></em>' reference list feature. | ||
867 | * <!-- begin-user-doc --> | ||
868 | * <!-- end-user-doc --> | ||
869 | * @generated | ||
870 | */ | ||
871 | EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions(); | ||
872 | |||
873 | /** | ||
874 | * The meta object literal for the '<em><b>Outgoing Transitions</b></em>' containment reference list feature. | ||
875 | * <!-- begin-user-doc --> | ||
876 | * <!-- end-user-doc --> | ||
877 | * @generated | ||
878 | */ | ||
879 | EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions(); | ||
880 | |||
881 | /** | ||
882 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl <em>Region</em>}' class. | ||
883 | * <!-- begin-user-doc --> | ||
884 | * <!-- end-user-doc --> | ||
885 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl | ||
886 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegion() | ||
887 | * @generated | ||
888 | */ | ||
889 | EClass REGION = eINSTANCE.getRegion(); | ||
890 | |||
891 | /** | ||
892 | * The meta object literal for the '<em><b>Vertices</b></em>' containment reference list feature. | ||
893 | * <!-- begin-user-doc --> | ||
894 | * <!-- end-user-doc --> | ||
895 | * @generated | ||
896 | */ | ||
897 | EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices(); | ||
898 | |||
899 | /** | ||
900 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl <em>Transition</em>}' class. | ||
901 | * <!-- begin-user-doc --> | ||
902 | * <!-- end-user-doc --> | ||
903 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl | ||
904 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getTransition() | ||
905 | * @generated | ||
906 | */ | ||
907 | EClass TRANSITION = eINSTANCE.getTransition(); | ||
908 | |||
909 | /** | ||
910 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
911 | * <!-- begin-user-doc --> | ||
912 | * <!-- end-user-doc --> | ||
913 | * @generated | ||
914 | */ | ||
915 | EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target(); | ||
916 | |||
917 | /** | ||
918 | * The meta object literal for the '<em><b>Source</b></em>' container reference feature. | ||
919 | * <!-- begin-user-doc --> | ||
920 | * <!-- end-user-doc --> | ||
921 | * @generated | ||
922 | */ | ||
923 | EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source(); | ||
924 | |||
925 | /** | ||
926 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl <em>Statechart</em>}' class. | ||
927 | * <!-- begin-user-doc --> | ||
928 | * <!-- end-user-doc --> | ||
929 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl | ||
930 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getStatechart() | ||
931 | * @generated | ||
932 | */ | ||
933 | EClass STATECHART = eINSTANCE.getStatechart(); | ||
934 | |||
935 | /** | ||
936 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl <em>Entry</em>}' class. | ||
937 | * <!-- begin-user-doc --> | ||
938 | * <!-- end-user-doc --> | ||
939 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl | ||
940 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntry() | ||
941 | * @generated | ||
942 | */ | ||
943 | EClass ENTRY = eINSTANCE.getEntry(); | ||
944 | |||
945 | /** | ||
946 | * The meta object literal for the '<em><b>Type</b></em>' attribute feature. | ||
947 | * <!-- begin-user-doc --> | ||
948 | * <!-- end-user-doc --> | ||
949 | * @generated | ||
950 | */ | ||
951 | EAttribute ENTRY__TYPE = eINSTANCE.getEntry_Type(); | ||
952 | |||
953 | /** | ||
954 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl <em>State</em>}' class. | ||
955 | * <!-- begin-user-doc --> | ||
956 | * <!-- end-user-doc --> | ||
957 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl | ||
958 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getState() | ||
959 | * @generated | ||
960 | */ | ||
961 | EClass STATE = eINSTANCE.getState(); | ||
962 | |||
963 | /** | ||
964 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl <em>Regular State</em>}' class. | ||
965 | * <!-- begin-user-doc --> | ||
966 | * <!-- end-user-doc --> | ||
967 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl | ||
968 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegularState() | ||
969 | * @generated | ||
970 | */ | ||
971 | EClass REGULAR_STATE = eINSTANCE.getRegularState(); | ||
972 | |||
973 | /** | ||
974 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl <em>Composite Element</em>}' class. | ||
975 | * <!-- begin-user-doc --> | ||
976 | * <!-- end-user-doc --> | ||
977 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl | ||
978 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getCompositeElement() | ||
979 | * @generated | ||
980 | */ | ||
981 | EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement(); | ||
982 | |||
983 | /** | ||
984 | * The meta object literal for the '<em><b>Regions</b></em>' containment reference list feature. | ||
985 | * <!-- begin-user-doc --> | ||
986 | * <!-- end-user-doc --> | ||
987 | * @generated | ||
988 | */ | ||
989 | EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions(); | ||
990 | |||
991 | /** | ||
992 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl <em>Choice</em>}' class. | ||
993 | * <!-- begin-user-doc --> | ||
994 | * <!-- end-user-doc --> | ||
995 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl | ||
996 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getChoice() | ||
997 | * @generated | ||
998 | */ | ||
999 | EClass CHOICE = eINSTANCE.getChoice(); | ||
1000 | |||
1001 | /** | ||
1002 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl <em>Exit</em>}' class. | ||
1003 | * <!-- begin-user-doc --> | ||
1004 | * <!-- end-user-doc --> | ||
1005 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl | ||
1006 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getExit() | ||
1007 | * @generated | ||
1008 | */ | ||
1009 | EClass EXIT = eINSTANCE.getExit(); | ||
1010 | |||
1011 | /** | ||
1012 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl <em>Final State</em>}' class. | ||
1013 | * <!-- begin-user-doc --> | ||
1014 | * <!-- end-user-doc --> | ||
1015 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl | ||
1016 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getFinalState() | ||
1017 | * @generated | ||
1018 | */ | ||
1019 | EClass FINAL_STATE = eINSTANCE.getFinalState(); | ||
1020 | |||
1021 | /** | ||
1022 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}' enum. | ||
1023 | * <!-- begin-user-doc --> | ||
1024 | * <!-- end-user-doc --> | ||
1025 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType | ||
1026 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntryType() | ||
1027 | * @generated | ||
1028 | */ | ||
1029 | EEnum ENTRY_TYPE = eINSTANCE.getEntryType(); | ||
1030 | |||
1031 | } | ||
1032 | |||
1033 | } //YakindummPackage | ||
1034 | ======= | ||
1035 | /** | ||
1036 | */ | ||
1037 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
1038 | |||
1039 | import org.eclipse.emf.ecore.EClass; | ||
1040 | import org.eclipse.emf.ecore.EPackage; | ||
1041 | import org.eclipse.emf.ecore.EReference; | ||
1042 | |||
1043 | /** | ||
1044 | * <!-- begin-user-doc --> | ||
1045 | * The <b>Package</b> for the model. | ||
1046 | * It contains accessors for the meta objects to represent | ||
1047 | * <ul> | ||
1048 | * <li>each class,</li> | ||
1049 | * <li>each feature of each class,</li> | ||
1050 | * <li>each operation of each class,</li> | ||
1051 | * <li>each enum,</li> | ||
1052 | * <li>and each data type</li> | ||
1053 | * </ul> | ||
1054 | * <!-- end-user-doc --> | ||
1055 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory | ||
1056 | * @model kind="package" | ||
1057 | * @generated | ||
1058 | */ | ||
1059 | public interface YakinduPackage extends EPackage { | ||
1060 | /** | ||
1061 | * The package name. | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @generated | ||
1065 | */ | ||
1066 | String eNAME = "yakindu"; | ||
1067 | |||
1068 | /** | ||
1069 | * The package namespace URI. | ||
1070 | * <!-- begin-user-doc --> | ||
1071 | * <!-- end-user-doc --> | ||
1072 | * @generated | ||
1073 | */ | ||
1074 | String eNS_URI = "YakinduMetamodel"; | ||
1075 | |||
1076 | /** | ||
1077 | * The package namespace name. | ||
1078 | * <!-- begin-user-doc --> | ||
1079 | * <!-- end-user-doc --> | ||
1080 | * @generated | ||
1081 | */ | ||
1082 | String eNS_PREFIX = "yakindu"; | ||
1083 | |||
1084 | /** | ||
1085 | * The singleton instance of the package. | ||
1086 | * <!-- begin-user-doc --> | ||
1087 | * <!-- end-user-doc --> | ||
1088 | * @generated | ||
1089 | */ | ||
1090 | YakinduPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl.init(); | ||
1091 | |||
1092 | /** | ||
1093 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class. | ||
1094 | * <!-- begin-user-doc --> | ||
1095 | * <!-- end-user-doc --> | ||
1096 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl | ||
1097 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex() | ||
1098 | * @generated | ||
1099 | */ | ||
1100 | int VERTEX = 1; | ||
1101 | |||
1102 | /** | ||
1103 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * <!-- end-user-doc --> | ||
1106 | * @generated | ||
1107 | * @ordered | ||
1108 | */ | ||
1109 | int VERTEX__INCOMING_TRANSITIONS = 0; | ||
1110 | |||
1111 | /** | ||
1112 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1113 | * <!-- begin-user-doc --> | ||
1114 | * <!-- end-user-doc --> | ||
1115 | * @generated | ||
1116 | * @ordered | ||
1117 | */ | ||
1118 | int VERTEX__OUTGOING_TRANSITIONS = 1; | ||
1119 | |||
1120 | /** | ||
1121 | * The number of structural features of the '<em>Vertex</em>' class. | ||
1122 | * <!-- begin-user-doc --> | ||
1123 | * <!-- end-user-doc --> | ||
1124 | * @generated | ||
1125 | * @ordered | ||
1126 | */ | ||
1127 | int VERTEX_FEATURE_COUNT = 2; | ||
1128 | |||
1129 | /** | ||
1130 | * The number of operations of the '<em>Vertex</em>' class. | ||
1131 | * <!-- begin-user-doc --> | ||
1132 | * <!-- end-user-doc --> | ||
1133 | * @generated | ||
1134 | * @ordered | ||
1135 | */ | ||
1136 | int VERTEX_OPERATION_COUNT = 0; | ||
1137 | |||
1138 | /** | ||
1139 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class. | ||
1140 | * <!-- begin-user-doc --> | ||
1141 | * <!-- end-user-doc --> | ||
1142 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl | ||
1143 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate() | ||
1144 | * @generated | ||
1145 | */ | ||
1146 | int PSEUDOSTATE = 0; | ||
1147 | |||
1148 | /** | ||
1149 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1150 | * <!-- begin-user-doc --> | ||
1151 | * <!-- end-user-doc --> | ||
1152 | * @generated | ||
1153 | * @ordered | ||
1154 | */ | ||
1155 | int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS; | ||
1156 | |||
1157 | /** | ||
1158 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1159 | * <!-- begin-user-doc --> | ||
1160 | * <!-- end-user-doc --> | ||
1161 | * @generated | ||
1162 | * @ordered | ||
1163 | */ | ||
1164 | int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS; | ||
1165 | |||
1166 | /** | ||
1167 | * The number of structural features of the '<em>Pseudostate</em>' class. | ||
1168 | * <!-- begin-user-doc --> | ||
1169 | * <!-- end-user-doc --> | ||
1170 | * @generated | ||
1171 | * @ordered | ||
1172 | */ | ||
1173 | int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0; | ||
1174 | |||
1175 | /** | ||
1176 | * The number of operations of the '<em>Pseudostate</em>' class. | ||
1177 | * <!-- begin-user-doc --> | ||
1178 | * <!-- end-user-doc --> | ||
1179 | * @generated | ||
1180 | * @ordered | ||
1181 | */ | ||
1182 | int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0; | ||
1183 | |||
1184 | /** | ||
1185 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class. | ||
1186 | * <!-- begin-user-doc --> | ||
1187 | * <!-- end-user-doc --> | ||
1188 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl | ||
1189 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion() | ||
1190 | * @generated | ||
1191 | */ | ||
1192 | int REGION = 2; | ||
1193 | |||
1194 | /** | ||
1195 | * The feature id for the '<em><b>Vertices</b></em>' containment reference list. | ||
1196 | * <!-- begin-user-doc --> | ||
1197 | * <!-- end-user-doc --> | ||
1198 | * @generated | ||
1199 | * @ordered | ||
1200 | */ | ||
1201 | int REGION__VERTICES = 0; | ||
1202 | |||
1203 | /** | ||
1204 | * The number of structural features of the '<em>Region</em>' class. | ||
1205 | * <!-- begin-user-doc --> | ||
1206 | * <!-- end-user-doc --> | ||
1207 | * @generated | ||
1208 | * @ordered | ||
1209 | */ | ||
1210 | int REGION_FEATURE_COUNT = 1; | ||
1211 | |||
1212 | /** | ||
1213 | * The number of operations of the '<em>Region</em>' class. | ||
1214 | * <!-- begin-user-doc --> | ||
1215 | * <!-- end-user-doc --> | ||
1216 | * @generated | ||
1217 | * @ordered | ||
1218 | */ | ||
1219 | int REGION_OPERATION_COUNT = 0; | ||
1220 | |||
1221 | /** | ||
1222 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class. | ||
1223 | * <!-- begin-user-doc --> | ||
1224 | * <!-- end-user-doc --> | ||
1225 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl | ||
1226 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition() | ||
1227 | * @generated | ||
1228 | */ | ||
1229 | int TRANSITION = 3; | ||
1230 | |||
1231 | /** | ||
1232 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
1233 | * <!-- begin-user-doc --> | ||
1234 | * <!-- end-user-doc --> | ||
1235 | * @generated | ||
1236 | * @ordered | ||
1237 | */ | ||
1238 | int TRANSITION__TARGET = 0; | ||
1239 | |||
1240 | /** | ||
1241 | * The feature id for the '<em><b>Source</b></em>' container reference. | ||
1242 | * <!-- begin-user-doc --> | ||
1243 | * <!-- end-user-doc --> | ||
1244 | * @generated | ||
1245 | * @ordered | ||
1246 | */ | ||
1247 | int TRANSITION__SOURCE = 1; | ||
1248 | |||
1249 | /** | ||
1250 | * The number of structural features of the '<em>Transition</em>' class. | ||
1251 | * <!-- begin-user-doc --> | ||
1252 | * <!-- end-user-doc --> | ||
1253 | * @generated | ||
1254 | * @ordered | ||
1255 | */ | ||
1256 | int TRANSITION_FEATURE_COUNT = 2; | ||
1257 | |||
1258 | /** | ||
1259 | * The number of operations of the '<em>Transition</em>' class. | ||
1260 | * <!-- begin-user-doc --> | ||
1261 | * <!-- end-user-doc --> | ||
1262 | * @generated | ||
1263 | * @ordered | ||
1264 | */ | ||
1265 | int TRANSITION_OPERATION_COUNT = 0; | ||
1266 | |||
1267 | /** | ||
1268 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class. | ||
1269 | * <!-- begin-user-doc --> | ||
1270 | * <!-- end-user-doc --> | ||
1271 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl | ||
1272 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement() | ||
1273 | * @generated | ||
1274 | */ | ||
1275 | int COMPOSITE_ELEMENT = 9; | ||
1276 | |||
1277 | /** | ||
1278 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
1279 | * <!-- begin-user-doc --> | ||
1280 | * <!-- end-user-doc --> | ||
1281 | * @generated | ||
1282 | * @ordered | ||
1283 | */ | ||
1284 | int COMPOSITE_ELEMENT__REGIONS = 0; | ||
1285 | |||
1286 | /** | ||
1287 | * The number of structural features of the '<em>Composite Element</em>' class. | ||
1288 | * <!-- begin-user-doc --> | ||
1289 | * <!-- end-user-doc --> | ||
1290 | * @generated | ||
1291 | * @ordered | ||
1292 | */ | ||
1293 | int COMPOSITE_ELEMENT_FEATURE_COUNT = 1; | ||
1294 | |||
1295 | /** | ||
1296 | * The number of operations of the '<em>Composite Element</em>' class. | ||
1297 | * <!-- begin-user-doc --> | ||
1298 | * <!-- end-user-doc --> | ||
1299 | * @generated | ||
1300 | * @ordered | ||
1301 | */ | ||
1302 | int COMPOSITE_ELEMENT_OPERATION_COUNT = 0; | ||
1303 | |||
1304 | /** | ||
1305 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class. | ||
1306 | * <!-- begin-user-doc --> | ||
1307 | * <!-- end-user-doc --> | ||
1308 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl | ||
1309 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart() | ||
1310 | * @generated | ||
1311 | */ | ||
1312 | int STATECHART = 4; | ||
1313 | |||
1314 | /** | ||
1315 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
1316 | * <!-- begin-user-doc --> | ||
1317 | * <!-- end-user-doc --> | ||
1318 | * @generated | ||
1319 | * @ordered | ||
1320 | */ | ||
1321 | int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS; | ||
1322 | |||
1323 | /** | ||
1324 | * The number of structural features of the '<em>Statechart</em>' class. | ||
1325 | * <!-- begin-user-doc --> | ||
1326 | * <!-- end-user-doc --> | ||
1327 | * @generated | ||
1328 | * @ordered | ||
1329 | */ | ||
1330 | int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0; | ||
1331 | |||
1332 | /** | ||
1333 | * The number of operations of the '<em>Statechart</em>' class. | ||
1334 | * <!-- begin-user-doc --> | ||
1335 | * <!-- end-user-doc --> | ||
1336 | * @generated | ||
1337 | * @ordered | ||
1338 | */ | ||
1339 | int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0; | ||
1340 | |||
1341 | /** | ||
1342 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class. | ||
1343 | * <!-- begin-user-doc --> | ||
1344 | * <!-- end-user-doc --> | ||
1345 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl | ||
1346 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry() | ||
1347 | * @generated | ||
1348 | */ | ||
1349 | int ENTRY = 5; | ||
1350 | |||
1351 | /** | ||
1352 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1353 | * <!-- begin-user-doc --> | ||
1354 | * <!-- end-user-doc --> | ||
1355 | * @generated | ||
1356 | * @ordered | ||
1357 | */ | ||
1358 | int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1359 | |||
1360 | /** | ||
1361 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1362 | * <!-- begin-user-doc --> | ||
1363 | * <!-- end-user-doc --> | ||
1364 | * @generated | ||
1365 | * @ordered | ||
1366 | */ | ||
1367 | int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1368 | |||
1369 | /** | ||
1370 | * The number of structural features of the '<em>Entry</em>' class. | ||
1371 | * <!-- begin-user-doc --> | ||
1372 | * <!-- end-user-doc --> | ||
1373 | * @generated | ||
1374 | * @ordered | ||
1375 | */ | ||
1376 | int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1377 | |||
1378 | /** | ||
1379 | * The number of operations of the '<em>Entry</em>' class. | ||
1380 | * <!-- begin-user-doc --> | ||
1381 | * <!-- end-user-doc --> | ||
1382 | * @generated | ||
1383 | * @ordered | ||
1384 | */ | ||
1385 | int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1386 | |||
1387 | /** | ||
1388 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class. | ||
1389 | * <!-- begin-user-doc --> | ||
1390 | * <!-- end-user-doc --> | ||
1391 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl | ||
1392 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization() | ||
1393 | * @generated | ||
1394 | */ | ||
1395 | int SYNCHRONIZATION = 6; | ||
1396 | |||
1397 | /** | ||
1398 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1399 | * <!-- begin-user-doc --> | ||
1400 | * <!-- end-user-doc --> | ||
1401 | * @generated | ||
1402 | * @ordered | ||
1403 | */ | ||
1404 | int SYNCHRONIZATION__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1405 | |||
1406 | /** | ||
1407 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1408 | * <!-- begin-user-doc --> | ||
1409 | * <!-- end-user-doc --> | ||
1410 | * @generated | ||
1411 | * @ordered | ||
1412 | */ | ||
1413 | int SYNCHRONIZATION__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1414 | |||
1415 | /** | ||
1416 | * The number of structural features of the '<em>Synchronization</em>' class. | ||
1417 | * <!-- begin-user-doc --> | ||
1418 | * <!-- end-user-doc --> | ||
1419 | * @generated | ||
1420 | * @ordered | ||
1421 | */ | ||
1422 | int SYNCHRONIZATION_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1423 | |||
1424 | /** | ||
1425 | * The number of operations of the '<em>Synchronization</em>' class. | ||
1426 | * <!-- begin-user-doc --> | ||
1427 | * <!-- end-user-doc --> | ||
1428 | * @generated | ||
1429 | * @ordered | ||
1430 | */ | ||
1431 | int SYNCHRONIZATION_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1432 | |||
1433 | /** | ||
1434 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class. | ||
1435 | * <!-- begin-user-doc --> | ||
1436 | * <!-- end-user-doc --> | ||
1437 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl | ||
1438 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState() | ||
1439 | * @generated | ||
1440 | */ | ||
1441 | int REGULAR_STATE = 8; | ||
1442 | |||
1443 | /** | ||
1444 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1445 | * <!-- begin-user-doc --> | ||
1446 | * <!-- end-user-doc --> | ||
1447 | * @generated | ||
1448 | * @ordered | ||
1449 | */ | ||
1450 | int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS; | ||
1451 | |||
1452 | /** | ||
1453 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1454 | * <!-- begin-user-doc --> | ||
1455 | * <!-- end-user-doc --> | ||
1456 | * @generated | ||
1457 | * @ordered | ||
1458 | */ | ||
1459 | int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS; | ||
1460 | |||
1461 | /** | ||
1462 | * The number of structural features of the '<em>Regular State</em>' class. | ||
1463 | * <!-- begin-user-doc --> | ||
1464 | * <!-- end-user-doc --> | ||
1465 | * @generated | ||
1466 | * @ordered | ||
1467 | */ | ||
1468 | int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0; | ||
1469 | |||
1470 | /** | ||
1471 | * The number of operations of the '<em>Regular State</em>' class. | ||
1472 | * <!-- begin-user-doc --> | ||
1473 | * <!-- end-user-doc --> | ||
1474 | * @generated | ||
1475 | * @ordered | ||
1476 | */ | ||
1477 | int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0; | ||
1478 | |||
1479 | /** | ||
1480 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class. | ||
1481 | * <!-- begin-user-doc --> | ||
1482 | * <!-- end-user-doc --> | ||
1483 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl | ||
1484 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState() | ||
1485 | * @generated | ||
1486 | */ | ||
1487 | int STATE = 7; | ||
1488 | |||
1489 | /** | ||
1490 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1491 | * <!-- begin-user-doc --> | ||
1492 | * <!-- end-user-doc --> | ||
1493 | * @generated | ||
1494 | * @ordered | ||
1495 | */ | ||
1496 | int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS; | ||
1497 | |||
1498 | /** | ||
1499 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1500 | * <!-- begin-user-doc --> | ||
1501 | * <!-- end-user-doc --> | ||
1502 | * @generated | ||
1503 | * @ordered | ||
1504 | */ | ||
1505 | int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS; | ||
1506 | |||
1507 | /** | ||
1508 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
1509 | * <!-- begin-user-doc --> | ||
1510 | * <!-- end-user-doc --> | ||
1511 | * @generated | ||
1512 | * @ordered | ||
1513 | */ | ||
1514 | int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0; | ||
1515 | |||
1516 | /** | ||
1517 | * The number of structural features of the '<em>State</em>' class. | ||
1518 | * <!-- begin-user-doc --> | ||
1519 | * <!-- end-user-doc --> | ||
1520 | * @generated | ||
1521 | * @ordered | ||
1522 | */ | ||
1523 | int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1; | ||
1524 | |||
1525 | /** | ||
1526 | * The number of operations of the '<em>State</em>' class. | ||
1527 | * <!-- begin-user-doc --> | ||
1528 | * <!-- end-user-doc --> | ||
1529 | * @generated | ||
1530 | * @ordered | ||
1531 | */ | ||
1532 | int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0; | ||
1533 | |||
1534 | /** | ||
1535 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class. | ||
1536 | * <!-- begin-user-doc --> | ||
1537 | * <!-- end-user-doc --> | ||
1538 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl | ||
1539 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice() | ||
1540 | * @generated | ||
1541 | */ | ||
1542 | int CHOICE = 10; | ||
1543 | |||
1544 | /** | ||
1545 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1546 | * <!-- begin-user-doc --> | ||
1547 | * <!-- end-user-doc --> | ||
1548 | * @generated | ||
1549 | * @ordered | ||
1550 | */ | ||
1551 | int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1552 | |||
1553 | /** | ||
1554 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1555 | * <!-- begin-user-doc --> | ||
1556 | * <!-- end-user-doc --> | ||
1557 | * @generated | ||
1558 | * @ordered | ||
1559 | */ | ||
1560 | int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1561 | |||
1562 | /** | ||
1563 | * The number of structural features of the '<em>Choice</em>' class. | ||
1564 | * <!-- begin-user-doc --> | ||
1565 | * <!-- end-user-doc --> | ||
1566 | * @generated | ||
1567 | * @ordered | ||
1568 | */ | ||
1569 | int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1570 | |||
1571 | /** | ||
1572 | * The number of operations of the '<em>Choice</em>' class. | ||
1573 | * <!-- begin-user-doc --> | ||
1574 | * <!-- end-user-doc --> | ||
1575 | * @generated | ||
1576 | * @ordered | ||
1577 | */ | ||
1578 | int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1579 | |||
1580 | /** | ||
1581 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class. | ||
1582 | * <!-- begin-user-doc --> | ||
1583 | * <!-- end-user-doc --> | ||
1584 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl | ||
1585 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit() | ||
1586 | * @generated | ||
1587 | */ | ||
1588 | int EXIT = 11; | ||
1589 | |||
1590 | /** | ||
1591 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1592 | * <!-- begin-user-doc --> | ||
1593 | * <!-- end-user-doc --> | ||
1594 | * @generated | ||
1595 | * @ordered | ||
1596 | */ | ||
1597 | int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1598 | |||
1599 | /** | ||
1600 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1601 | * <!-- begin-user-doc --> | ||
1602 | * <!-- end-user-doc --> | ||
1603 | * @generated | ||
1604 | * @ordered | ||
1605 | */ | ||
1606 | int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1607 | |||
1608 | /** | ||
1609 | * The number of structural features of the '<em>Exit</em>' class. | ||
1610 | * <!-- begin-user-doc --> | ||
1611 | * <!-- end-user-doc --> | ||
1612 | * @generated | ||
1613 | * @ordered | ||
1614 | */ | ||
1615 | int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1616 | |||
1617 | /** | ||
1618 | * The number of operations of the '<em>Exit</em>' class. | ||
1619 | * <!-- begin-user-doc --> | ||
1620 | * <!-- end-user-doc --> | ||
1621 | * @generated | ||
1622 | * @ordered | ||
1623 | */ | ||
1624 | int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1625 | |||
1626 | /** | ||
1627 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class. | ||
1628 | * <!-- begin-user-doc --> | ||
1629 | * <!-- end-user-doc --> | ||
1630 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl | ||
1631 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState() | ||
1632 | * @generated | ||
1633 | */ | ||
1634 | int FINAL_STATE = 12; | ||
1635 | |||
1636 | /** | ||
1637 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1638 | * <!-- begin-user-doc --> | ||
1639 | * <!-- end-user-doc --> | ||
1640 | * @generated | ||
1641 | * @ordered | ||
1642 | */ | ||
1643 | int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS; | ||
1644 | |||
1645 | /** | ||
1646 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1647 | * <!-- begin-user-doc --> | ||
1648 | * <!-- end-user-doc --> | ||
1649 | * @generated | ||
1650 | * @ordered | ||
1651 | */ | ||
1652 | int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS; | ||
1653 | |||
1654 | /** | ||
1655 | * The number of structural features of the '<em>Final State</em>' class. | ||
1656 | * <!-- begin-user-doc --> | ||
1657 | * <!-- end-user-doc --> | ||
1658 | * @generated | ||
1659 | * @ordered | ||
1660 | */ | ||
1661 | int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0; | ||
1662 | |||
1663 | /** | ||
1664 | * The number of operations of the '<em>Final State</em>' class. | ||
1665 | * <!-- begin-user-doc --> | ||
1666 | * <!-- end-user-doc --> | ||
1667 | * @generated | ||
1668 | * @ordered | ||
1669 | */ | ||
1670 | int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0; | ||
1671 | |||
1672 | |||
1673 | /** | ||
1674 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'. | ||
1675 | * <!-- begin-user-doc --> | ||
1676 | * <!-- end-user-doc --> | ||
1677 | * @return the meta object for class '<em>Pseudostate</em>'. | ||
1678 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate | ||
1679 | * @generated | ||
1680 | */ | ||
1681 | EClass getPseudostate(); | ||
1682 | |||
1683 | /** | ||
1684 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'. | ||
1685 | * <!-- begin-user-doc --> | ||
1686 | * <!-- end-user-doc --> | ||
1687 | * @return the meta object for class '<em>Vertex</em>'. | ||
1688 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex | ||
1689 | * @generated | ||
1690 | */ | ||
1691 | EClass getVertex(); | ||
1692 | |||
1693 | /** | ||
1694 | * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'. | ||
1695 | * <!-- begin-user-doc --> | ||
1696 | * <!-- end-user-doc --> | ||
1697 | * @return the meta object for the reference list '<em>Incoming Transitions</em>'. | ||
1698 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions() | ||
1699 | * @see #getVertex() | ||
1700 | * @generated | ||
1701 | */ | ||
1702 | EReference getVertex_IncomingTransitions(); | ||
1703 | |||
1704 | /** | ||
1705 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'. | ||
1706 | * <!-- begin-user-doc --> | ||
1707 | * <!-- end-user-doc --> | ||
1708 | * @return the meta object for the containment reference list '<em>Outgoing Transitions</em>'. | ||
1709 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions() | ||
1710 | * @see #getVertex() | ||
1711 | * @generated | ||
1712 | */ | ||
1713 | EReference getVertex_OutgoingTransitions(); | ||
1714 | |||
1715 | /** | ||
1716 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'. | ||
1717 | * <!-- begin-user-doc --> | ||
1718 | * <!-- end-user-doc --> | ||
1719 | * @return the meta object for class '<em>Region</em>'. | ||
1720 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region | ||
1721 | * @generated | ||
1722 | */ | ||
1723 | EClass getRegion(); | ||
1724 | |||
1725 | /** | ||
1726 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices <em>Vertices</em>}'. | ||
1727 | * <!-- begin-user-doc --> | ||
1728 | * <!-- end-user-doc --> | ||
1729 | * @return the meta object for the containment reference list '<em>Vertices</em>'. | ||
1730 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices() | ||
1731 | * @see #getRegion() | ||
1732 | * @generated | ||
1733 | */ | ||
1734 | EReference getRegion_Vertices(); | ||
1735 | |||
1736 | /** | ||
1737 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'. | ||
1738 | * <!-- begin-user-doc --> | ||
1739 | * <!-- end-user-doc --> | ||
1740 | * @return the meta object for class '<em>Transition</em>'. | ||
1741 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition | ||
1742 | * @generated | ||
1743 | */ | ||
1744 | EClass getTransition(); | ||
1745 | |||
1746 | /** | ||
1747 | * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}'. | ||
1748 | * <!-- begin-user-doc --> | ||
1749 | * <!-- end-user-doc --> | ||
1750 | * @return the meta object for the reference '<em>Target</em>'. | ||
1751 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget() | ||
1752 | * @see #getTransition() | ||
1753 | * @generated | ||
1754 | */ | ||
1755 | EReference getTransition_Target(); | ||
1756 | |||
1757 | /** | ||
1758 | * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}'. | ||
1759 | * <!-- begin-user-doc --> | ||
1760 | * <!-- end-user-doc --> | ||
1761 | * @return the meta object for the container reference '<em>Source</em>'. | ||
1762 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource() | ||
1763 | * @see #getTransition() | ||
1764 | * @generated | ||
1765 | */ | ||
1766 | EReference getTransition_Source(); | ||
1767 | |||
1768 | /** | ||
1769 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'. | ||
1770 | * <!-- begin-user-doc --> | ||
1771 | * <!-- end-user-doc --> | ||
1772 | * @return the meta object for class '<em>Statechart</em>'. | ||
1773 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart | ||
1774 | * @generated | ||
1775 | */ | ||
1776 | EClass getStatechart(); | ||
1777 | |||
1778 | /** | ||
1779 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'. | ||
1780 | * <!-- begin-user-doc --> | ||
1781 | * <!-- end-user-doc --> | ||
1782 | * @return the meta object for class '<em>Entry</em>'. | ||
1783 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry | ||
1784 | * @generated | ||
1785 | */ | ||
1786 | EClass getEntry(); | ||
1787 | |||
1788 | /** | ||
1789 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'. | ||
1790 | * <!-- begin-user-doc --> | ||
1791 | * <!-- end-user-doc --> | ||
1792 | * @return the meta object for class '<em>Synchronization</em>'. | ||
1793 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization | ||
1794 | * @generated | ||
1795 | */ | ||
1796 | EClass getSynchronization(); | ||
1797 | |||
1798 | /** | ||
1799 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'. | ||
1800 | * <!-- begin-user-doc --> | ||
1801 | * <!-- end-user-doc --> | ||
1802 | * @return the meta object for class '<em>State</em>'. | ||
1803 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State | ||
1804 | * @generated | ||
1805 | */ | ||
1806 | EClass getState(); | ||
1807 | |||
1808 | /** | ||
1809 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'. | ||
1810 | * <!-- begin-user-doc --> | ||
1811 | * <!-- end-user-doc --> | ||
1812 | * @return the meta object for class '<em>Regular State</em>'. | ||
1813 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState | ||
1814 | * @generated | ||
1815 | */ | ||
1816 | EClass getRegularState(); | ||
1817 | |||
1818 | /** | ||
1819 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'. | ||
1820 | * <!-- begin-user-doc --> | ||
1821 | * <!-- end-user-doc --> | ||
1822 | * @return the meta object for class '<em>Composite Element</em>'. | ||
1823 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement | ||
1824 | * @generated | ||
1825 | */ | ||
1826 | EClass getCompositeElement(); | ||
1827 | |||
1828 | /** | ||
1829 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions <em>Regions</em>}'. | ||
1830 | * <!-- begin-user-doc --> | ||
1831 | * <!-- end-user-doc --> | ||
1832 | * @return the meta object for the containment reference list '<em>Regions</em>'. | ||
1833 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions() | ||
1834 | * @see #getCompositeElement() | ||
1835 | * @generated | ||
1836 | */ | ||
1837 | EReference getCompositeElement_Regions(); | ||
1838 | |||
1839 | /** | ||
1840 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'. | ||
1841 | * <!-- begin-user-doc --> | ||
1842 | * <!-- end-user-doc --> | ||
1843 | * @return the meta object for class '<em>Choice</em>'. | ||
1844 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice | ||
1845 | * @generated | ||
1846 | */ | ||
1847 | EClass getChoice(); | ||
1848 | |||
1849 | /** | ||
1850 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'. | ||
1851 | * <!-- begin-user-doc --> | ||
1852 | * <!-- end-user-doc --> | ||
1853 | * @return the meta object for class '<em>Exit</em>'. | ||
1854 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit | ||
1855 | * @generated | ||
1856 | */ | ||
1857 | EClass getExit(); | ||
1858 | |||
1859 | /** | ||
1860 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'. | ||
1861 | * <!-- begin-user-doc --> | ||
1862 | * <!-- end-user-doc --> | ||
1863 | * @return the meta object for class '<em>Final State</em>'. | ||
1864 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState | ||
1865 | * @generated | ||
1866 | */ | ||
1867 | EClass getFinalState(); | ||
1868 | |||
1869 | /** | ||
1870 | * Returns the factory that creates the instances of the model. | ||
1871 | * <!-- begin-user-doc --> | ||
1872 | * <!-- end-user-doc --> | ||
1873 | * @return the factory that creates the instances of the model. | ||
1874 | * @generated | ||
1875 | */ | ||
1876 | YakinduFactory getYakinduFactory(); | ||
1877 | |||
1878 | /** | ||
1879 | * <!-- begin-user-doc --> | ||
1880 | * Defines literals for the meta objects that represent | ||
1881 | * <ul> | ||
1882 | * <li>each class,</li> | ||
1883 | * <li>each feature of each class,</li> | ||
1884 | * <li>each operation of each class,</li> | ||
1885 | * <li>each enum,</li> | ||
1886 | * <li>and each data type</li> | ||
1887 | * </ul> | ||
1888 | * <!-- end-user-doc --> | ||
1889 | * @generated | ||
1890 | */ | ||
1891 | interface Literals { | ||
1892 | /** | ||
1893 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class. | ||
1894 | * <!-- begin-user-doc --> | ||
1895 | * <!-- end-user-doc --> | ||
1896 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl | ||
1897 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate() | ||
1898 | * @generated | ||
1899 | */ | ||
1900 | EClass PSEUDOSTATE = eINSTANCE.getPseudostate(); | ||
1901 | |||
1902 | /** | ||
1903 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class. | ||
1904 | * <!-- begin-user-doc --> | ||
1905 | * <!-- end-user-doc --> | ||
1906 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl | ||
1907 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex() | ||
1908 | * @generated | ||
1909 | */ | ||
1910 | EClass VERTEX = eINSTANCE.getVertex(); | ||
1911 | |||
1912 | /** | ||
1913 | * The meta object literal for the '<em><b>Incoming Transitions</b></em>' reference list feature. | ||
1914 | * <!-- begin-user-doc --> | ||
1915 | * <!-- end-user-doc --> | ||
1916 | * @generated | ||
1917 | */ | ||
1918 | EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions(); | ||
1919 | |||
1920 | /** | ||
1921 | * The meta object literal for the '<em><b>Outgoing Transitions</b></em>' containment reference list feature. | ||
1922 | * <!-- begin-user-doc --> | ||
1923 | * <!-- end-user-doc --> | ||
1924 | * @generated | ||
1925 | */ | ||
1926 | EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions(); | ||
1927 | |||
1928 | /** | ||
1929 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class. | ||
1930 | * <!-- begin-user-doc --> | ||
1931 | * <!-- end-user-doc --> | ||
1932 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl | ||
1933 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion() | ||
1934 | * @generated | ||
1935 | */ | ||
1936 | EClass REGION = eINSTANCE.getRegion(); | ||
1937 | |||
1938 | /** | ||
1939 | * The meta object literal for the '<em><b>Vertices</b></em>' containment reference list feature. | ||
1940 | * <!-- begin-user-doc --> | ||
1941 | * <!-- end-user-doc --> | ||
1942 | * @generated | ||
1943 | */ | ||
1944 | EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices(); | ||
1945 | |||
1946 | /** | ||
1947 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class. | ||
1948 | * <!-- begin-user-doc --> | ||
1949 | * <!-- end-user-doc --> | ||
1950 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl | ||
1951 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition() | ||
1952 | * @generated | ||
1953 | */ | ||
1954 | EClass TRANSITION = eINSTANCE.getTransition(); | ||
1955 | |||
1956 | /** | ||
1957 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
1958 | * <!-- begin-user-doc --> | ||
1959 | * <!-- end-user-doc --> | ||
1960 | * @generated | ||
1961 | */ | ||
1962 | EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target(); | ||
1963 | |||
1964 | /** | ||
1965 | * The meta object literal for the '<em><b>Source</b></em>' container reference feature. | ||
1966 | * <!-- begin-user-doc --> | ||
1967 | * <!-- end-user-doc --> | ||
1968 | * @generated | ||
1969 | */ | ||
1970 | EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source(); | ||
1971 | |||
1972 | /** | ||
1973 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class. | ||
1974 | * <!-- begin-user-doc --> | ||
1975 | * <!-- end-user-doc --> | ||
1976 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl | ||
1977 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart() | ||
1978 | * @generated | ||
1979 | */ | ||
1980 | EClass STATECHART = eINSTANCE.getStatechart(); | ||
1981 | |||
1982 | /** | ||
1983 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class. | ||
1984 | * <!-- begin-user-doc --> | ||
1985 | * <!-- end-user-doc --> | ||
1986 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl | ||
1987 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry() | ||
1988 | * @generated | ||
1989 | */ | ||
1990 | EClass ENTRY = eINSTANCE.getEntry(); | ||
1991 | |||
1992 | /** | ||
1993 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class. | ||
1994 | * <!-- begin-user-doc --> | ||
1995 | * <!-- end-user-doc --> | ||
1996 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl | ||
1997 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization() | ||
1998 | * @generated | ||
1999 | */ | ||
2000 | EClass SYNCHRONIZATION = eINSTANCE.getSynchronization(); | ||
2001 | |||
2002 | /** | ||
2003 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class. | ||
2004 | * <!-- begin-user-doc --> | ||
2005 | * <!-- end-user-doc --> | ||
2006 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl | ||
2007 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState() | ||
2008 | * @generated | ||
2009 | */ | ||
2010 | EClass STATE = eINSTANCE.getState(); | ||
2011 | |||
2012 | /** | ||
2013 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class. | ||
2014 | * <!-- begin-user-doc --> | ||
2015 | * <!-- end-user-doc --> | ||
2016 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl | ||
2017 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState() | ||
2018 | * @generated | ||
2019 | */ | ||
2020 | EClass REGULAR_STATE = eINSTANCE.getRegularState(); | ||
2021 | |||
2022 | /** | ||
2023 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class. | ||
2024 | * <!-- begin-user-doc --> | ||
2025 | * <!-- end-user-doc --> | ||
2026 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl | ||
2027 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement() | ||
2028 | * @generated | ||
2029 | */ | ||
2030 | EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement(); | ||
2031 | |||
2032 | /** | ||
2033 | * The meta object literal for the '<em><b>Regions</b></em>' containment reference list feature. | ||
2034 | * <!-- begin-user-doc --> | ||
2035 | * <!-- end-user-doc --> | ||
2036 | * @generated | ||
2037 | */ | ||
2038 | EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions(); | ||
2039 | |||
2040 | /** | ||
2041 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class. | ||
2042 | * <!-- begin-user-doc --> | ||
2043 | * <!-- end-user-doc --> | ||
2044 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl | ||
2045 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice() | ||
2046 | * @generated | ||
2047 | */ | ||
2048 | EClass CHOICE = eINSTANCE.getChoice(); | ||
2049 | |||
2050 | /** | ||
2051 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class. | ||
2052 | * <!-- begin-user-doc --> | ||
2053 | * <!-- end-user-doc --> | ||
2054 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl | ||
2055 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit() | ||
2056 | * @generated | ||
2057 | */ | ||
2058 | EClass EXIT = eINSTANCE.getExit(); | ||
2059 | |||
2060 | /** | ||
2061 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class. | ||
2062 | * <!-- begin-user-doc --> | ||
2063 | * <!-- end-user-doc --> | ||
2064 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl | ||
2065 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState() | ||
2066 | * @generated | ||
2067 | */ | ||
2068 | EClass FINAL_STATE = eINSTANCE.getFinalState(); | ||
2069 | |||
2070 | } | ||
2071 | |||
2072 | } //YakinduPackage | ||
2073 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java index a530e71f..72a15aa1 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -103,3 +104,119 @@ public interface YakindummFactory extends EFactory { | |||
103 | YakindummPackage getYakindummPackage(); | 104 | YakindummPackage getYakindummPackage(); |
104 | 105 | ||
105 | } //YakindummFactory | 106 | } //YakindummFactory |
107 | ======= | ||
108 | /** | ||
109 | */ | ||
110 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
111 | |||
112 | import org.eclipse.emf.ecore.EFactory; | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * The <b>Factory</b> for the model. | ||
117 | * It provides a create method for each non-abstract class of the model. | ||
118 | * <!-- end-user-doc --> | ||
119 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage | ||
120 | * @generated | ||
121 | */ | ||
122 | public interface YakinduFactory extends EFactory { | ||
123 | /** | ||
124 | * The singleton instance of the factory. | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | YakinduFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduFactoryImpl.init(); | ||
130 | |||
131 | /** | ||
132 | * Returns a new object of class '<em>Region</em>'. | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @return a new object of class '<em>Region</em>'. | ||
136 | * @generated | ||
137 | */ | ||
138 | Region createRegion(); | ||
139 | |||
140 | /** | ||
141 | * Returns a new object of class '<em>Transition</em>'. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @return a new object of class '<em>Transition</em>'. | ||
145 | * @generated | ||
146 | */ | ||
147 | Transition createTransition(); | ||
148 | |||
149 | /** | ||
150 | * Returns a new object of class '<em>Statechart</em>'. | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @return a new object of class '<em>Statechart</em>'. | ||
154 | * @generated | ||
155 | */ | ||
156 | Statechart createStatechart(); | ||
157 | |||
158 | /** | ||
159 | * Returns a new object of class '<em>Entry</em>'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @return a new object of class '<em>Entry</em>'. | ||
163 | * @generated | ||
164 | */ | ||
165 | Entry createEntry(); | ||
166 | |||
167 | /** | ||
168 | * Returns a new object of class '<em>Synchronization</em>'. | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @return a new object of class '<em>Synchronization</em>'. | ||
172 | * @generated | ||
173 | */ | ||
174 | Synchronization createSynchronization(); | ||
175 | |||
176 | /** | ||
177 | * Returns a new object of class '<em>State</em>'. | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @return a new object of class '<em>State</em>'. | ||
181 | * @generated | ||
182 | */ | ||
183 | State createState(); | ||
184 | |||
185 | /** | ||
186 | * Returns a new object of class '<em>Choice</em>'. | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @return a new object of class '<em>Choice</em>'. | ||
190 | * @generated | ||
191 | */ | ||
192 | Choice createChoice(); | ||
193 | |||
194 | /** | ||
195 | * Returns a new object of class '<em>Exit</em>'. | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @return a new object of class '<em>Exit</em>'. | ||
199 | * @generated | ||
200 | */ | ||
201 | Exit createExit(); | ||
202 | |||
203 | /** | ||
204 | * Returns a new object of class '<em>Final State</em>'. | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @return a new object of class '<em>Final State</em>'. | ||
208 | * @generated | ||
209 | */ | ||
210 | FinalState createFinalState(); | ||
211 | |||
212 | /** | ||
213 | * Returns the package supported by this factory. | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @return the package supported by this factory. | ||
217 | * @generated | ||
218 | */ | ||
219 | YakinduPackage getYakinduPackage(); | ||
220 | |||
221 | } //YakinduFactory | ||
222 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java index f70e851a..f74d2357 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm; |
@@ -1030,3 +1031,1043 @@ public interface YakindummPackage extends EPackage { | |||
1030 | } | 1031 | } |
1031 | 1032 | ||
1032 | } //YakindummPackage | 1033 | } //YakindummPackage |
1034 | ======= | ||
1035 | /** | ||
1036 | */ | ||
1037 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu; | ||
1038 | |||
1039 | import org.eclipse.emf.ecore.EClass; | ||
1040 | import org.eclipse.emf.ecore.EPackage; | ||
1041 | import org.eclipse.emf.ecore.EReference; | ||
1042 | |||
1043 | /** | ||
1044 | * <!-- begin-user-doc --> | ||
1045 | * The <b>Package</b> for the model. | ||
1046 | * It contains accessors for the meta objects to represent | ||
1047 | * <ul> | ||
1048 | * <li>each class,</li> | ||
1049 | * <li>each feature of each class,</li> | ||
1050 | * <li>each operation of each class,</li> | ||
1051 | * <li>each enum,</li> | ||
1052 | * <li>and each data type</li> | ||
1053 | * </ul> | ||
1054 | * <!-- end-user-doc --> | ||
1055 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory | ||
1056 | * @model kind="package" | ||
1057 | * @generated | ||
1058 | */ | ||
1059 | public interface YakinduPackage extends EPackage { | ||
1060 | /** | ||
1061 | * The package name. | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @generated | ||
1065 | */ | ||
1066 | String eNAME = "yakindu"; | ||
1067 | |||
1068 | /** | ||
1069 | * The package namespace URI. | ||
1070 | * <!-- begin-user-doc --> | ||
1071 | * <!-- end-user-doc --> | ||
1072 | * @generated | ||
1073 | */ | ||
1074 | String eNS_URI = "YakinduMetamodel"; | ||
1075 | |||
1076 | /** | ||
1077 | * The package namespace name. | ||
1078 | * <!-- begin-user-doc --> | ||
1079 | * <!-- end-user-doc --> | ||
1080 | * @generated | ||
1081 | */ | ||
1082 | String eNS_PREFIX = "yakindu"; | ||
1083 | |||
1084 | /** | ||
1085 | * The singleton instance of the package. | ||
1086 | * <!-- begin-user-doc --> | ||
1087 | * <!-- end-user-doc --> | ||
1088 | * @generated | ||
1089 | */ | ||
1090 | YakinduPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl.init(); | ||
1091 | |||
1092 | /** | ||
1093 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class. | ||
1094 | * <!-- begin-user-doc --> | ||
1095 | * <!-- end-user-doc --> | ||
1096 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl | ||
1097 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex() | ||
1098 | * @generated | ||
1099 | */ | ||
1100 | int VERTEX = 1; | ||
1101 | |||
1102 | /** | ||
1103 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * <!-- end-user-doc --> | ||
1106 | * @generated | ||
1107 | * @ordered | ||
1108 | */ | ||
1109 | int VERTEX__INCOMING_TRANSITIONS = 0; | ||
1110 | |||
1111 | /** | ||
1112 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1113 | * <!-- begin-user-doc --> | ||
1114 | * <!-- end-user-doc --> | ||
1115 | * @generated | ||
1116 | * @ordered | ||
1117 | */ | ||
1118 | int VERTEX__OUTGOING_TRANSITIONS = 1; | ||
1119 | |||
1120 | /** | ||
1121 | * The number of structural features of the '<em>Vertex</em>' class. | ||
1122 | * <!-- begin-user-doc --> | ||
1123 | * <!-- end-user-doc --> | ||
1124 | * @generated | ||
1125 | * @ordered | ||
1126 | */ | ||
1127 | int VERTEX_FEATURE_COUNT = 2; | ||
1128 | |||
1129 | /** | ||
1130 | * The number of operations of the '<em>Vertex</em>' class. | ||
1131 | * <!-- begin-user-doc --> | ||
1132 | * <!-- end-user-doc --> | ||
1133 | * @generated | ||
1134 | * @ordered | ||
1135 | */ | ||
1136 | int VERTEX_OPERATION_COUNT = 0; | ||
1137 | |||
1138 | /** | ||
1139 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class. | ||
1140 | * <!-- begin-user-doc --> | ||
1141 | * <!-- end-user-doc --> | ||
1142 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl | ||
1143 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate() | ||
1144 | * @generated | ||
1145 | */ | ||
1146 | int PSEUDOSTATE = 0; | ||
1147 | |||
1148 | /** | ||
1149 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1150 | * <!-- begin-user-doc --> | ||
1151 | * <!-- end-user-doc --> | ||
1152 | * @generated | ||
1153 | * @ordered | ||
1154 | */ | ||
1155 | int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS; | ||
1156 | |||
1157 | /** | ||
1158 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1159 | * <!-- begin-user-doc --> | ||
1160 | * <!-- end-user-doc --> | ||
1161 | * @generated | ||
1162 | * @ordered | ||
1163 | */ | ||
1164 | int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS; | ||
1165 | |||
1166 | /** | ||
1167 | * The number of structural features of the '<em>Pseudostate</em>' class. | ||
1168 | * <!-- begin-user-doc --> | ||
1169 | * <!-- end-user-doc --> | ||
1170 | * @generated | ||
1171 | * @ordered | ||
1172 | */ | ||
1173 | int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0; | ||
1174 | |||
1175 | /** | ||
1176 | * The number of operations of the '<em>Pseudostate</em>' class. | ||
1177 | * <!-- begin-user-doc --> | ||
1178 | * <!-- end-user-doc --> | ||
1179 | * @generated | ||
1180 | * @ordered | ||
1181 | */ | ||
1182 | int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0; | ||
1183 | |||
1184 | /** | ||
1185 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class. | ||
1186 | * <!-- begin-user-doc --> | ||
1187 | * <!-- end-user-doc --> | ||
1188 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl | ||
1189 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion() | ||
1190 | * @generated | ||
1191 | */ | ||
1192 | int REGION = 2; | ||
1193 | |||
1194 | /** | ||
1195 | * The feature id for the '<em><b>Vertices</b></em>' containment reference list. | ||
1196 | * <!-- begin-user-doc --> | ||
1197 | * <!-- end-user-doc --> | ||
1198 | * @generated | ||
1199 | * @ordered | ||
1200 | */ | ||
1201 | int REGION__VERTICES = 0; | ||
1202 | |||
1203 | /** | ||
1204 | * The number of structural features of the '<em>Region</em>' class. | ||
1205 | * <!-- begin-user-doc --> | ||
1206 | * <!-- end-user-doc --> | ||
1207 | * @generated | ||
1208 | * @ordered | ||
1209 | */ | ||
1210 | int REGION_FEATURE_COUNT = 1; | ||
1211 | |||
1212 | /** | ||
1213 | * The number of operations of the '<em>Region</em>' class. | ||
1214 | * <!-- begin-user-doc --> | ||
1215 | * <!-- end-user-doc --> | ||
1216 | * @generated | ||
1217 | * @ordered | ||
1218 | */ | ||
1219 | int REGION_OPERATION_COUNT = 0; | ||
1220 | |||
1221 | /** | ||
1222 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class. | ||
1223 | * <!-- begin-user-doc --> | ||
1224 | * <!-- end-user-doc --> | ||
1225 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl | ||
1226 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition() | ||
1227 | * @generated | ||
1228 | */ | ||
1229 | int TRANSITION = 3; | ||
1230 | |||
1231 | /** | ||
1232 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
1233 | * <!-- begin-user-doc --> | ||
1234 | * <!-- end-user-doc --> | ||
1235 | * @generated | ||
1236 | * @ordered | ||
1237 | */ | ||
1238 | int TRANSITION__TARGET = 0; | ||
1239 | |||
1240 | /** | ||
1241 | * The feature id for the '<em><b>Source</b></em>' container reference. | ||
1242 | * <!-- begin-user-doc --> | ||
1243 | * <!-- end-user-doc --> | ||
1244 | * @generated | ||
1245 | * @ordered | ||
1246 | */ | ||
1247 | int TRANSITION__SOURCE = 1; | ||
1248 | |||
1249 | /** | ||
1250 | * The number of structural features of the '<em>Transition</em>' class. | ||
1251 | * <!-- begin-user-doc --> | ||
1252 | * <!-- end-user-doc --> | ||
1253 | * @generated | ||
1254 | * @ordered | ||
1255 | */ | ||
1256 | int TRANSITION_FEATURE_COUNT = 2; | ||
1257 | |||
1258 | /** | ||
1259 | * The number of operations of the '<em>Transition</em>' class. | ||
1260 | * <!-- begin-user-doc --> | ||
1261 | * <!-- end-user-doc --> | ||
1262 | * @generated | ||
1263 | * @ordered | ||
1264 | */ | ||
1265 | int TRANSITION_OPERATION_COUNT = 0; | ||
1266 | |||
1267 | /** | ||
1268 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class. | ||
1269 | * <!-- begin-user-doc --> | ||
1270 | * <!-- end-user-doc --> | ||
1271 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl | ||
1272 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement() | ||
1273 | * @generated | ||
1274 | */ | ||
1275 | int COMPOSITE_ELEMENT = 9; | ||
1276 | |||
1277 | /** | ||
1278 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
1279 | * <!-- begin-user-doc --> | ||
1280 | * <!-- end-user-doc --> | ||
1281 | * @generated | ||
1282 | * @ordered | ||
1283 | */ | ||
1284 | int COMPOSITE_ELEMENT__REGIONS = 0; | ||
1285 | |||
1286 | /** | ||
1287 | * The number of structural features of the '<em>Composite Element</em>' class. | ||
1288 | * <!-- begin-user-doc --> | ||
1289 | * <!-- end-user-doc --> | ||
1290 | * @generated | ||
1291 | * @ordered | ||
1292 | */ | ||
1293 | int COMPOSITE_ELEMENT_FEATURE_COUNT = 1; | ||
1294 | |||
1295 | /** | ||
1296 | * The number of operations of the '<em>Composite Element</em>' class. | ||
1297 | * <!-- begin-user-doc --> | ||
1298 | * <!-- end-user-doc --> | ||
1299 | * @generated | ||
1300 | * @ordered | ||
1301 | */ | ||
1302 | int COMPOSITE_ELEMENT_OPERATION_COUNT = 0; | ||
1303 | |||
1304 | /** | ||
1305 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class. | ||
1306 | * <!-- begin-user-doc --> | ||
1307 | * <!-- end-user-doc --> | ||
1308 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl | ||
1309 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart() | ||
1310 | * @generated | ||
1311 | */ | ||
1312 | int STATECHART = 4; | ||
1313 | |||
1314 | /** | ||
1315 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
1316 | * <!-- begin-user-doc --> | ||
1317 | * <!-- end-user-doc --> | ||
1318 | * @generated | ||
1319 | * @ordered | ||
1320 | */ | ||
1321 | int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS; | ||
1322 | |||
1323 | /** | ||
1324 | * The number of structural features of the '<em>Statechart</em>' class. | ||
1325 | * <!-- begin-user-doc --> | ||
1326 | * <!-- end-user-doc --> | ||
1327 | * @generated | ||
1328 | * @ordered | ||
1329 | */ | ||
1330 | int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0; | ||
1331 | |||
1332 | /** | ||
1333 | * The number of operations of the '<em>Statechart</em>' class. | ||
1334 | * <!-- begin-user-doc --> | ||
1335 | * <!-- end-user-doc --> | ||
1336 | * @generated | ||
1337 | * @ordered | ||
1338 | */ | ||
1339 | int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0; | ||
1340 | |||
1341 | /** | ||
1342 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class. | ||
1343 | * <!-- begin-user-doc --> | ||
1344 | * <!-- end-user-doc --> | ||
1345 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl | ||
1346 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry() | ||
1347 | * @generated | ||
1348 | */ | ||
1349 | int ENTRY = 5; | ||
1350 | |||
1351 | /** | ||
1352 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1353 | * <!-- begin-user-doc --> | ||
1354 | * <!-- end-user-doc --> | ||
1355 | * @generated | ||
1356 | * @ordered | ||
1357 | */ | ||
1358 | int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1359 | |||
1360 | /** | ||
1361 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1362 | * <!-- begin-user-doc --> | ||
1363 | * <!-- end-user-doc --> | ||
1364 | * @generated | ||
1365 | * @ordered | ||
1366 | */ | ||
1367 | int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1368 | |||
1369 | /** | ||
1370 | * The number of structural features of the '<em>Entry</em>' class. | ||
1371 | * <!-- begin-user-doc --> | ||
1372 | * <!-- end-user-doc --> | ||
1373 | * @generated | ||
1374 | * @ordered | ||
1375 | */ | ||
1376 | int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1377 | |||
1378 | /** | ||
1379 | * The number of operations of the '<em>Entry</em>' class. | ||
1380 | * <!-- begin-user-doc --> | ||
1381 | * <!-- end-user-doc --> | ||
1382 | * @generated | ||
1383 | * @ordered | ||
1384 | */ | ||
1385 | int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1386 | |||
1387 | /** | ||
1388 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class. | ||
1389 | * <!-- begin-user-doc --> | ||
1390 | * <!-- end-user-doc --> | ||
1391 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl | ||
1392 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization() | ||
1393 | * @generated | ||
1394 | */ | ||
1395 | int SYNCHRONIZATION = 6; | ||
1396 | |||
1397 | /** | ||
1398 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1399 | * <!-- begin-user-doc --> | ||
1400 | * <!-- end-user-doc --> | ||
1401 | * @generated | ||
1402 | * @ordered | ||
1403 | */ | ||
1404 | int SYNCHRONIZATION__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1405 | |||
1406 | /** | ||
1407 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1408 | * <!-- begin-user-doc --> | ||
1409 | * <!-- end-user-doc --> | ||
1410 | * @generated | ||
1411 | * @ordered | ||
1412 | */ | ||
1413 | int SYNCHRONIZATION__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1414 | |||
1415 | /** | ||
1416 | * The number of structural features of the '<em>Synchronization</em>' class. | ||
1417 | * <!-- begin-user-doc --> | ||
1418 | * <!-- end-user-doc --> | ||
1419 | * @generated | ||
1420 | * @ordered | ||
1421 | */ | ||
1422 | int SYNCHRONIZATION_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1423 | |||
1424 | /** | ||
1425 | * The number of operations of the '<em>Synchronization</em>' class. | ||
1426 | * <!-- begin-user-doc --> | ||
1427 | * <!-- end-user-doc --> | ||
1428 | * @generated | ||
1429 | * @ordered | ||
1430 | */ | ||
1431 | int SYNCHRONIZATION_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1432 | |||
1433 | /** | ||
1434 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class. | ||
1435 | * <!-- begin-user-doc --> | ||
1436 | * <!-- end-user-doc --> | ||
1437 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl | ||
1438 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState() | ||
1439 | * @generated | ||
1440 | */ | ||
1441 | int REGULAR_STATE = 8; | ||
1442 | |||
1443 | /** | ||
1444 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1445 | * <!-- begin-user-doc --> | ||
1446 | * <!-- end-user-doc --> | ||
1447 | * @generated | ||
1448 | * @ordered | ||
1449 | */ | ||
1450 | int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS; | ||
1451 | |||
1452 | /** | ||
1453 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1454 | * <!-- begin-user-doc --> | ||
1455 | * <!-- end-user-doc --> | ||
1456 | * @generated | ||
1457 | * @ordered | ||
1458 | */ | ||
1459 | int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS; | ||
1460 | |||
1461 | /** | ||
1462 | * The number of structural features of the '<em>Regular State</em>' class. | ||
1463 | * <!-- begin-user-doc --> | ||
1464 | * <!-- end-user-doc --> | ||
1465 | * @generated | ||
1466 | * @ordered | ||
1467 | */ | ||
1468 | int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0; | ||
1469 | |||
1470 | /** | ||
1471 | * The number of operations of the '<em>Regular State</em>' class. | ||
1472 | * <!-- begin-user-doc --> | ||
1473 | * <!-- end-user-doc --> | ||
1474 | * @generated | ||
1475 | * @ordered | ||
1476 | */ | ||
1477 | int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0; | ||
1478 | |||
1479 | /** | ||
1480 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class. | ||
1481 | * <!-- begin-user-doc --> | ||
1482 | * <!-- end-user-doc --> | ||
1483 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl | ||
1484 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState() | ||
1485 | * @generated | ||
1486 | */ | ||
1487 | int STATE = 7; | ||
1488 | |||
1489 | /** | ||
1490 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1491 | * <!-- begin-user-doc --> | ||
1492 | * <!-- end-user-doc --> | ||
1493 | * @generated | ||
1494 | * @ordered | ||
1495 | */ | ||
1496 | int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS; | ||
1497 | |||
1498 | /** | ||
1499 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1500 | * <!-- begin-user-doc --> | ||
1501 | * <!-- end-user-doc --> | ||
1502 | * @generated | ||
1503 | * @ordered | ||
1504 | */ | ||
1505 | int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS; | ||
1506 | |||
1507 | /** | ||
1508 | * The feature id for the '<em><b>Regions</b></em>' containment reference list. | ||
1509 | * <!-- begin-user-doc --> | ||
1510 | * <!-- end-user-doc --> | ||
1511 | * @generated | ||
1512 | * @ordered | ||
1513 | */ | ||
1514 | int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0; | ||
1515 | |||
1516 | /** | ||
1517 | * The number of structural features of the '<em>State</em>' class. | ||
1518 | * <!-- begin-user-doc --> | ||
1519 | * <!-- end-user-doc --> | ||
1520 | * @generated | ||
1521 | * @ordered | ||
1522 | */ | ||
1523 | int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1; | ||
1524 | |||
1525 | /** | ||
1526 | * The number of operations of the '<em>State</em>' class. | ||
1527 | * <!-- begin-user-doc --> | ||
1528 | * <!-- end-user-doc --> | ||
1529 | * @generated | ||
1530 | * @ordered | ||
1531 | */ | ||
1532 | int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0; | ||
1533 | |||
1534 | /** | ||
1535 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class. | ||
1536 | * <!-- begin-user-doc --> | ||
1537 | * <!-- end-user-doc --> | ||
1538 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl | ||
1539 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice() | ||
1540 | * @generated | ||
1541 | */ | ||
1542 | int CHOICE = 10; | ||
1543 | |||
1544 | /** | ||
1545 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1546 | * <!-- begin-user-doc --> | ||
1547 | * <!-- end-user-doc --> | ||
1548 | * @generated | ||
1549 | * @ordered | ||
1550 | */ | ||
1551 | int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1552 | |||
1553 | /** | ||
1554 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1555 | * <!-- begin-user-doc --> | ||
1556 | * <!-- end-user-doc --> | ||
1557 | * @generated | ||
1558 | * @ordered | ||
1559 | */ | ||
1560 | int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1561 | |||
1562 | /** | ||
1563 | * The number of structural features of the '<em>Choice</em>' class. | ||
1564 | * <!-- begin-user-doc --> | ||
1565 | * <!-- end-user-doc --> | ||
1566 | * @generated | ||
1567 | * @ordered | ||
1568 | */ | ||
1569 | int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1570 | |||
1571 | /** | ||
1572 | * The number of operations of the '<em>Choice</em>' class. | ||
1573 | * <!-- begin-user-doc --> | ||
1574 | * <!-- end-user-doc --> | ||
1575 | * @generated | ||
1576 | * @ordered | ||
1577 | */ | ||
1578 | int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1579 | |||
1580 | /** | ||
1581 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class. | ||
1582 | * <!-- begin-user-doc --> | ||
1583 | * <!-- end-user-doc --> | ||
1584 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl | ||
1585 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit() | ||
1586 | * @generated | ||
1587 | */ | ||
1588 | int EXIT = 11; | ||
1589 | |||
1590 | /** | ||
1591 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1592 | * <!-- begin-user-doc --> | ||
1593 | * <!-- end-user-doc --> | ||
1594 | * @generated | ||
1595 | * @ordered | ||
1596 | */ | ||
1597 | int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS; | ||
1598 | |||
1599 | /** | ||
1600 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1601 | * <!-- begin-user-doc --> | ||
1602 | * <!-- end-user-doc --> | ||
1603 | * @generated | ||
1604 | * @ordered | ||
1605 | */ | ||
1606 | int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS; | ||
1607 | |||
1608 | /** | ||
1609 | * The number of structural features of the '<em>Exit</em>' class. | ||
1610 | * <!-- begin-user-doc --> | ||
1611 | * <!-- end-user-doc --> | ||
1612 | * @generated | ||
1613 | * @ordered | ||
1614 | */ | ||
1615 | int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0; | ||
1616 | |||
1617 | /** | ||
1618 | * The number of operations of the '<em>Exit</em>' class. | ||
1619 | * <!-- begin-user-doc --> | ||
1620 | * <!-- end-user-doc --> | ||
1621 | * @generated | ||
1622 | * @ordered | ||
1623 | */ | ||
1624 | int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0; | ||
1625 | |||
1626 | /** | ||
1627 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class. | ||
1628 | * <!-- begin-user-doc --> | ||
1629 | * <!-- end-user-doc --> | ||
1630 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl | ||
1631 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState() | ||
1632 | * @generated | ||
1633 | */ | ||
1634 | int FINAL_STATE = 12; | ||
1635 | |||
1636 | /** | ||
1637 | * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list. | ||
1638 | * <!-- begin-user-doc --> | ||
1639 | * <!-- end-user-doc --> | ||
1640 | * @generated | ||
1641 | * @ordered | ||
1642 | */ | ||
1643 | int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS; | ||
1644 | |||
1645 | /** | ||
1646 | * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list. | ||
1647 | * <!-- begin-user-doc --> | ||
1648 | * <!-- end-user-doc --> | ||
1649 | * @generated | ||
1650 | * @ordered | ||
1651 | */ | ||
1652 | int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS; | ||
1653 | |||
1654 | /** | ||
1655 | * The number of structural features of the '<em>Final State</em>' class. | ||
1656 | * <!-- begin-user-doc --> | ||
1657 | * <!-- end-user-doc --> | ||
1658 | * @generated | ||
1659 | * @ordered | ||
1660 | */ | ||
1661 | int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0; | ||
1662 | |||
1663 | /** | ||
1664 | * The number of operations of the '<em>Final State</em>' class. | ||
1665 | * <!-- begin-user-doc --> | ||
1666 | * <!-- end-user-doc --> | ||
1667 | * @generated | ||
1668 | * @ordered | ||
1669 | */ | ||
1670 | int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0; | ||
1671 | |||
1672 | |||
1673 | /** | ||
1674 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'. | ||
1675 | * <!-- begin-user-doc --> | ||
1676 | * <!-- end-user-doc --> | ||
1677 | * @return the meta object for class '<em>Pseudostate</em>'. | ||
1678 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate | ||
1679 | * @generated | ||
1680 | */ | ||
1681 | EClass getPseudostate(); | ||
1682 | |||
1683 | /** | ||
1684 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'. | ||
1685 | * <!-- begin-user-doc --> | ||
1686 | * <!-- end-user-doc --> | ||
1687 | * @return the meta object for class '<em>Vertex</em>'. | ||
1688 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex | ||
1689 | * @generated | ||
1690 | */ | ||
1691 | EClass getVertex(); | ||
1692 | |||
1693 | /** | ||
1694 | * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'. | ||
1695 | * <!-- begin-user-doc --> | ||
1696 | * <!-- end-user-doc --> | ||
1697 | * @return the meta object for the reference list '<em>Incoming Transitions</em>'. | ||
1698 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions() | ||
1699 | * @see #getVertex() | ||
1700 | * @generated | ||
1701 | */ | ||
1702 | EReference getVertex_IncomingTransitions(); | ||
1703 | |||
1704 | /** | ||
1705 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'. | ||
1706 | * <!-- begin-user-doc --> | ||
1707 | * <!-- end-user-doc --> | ||
1708 | * @return the meta object for the containment reference list '<em>Outgoing Transitions</em>'. | ||
1709 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions() | ||
1710 | * @see #getVertex() | ||
1711 | * @generated | ||
1712 | */ | ||
1713 | EReference getVertex_OutgoingTransitions(); | ||
1714 | |||
1715 | /** | ||
1716 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'. | ||
1717 | * <!-- begin-user-doc --> | ||
1718 | * <!-- end-user-doc --> | ||
1719 | * @return the meta object for class '<em>Region</em>'. | ||
1720 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region | ||
1721 | * @generated | ||
1722 | */ | ||
1723 | EClass getRegion(); | ||
1724 | |||
1725 | /** | ||
1726 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices <em>Vertices</em>}'. | ||
1727 | * <!-- begin-user-doc --> | ||
1728 | * <!-- end-user-doc --> | ||
1729 | * @return the meta object for the containment reference list '<em>Vertices</em>'. | ||
1730 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices() | ||
1731 | * @see #getRegion() | ||
1732 | * @generated | ||
1733 | */ | ||
1734 | EReference getRegion_Vertices(); | ||
1735 | |||
1736 | /** | ||
1737 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'. | ||
1738 | * <!-- begin-user-doc --> | ||
1739 | * <!-- end-user-doc --> | ||
1740 | * @return the meta object for class '<em>Transition</em>'. | ||
1741 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition | ||
1742 | * @generated | ||
1743 | */ | ||
1744 | EClass getTransition(); | ||
1745 | |||
1746 | /** | ||
1747 | * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}'. | ||
1748 | * <!-- begin-user-doc --> | ||
1749 | * <!-- end-user-doc --> | ||
1750 | * @return the meta object for the reference '<em>Target</em>'. | ||
1751 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget() | ||
1752 | * @see #getTransition() | ||
1753 | * @generated | ||
1754 | */ | ||
1755 | EReference getTransition_Target(); | ||
1756 | |||
1757 | /** | ||
1758 | * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}'. | ||
1759 | * <!-- begin-user-doc --> | ||
1760 | * <!-- end-user-doc --> | ||
1761 | * @return the meta object for the container reference '<em>Source</em>'. | ||
1762 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource() | ||
1763 | * @see #getTransition() | ||
1764 | * @generated | ||
1765 | */ | ||
1766 | EReference getTransition_Source(); | ||
1767 | |||
1768 | /** | ||
1769 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'. | ||
1770 | * <!-- begin-user-doc --> | ||
1771 | * <!-- end-user-doc --> | ||
1772 | * @return the meta object for class '<em>Statechart</em>'. | ||
1773 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart | ||
1774 | * @generated | ||
1775 | */ | ||
1776 | EClass getStatechart(); | ||
1777 | |||
1778 | /** | ||
1779 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'. | ||
1780 | * <!-- begin-user-doc --> | ||
1781 | * <!-- end-user-doc --> | ||
1782 | * @return the meta object for class '<em>Entry</em>'. | ||
1783 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry | ||
1784 | * @generated | ||
1785 | */ | ||
1786 | EClass getEntry(); | ||
1787 | |||
1788 | /** | ||
1789 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'. | ||
1790 | * <!-- begin-user-doc --> | ||
1791 | * <!-- end-user-doc --> | ||
1792 | * @return the meta object for class '<em>Synchronization</em>'. | ||
1793 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization | ||
1794 | * @generated | ||
1795 | */ | ||
1796 | EClass getSynchronization(); | ||
1797 | |||
1798 | /** | ||
1799 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'. | ||
1800 | * <!-- begin-user-doc --> | ||
1801 | * <!-- end-user-doc --> | ||
1802 | * @return the meta object for class '<em>State</em>'. | ||
1803 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State | ||
1804 | * @generated | ||
1805 | */ | ||
1806 | EClass getState(); | ||
1807 | |||
1808 | /** | ||
1809 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'. | ||
1810 | * <!-- begin-user-doc --> | ||
1811 | * <!-- end-user-doc --> | ||
1812 | * @return the meta object for class '<em>Regular State</em>'. | ||
1813 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState | ||
1814 | * @generated | ||
1815 | */ | ||
1816 | EClass getRegularState(); | ||
1817 | |||
1818 | /** | ||
1819 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'. | ||
1820 | * <!-- begin-user-doc --> | ||
1821 | * <!-- end-user-doc --> | ||
1822 | * @return the meta object for class '<em>Composite Element</em>'. | ||
1823 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement | ||
1824 | * @generated | ||
1825 | */ | ||
1826 | EClass getCompositeElement(); | ||
1827 | |||
1828 | /** | ||
1829 | * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions <em>Regions</em>}'. | ||
1830 | * <!-- begin-user-doc --> | ||
1831 | * <!-- end-user-doc --> | ||
1832 | * @return the meta object for the containment reference list '<em>Regions</em>'. | ||
1833 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions() | ||
1834 | * @see #getCompositeElement() | ||
1835 | * @generated | ||
1836 | */ | ||
1837 | EReference getCompositeElement_Regions(); | ||
1838 | |||
1839 | /** | ||
1840 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'. | ||
1841 | * <!-- begin-user-doc --> | ||
1842 | * <!-- end-user-doc --> | ||
1843 | * @return the meta object for class '<em>Choice</em>'. | ||
1844 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice | ||
1845 | * @generated | ||
1846 | */ | ||
1847 | EClass getChoice(); | ||
1848 | |||
1849 | /** | ||
1850 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'. | ||
1851 | * <!-- begin-user-doc --> | ||
1852 | * <!-- end-user-doc --> | ||
1853 | * @return the meta object for class '<em>Exit</em>'. | ||
1854 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit | ||
1855 | * @generated | ||
1856 | */ | ||
1857 | EClass getExit(); | ||
1858 | |||
1859 | /** | ||
1860 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'. | ||
1861 | * <!-- begin-user-doc --> | ||
1862 | * <!-- end-user-doc --> | ||
1863 | * @return the meta object for class '<em>Final State</em>'. | ||
1864 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState | ||
1865 | * @generated | ||
1866 | */ | ||
1867 | EClass getFinalState(); | ||
1868 | |||
1869 | /** | ||
1870 | * Returns the factory that creates the instances of the model. | ||
1871 | * <!-- begin-user-doc --> | ||
1872 | * <!-- end-user-doc --> | ||
1873 | * @return the factory that creates the instances of the model. | ||
1874 | * @generated | ||
1875 | */ | ||
1876 | YakinduFactory getYakinduFactory(); | ||
1877 | |||
1878 | /** | ||
1879 | * <!-- begin-user-doc --> | ||
1880 | * Defines literals for the meta objects that represent | ||
1881 | * <ul> | ||
1882 | * <li>each class,</li> | ||
1883 | * <li>each feature of each class,</li> | ||
1884 | * <li>each operation of each class,</li> | ||
1885 | * <li>each enum,</li> | ||
1886 | * <li>and each data type</li> | ||
1887 | * </ul> | ||
1888 | * <!-- end-user-doc --> | ||
1889 | * @generated | ||
1890 | */ | ||
1891 | interface Literals { | ||
1892 | /** | ||
1893 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class. | ||
1894 | * <!-- begin-user-doc --> | ||
1895 | * <!-- end-user-doc --> | ||
1896 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl | ||
1897 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate() | ||
1898 | * @generated | ||
1899 | */ | ||
1900 | EClass PSEUDOSTATE = eINSTANCE.getPseudostate(); | ||
1901 | |||
1902 | /** | ||
1903 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class. | ||
1904 | * <!-- begin-user-doc --> | ||
1905 | * <!-- end-user-doc --> | ||
1906 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl | ||
1907 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex() | ||
1908 | * @generated | ||
1909 | */ | ||
1910 | EClass VERTEX = eINSTANCE.getVertex(); | ||
1911 | |||
1912 | /** | ||
1913 | * The meta object literal for the '<em><b>Incoming Transitions</b></em>' reference list feature. | ||
1914 | * <!-- begin-user-doc --> | ||
1915 | * <!-- end-user-doc --> | ||
1916 | * @generated | ||
1917 | */ | ||
1918 | EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions(); | ||
1919 | |||
1920 | /** | ||
1921 | * The meta object literal for the '<em><b>Outgoing Transitions</b></em>' containment reference list feature. | ||
1922 | * <!-- begin-user-doc --> | ||
1923 | * <!-- end-user-doc --> | ||
1924 | * @generated | ||
1925 | */ | ||
1926 | EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions(); | ||
1927 | |||
1928 | /** | ||
1929 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class. | ||
1930 | * <!-- begin-user-doc --> | ||
1931 | * <!-- end-user-doc --> | ||
1932 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl | ||
1933 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion() | ||
1934 | * @generated | ||
1935 | */ | ||
1936 | EClass REGION = eINSTANCE.getRegion(); | ||
1937 | |||
1938 | /** | ||
1939 | * The meta object literal for the '<em><b>Vertices</b></em>' containment reference list feature. | ||
1940 | * <!-- begin-user-doc --> | ||
1941 | * <!-- end-user-doc --> | ||
1942 | * @generated | ||
1943 | */ | ||
1944 | EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices(); | ||
1945 | |||
1946 | /** | ||
1947 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class. | ||
1948 | * <!-- begin-user-doc --> | ||
1949 | * <!-- end-user-doc --> | ||
1950 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl | ||
1951 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition() | ||
1952 | * @generated | ||
1953 | */ | ||
1954 | EClass TRANSITION = eINSTANCE.getTransition(); | ||
1955 | |||
1956 | /** | ||
1957 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
1958 | * <!-- begin-user-doc --> | ||
1959 | * <!-- end-user-doc --> | ||
1960 | * @generated | ||
1961 | */ | ||
1962 | EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target(); | ||
1963 | |||
1964 | /** | ||
1965 | * The meta object literal for the '<em><b>Source</b></em>' container reference feature. | ||
1966 | * <!-- begin-user-doc --> | ||
1967 | * <!-- end-user-doc --> | ||
1968 | * @generated | ||
1969 | */ | ||
1970 | EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source(); | ||
1971 | |||
1972 | /** | ||
1973 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class. | ||
1974 | * <!-- begin-user-doc --> | ||
1975 | * <!-- end-user-doc --> | ||
1976 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl | ||
1977 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart() | ||
1978 | * @generated | ||
1979 | */ | ||
1980 | EClass STATECHART = eINSTANCE.getStatechart(); | ||
1981 | |||
1982 | /** | ||
1983 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class. | ||
1984 | * <!-- begin-user-doc --> | ||
1985 | * <!-- end-user-doc --> | ||
1986 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl | ||
1987 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry() | ||
1988 | * @generated | ||
1989 | */ | ||
1990 | EClass ENTRY = eINSTANCE.getEntry(); | ||
1991 | |||
1992 | /** | ||
1993 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class. | ||
1994 | * <!-- begin-user-doc --> | ||
1995 | * <!-- end-user-doc --> | ||
1996 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl | ||
1997 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization() | ||
1998 | * @generated | ||
1999 | */ | ||
2000 | EClass SYNCHRONIZATION = eINSTANCE.getSynchronization(); | ||
2001 | |||
2002 | /** | ||
2003 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class. | ||
2004 | * <!-- begin-user-doc --> | ||
2005 | * <!-- end-user-doc --> | ||
2006 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl | ||
2007 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState() | ||
2008 | * @generated | ||
2009 | */ | ||
2010 | EClass STATE = eINSTANCE.getState(); | ||
2011 | |||
2012 | /** | ||
2013 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class. | ||
2014 | * <!-- begin-user-doc --> | ||
2015 | * <!-- end-user-doc --> | ||
2016 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl | ||
2017 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState() | ||
2018 | * @generated | ||
2019 | */ | ||
2020 | EClass REGULAR_STATE = eINSTANCE.getRegularState(); | ||
2021 | |||
2022 | /** | ||
2023 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class. | ||
2024 | * <!-- begin-user-doc --> | ||
2025 | * <!-- end-user-doc --> | ||
2026 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl | ||
2027 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement() | ||
2028 | * @generated | ||
2029 | */ | ||
2030 | EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement(); | ||
2031 | |||
2032 | /** | ||
2033 | * The meta object literal for the '<em><b>Regions</b></em>' containment reference list feature. | ||
2034 | * <!-- begin-user-doc --> | ||
2035 | * <!-- end-user-doc --> | ||
2036 | * @generated | ||
2037 | */ | ||
2038 | EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions(); | ||
2039 | |||
2040 | /** | ||
2041 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class. | ||
2042 | * <!-- begin-user-doc --> | ||
2043 | * <!-- end-user-doc --> | ||
2044 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl | ||
2045 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice() | ||
2046 | * @generated | ||
2047 | */ | ||
2048 | EClass CHOICE = eINSTANCE.getChoice(); | ||
2049 | |||
2050 | /** | ||
2051 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class. | ||
2052 | * <!-- begin-user-doc --> | ||
2053 | * <!-- end-user-doc --> | ||
2054 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl | ||
2055 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit() | ||
2056 | * @generated | ||
2057 | */ | ||
2058 | EClass EXIT = eINSTANCE.getExit(); | ||
2059 | |||
2060 | /** | ||
2061 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class. | ||
2062 | * <!-- begin-user-doc --> | ||
2063 | * <!-- end-user-doc --> | ||
2064 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl | ||
2065 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState() | ||
2066 | * @generated | ||
2067 | */ | ||
2068 | EClass FINAL_STATE = eINSTANCE.getFinalState(); | ||
2069 | |||
2070 | } | ||
2071 | |||
2072 | } //YakinduPackage | ||
2073 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java index 379d4a29..d568627b 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -35,3 +36,42 @@ public class ChoiceImpl extends PseudostateImpl implements Choice { | |||
35 | } | 36 | } |
36 | 37 | ||
37 | } //ChoiceImpl | 38 | } //ChoiceImpl |
39 | ======= | ||
40 | /** | ||
41 | */ | ||
42 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
43 | |||
44 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice; | ||
45 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
46 | |||
47 | import org.eclipse.emf.ecore.EClass; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * An implementation of the model object '<em><b>Choice</b></em>'. | ||
52 | * <!-- end-user-doc --> | ||
53 | * | ||
54 | * @generated | ||
55 | */ | ||
56 | public class ChoiceImpl extends PseudostateImpl implements Choice { | ||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | protected ChoiceImpl() { | ||
63 | super(); | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected EClass eStaticClass() { | ||
73 | return YakinduPackage.Literals.CHOICE; | ||
74 | } | ||
75 | |||
76 | } //ChoiceImpl | ||
77 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java index 067a5ee3..cca7e386 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -150,3 +151,157 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
150 | } | 151 | } |
151 | 152 | ||
152 | } //CompositeElementImpl | 153 | } //CompositeElementImpl |
154 | ======= | ||
155 | /** | ||
156 | */ | ||
157 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
158 | |||
159 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; | ||
160 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | ||
161 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
162 | |||
163 | import java.util.Collection; | ||
164 | |||
165 | import org.eclipse.emf.common.notify.NotificationChain; | ||
166 | |||
167 | import org.eclipse.emf.common.util.EList; | ||
168 | |||
169 | import org.eclipse.emf.ecore.EClass; | ||
170 | import org.eclipse.emf.ecore.InternalEObject; | ||
171 | |||
172 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
173 | |||
174 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
175 | import org.eclipse.emf.ecore.util.InternalEList; | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * An implementation of the model object '<em><b>Composite Element</b></em>'. | ||
180 | * <!-- end-user-doc --> | ||
181 | * <p> | ||
182 | * The following features are implemented: | ||
183 | * </p> | ||
184 | * <ul> | ||
185 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl#getRegions <em>Regions</em>}</li> | ||
186 | * </ul> | ||
187 | * | ||
188 | * @generated | ||
189 | */ | ||
190 | public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container implements CompositeElement { | ||
191 | /** | ||
192 | * The cached value of the '{@link #getRegions() <em>Regions</em>}' containment reference list. | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @see #getRegions() | ||
196 | * @generated | ||
197 | * @ordered | ||
198 | */ | ||
199 | protected EList<Region> regions; | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | protected CompositeElementImpl() { | ||
207 | super(); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | protected EClass eStaticClass() { | ||
217 | return YakinduPackage.Literals.COMPOSITE_ELEMENT; | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | public EList<Region> getRegions() { | ||
226 | if (regions == null) { | ||
227 | regions = new EObjectContainmentEList<Region>(Region.class, this, YakinduPackage.COMPOSITE_ELEMENT__REGIONS); | ||
228 | } | ||
229 | return regions; | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | @Override | ||
238 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
239 | switch (featureID) { | ||
240 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: | ||
241 | return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs); | ||
242 | } | ||
243 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
253 | switch (featureID) { | ||
254 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: | ||
255 | return getRegions(); | ||
256 | } | ||
257 | return super.eGet(featureID, resolve, coreType); | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @generated | ||
264 | */ | ||
265 | @SuppressWarnings("unchecked") | ||
266 | @Override | ||
267 | public void eSet(int featureID, Object newValue) { | ||
268 | switch (featureID) { | ||
269 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: | ||
270 | getRegions().clear(); | ||
271 | getRegions().addAll((Collection<? extends Region>)newValue); | ||
272 | return; | ||
273 | } | ||
274 | super.eSet(featureID, newValue); | ||
275 | } | ||
276 | |||
277 | /** | ||
278 | * <!-- begin-user-doc --> | ||
279 | * <!-- end-user-doc --> | ||
280 | * @generated | ||
281 | */ | ||
282 | @Override | ||
283 | public void eUnset(int featureID) { | ||
284 | switch (featureID) { | ||
285 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: | ||
286 | getRegions().clear(); | ||
287 | return; | ||
288 | } | ||
289 | super.eUnset(featureID); | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * <!-- begin-user-doc --> | ||
294 | * <!-- end-user-doc --> | ||
295 | * @generated | ||
296 | */ | ||
297 | @Override | ||
298 | public boolean eIsSet(int featureID) { | ||
299 | switch (featureID) { | ||
300 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: | ||
301 | return regions != null && !regions.isEmpty(); | ||
302 | } | ||
303 | return super.eIsSet(featureID); | ||
304 | } | ||
305 | |||
306 | } //CompositeElementImpl | ||
307 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit: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.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java index ae360e68..136bb7aa 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -35,3 +36,42 @@ public class ExitImpl extends PseudostateImpl implements Exit { | |||
35 | } | 36 | } |
36 | 37 | ||
37 | } //ExitImpl | 38 | } //ExitImpl |
39 | ======= | ||
40 | /** | ||
41 | */ | ||
42 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
43 | |||
44 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit; | ||
45 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
46 | |||
47 | import org.eclipse.emf.ecore.EClass; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * An implementation of the model object '<em><b>Exit</b></em>'. | ||
52 | * <!-- end-user-doc --> | ||
53 | * | ||
54 | * @generated | ||
55 | */ | ||
56 | public class ExitImpl extends PseudostateImpl implements Exit { | ||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | protected ExitImpl() { | ||
63 | super(); | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected EClass eStaticClass() { | ||
73 | return YakinduPackage.Literals.EXIT; | ||
74 | } | ||
75 | |||
76 | } //ExitImpl | ||
77 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java index ccb19763..4607e363 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -35,3 +36,42 @@ public class FinalStateImpl extends RegularStateImpl implements FinalState { | |||
35 | } | 36 | } |
36 | 37 | ||
37 | } //FinalStateImpl | 38 | } //FinalStateImpl |
39 | ======= | ||
40 | /** | ||
41 | */ | ||
42 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
43 | |||
44 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState; | ||
45 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
46 | |||
47 | import org.eclipse.emf.ecore.EClass; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * An implementation of the model object '<em><b>Final State</b></em>'. | ||
52 | * <!-- end-user-doc --> | ||
53 | * | ||
54 | * @generated | ||
55 | */ | ||
56 | public class FinalStateImpl extends RegularStateImpl implements FinalState { | ||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | protected FinalStateImpl() { | ||
63 | super(); | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected EClass eStaticClass() { | ||
73 | return YakinduPackage.Literals.FINAL_STATE; | ||
74 | } | ||
75 | |||
76 | } //FinalStateImpl | ||
77 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java index b8c76c27..66be23f2 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -35,3 +36,42 @@ public abstract class PseudostateImpl extends VertexImpl implements Pseudostate | |||
35 | } | 36 | } |
36 | 37 | ||
37 | } //PseudostateImpl | 38 | } //PseudostateImpl |
39 | ======= | ||
40 | /** | ||
41 | */ | ||
42 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
43 | |||
44 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate; | ||
45 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
46 | |||
47 | import org.eclipse.emf.ecore.EClass; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * An implementation of the model object '<em><b>Pseudostate</b></em>'. | ||
52 | * <!-- end-user-doc --> | ||
53 | * | ||
54 | * @generated | ||
55 | */ | ||
56 | public abstract class PseudostateImpl extends VertexImpl implements Pseudostate { | ||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | protected PseudostateImpl() { | ||
63 | super(); | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected EClass eStaticClass() { | ||
73 | return YakinduPackage.Literals.PSEUDOSTATE; | ||
74 | } | ||
75 | |||
76 | } //PseudostateImpl | ||
77 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java index 440c389c..c384ce06 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -150,3 +151,157 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
150 | } | 151 | } |
151 | 152 | ||
152 | } //RegionImpl | 153 | } //RegionImpl |
154 | ======= | ||
155 | /** | ||
156 | */ | ||
157 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
158 | |||
159 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | ||
160 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | ||
161 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
162 | |||
163 | import java.util.Collection; | ||
164 | |||
165 | import org.eclipse.emf.common.notify.NotificationChain; | ||
166 | |||
167 | import org.eclipse.emf.common.util.EList; | ||
168 | |||
169 | import org.eclipse.emf.ecore.EClass; | ||
170 | import org.eclipse.emf.ecore.InternalEObject; | ||
171 | |||
172 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
173 | |||
174 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
175 | import org.eclipse.emf.ecore.util.InternalEList; | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * An implementation of the model object '<em><b>Region</b></em>'. | ||
180 | * <!-- end-user-doc --> | ||
181 | * <p> | ||
182 | * The following features are implemented: | ||
183 | * </p> | ||
184 | * <ul> | ||
185 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl#getVertices <em>Vertices</em>}</li> | ||
186 | * </ul> | ||
187 | * | ||
188 | * @generated | ||
189 | */ | ||
190 | public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | ||
191 | /** | ||
192 | * The cached value of the '{@link #getVertices() <em>Vertices</em>}' containment reference list. | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @see #getVertices() | ||
196 | * @generated | ||
197 | * @ordered | ||
198 | */ | ||
199 | protected EList<Vertex> vertices; | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | protected RegionImpl() { | ||
207 | super(); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | protected EClass eStaticClass() { | ||
217 | return YakinduPackage.Literals.REGION; | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | public EList<Vertex> getVertices() { | ||
226 | if (vertices == null) { | ||
227 | vertices = new EObjectContainmentEList<Vertex>(Vertex.class, this, YakinduPackage.REGION__VERTICES); | ||
228 | } | ||
229 | return vertices; | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | @Override | ||
238 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
239 | switch (featureID) { | ||
240 | case YakinduPackage.REGION__VERTICES: | ||
241 | return ((InternalEList<?>)getVertices()).basicRemove(otherEnd, msgs); | ||
242 | } | ||
243 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
253 | switch (featureID) { | ||
254 | case YakinduPackage.REGION__VERTICES: | ||
255 | return getVertices(); | ||
256 | } | ||
257 | return super.eGet(featureID, resolve, coreType); | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @generated | ||
264 | */ | ||
265 | @SuppressWarnings("unchecked") | ||
266 | @Override | ||
267 | public void eSet(int featureID, Object newValue) { | ||
268 | switch (featureID) { | ||
269 | case YakinduPackage.REGION__VERTICES: | ||
270 | getVertices().clear(); | ||
271 | getVertices().addAll((Collection<? extends Vertex>)newValue); | ||
272 | return; | ||
273 | } | ||
274 | super.eSet(featureID, newValue); | ||
275 | } | ||
276 | |||
277 | /** | ||
278 | * <!-- begin-user-doc --> | ||
279 | * <!-- end-user-doc --> | ||
280 | * @generated | ||
281 | */ | ||
282 | @Override | ||
283 | public void eUnset(int featureID) { | ||
284 | switch (featureID) { | ||
285 | case YakinduPackage.REGION__VERTICES: | ||
286 | getVertices().clear(); | ||
287 | return; | ||
288 | } | ||
289 | super.eUnset(featureID); | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * <!-- begin-user-doc --> | ||
294 | * <!-- end-user-doc --> | ||
295 | * @generated | ||
296 | */ | ||
297 | @Override | ||
298 | public boolean eIsSet(int featureID) { | ||
299 | switch (featureID) { | ||
300 | case YakinduPackage.REGION__VERTICES: | ||
301 | return vertices != null && !vertices.isEmpty(); | ||
302 | } | ||
303 | return super.eIsSet(featureID); | ||
304 | } | ||
305 | |||
306 | } //RegionImpl | ||
307 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java index 2ada6da9..64a97e60 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -35,3 +36,42 @@ public abstract class RegularStateImpl extends VertexImpl implements RegularStat | |||
35 | } | 36 | } |
36 | 37 | ||
37 | } //RegularStateImpl | 38 | } //RegularStateImpl |
39 | ======= | ||
40 | /** | ||
41 | */ | ||
42 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
43 | |||
44 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState; | ||
45 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
46 | |||
47 | import org.eclipse.emf.ecore.EClass; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * An implementation of the model object '<em><b>Regular State</b></em>'. | ||
52 | * <!-- end-user-doc --> | ||
53 | * | ||
54 | * @generated | ||
55 | */ | ||
56 | public abstract class RegularStateImpl extends VertexImpl implements RegularState { | ||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | protected RegularStateImpl() { | ||
63 | super(); | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected EClass eStaticClass() { | ||
73 | return YakinduPackage.Literals.REGULAR_STATE; | ||
74 | } | ||
75 | |||
76 | } //RegularStateImpl | ||
77 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java index 080bed16..10e619ab 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -181,3 +182,188 @@ public class StateImpl extends RegularStateImpl implements State { | |||
181 | } | 182 | } |
182 | 183 | ||
183 | } //StateImpl | 184 | } //StateImpl |
185 | ======= | ||
186 | /** | ||
187 | */ | ||
188 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
189 | |||
190 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; | ||
191 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | ||
192 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State; | ||
193 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
194 | |||
195 | import java.util.Collection; | ||
196 | |||
197 | import org.eclipse.emf.common.notify.NotificationChain; | ||
198 | |||
199 | import org.eclipse.emf.common.util.EList; | ||
200 | |||
201 | import org.eclipse.emf.ecore.EClass; | ||
202 | import org.eclipse.emf.ecore.InternalEObject; | ||
203 | |||
204 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
205 | import org.eclipse.emf.ecore.util.InternalEList; | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * An implementation of the model object '<em><b>State</b></em>'. | ||
210 | * <!-- end-user-doc --> | ||
211 | * <p> | ||
212 | * The following features are implemented: | ||
213 | * </p> | ||
214 | * <ul> | ||
215 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl#getRegions <em>Regions</em>}</li> | ||
216 | * </ul> | ||
217 | * | ||
218 | * @generated | ||
219 | */ | ||
220 | public class StateImpl extends RegularStateImpl implements State { | ||
221 | /** | ||
222 | * The cached value of the '{@link #getRegions() <em>Regions</em>}' containment reference list. | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @see #getRegions() | ||
226 | * @generated | ||
227 | * @ordered | ||
228 | */ | ||
229 | protected EList<Region> regions; | ||
230 | |||
231 | /** | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | protected StateImpl() { | ||
237 | super(); | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | @Override | ||
246 | protected EClass eStaticClass() { | ||
247 | return YakinduPackage.Literals.STATE; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @generated | ||
254 | */ | ||
255 | public EList<Region> getRegions() { | ||
256 | if (regions == null) { | ||
257 | regions = new EObjectContainmentEList<Region>(Region.class, this, YakinduPackage.STATE__REGIONS); | ||
258 | } | ||
259 | return regions; | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * <!-- begin-user-doc --> | ||
264 | * <!-- end-user-doc --> | ||
265 | * @generated | ||
266 | */ | ||
267 | @Override | ||
268 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
269 | switch (featureID) { | ||
270 | case YakinduPackage.STATE__REGIONS: | ||
271 | return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs); | ||
272 | } | ||
273 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | @Override | ||
282 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
283 | switch (featureID) { | ||
284 | case YakinduPackage.STATE__REGIONS: | ||
285 | return getRegions(); | ||
286 | } | ||
287 | return super.eGet(featureID, resolve, coreType); | ||
288 | } | ||
289 | |||
290 | /** | ||
291 | * <!-- begin-user-doc --> | ||
292 | * <!-- end-user-doc --> | ||
293 | * @generated | ||
294 | */ | ||
295 | @SuppressWarnings("unchecked") | ||
296 | @Override | ||
297 | public void eSet(int featureID, Object newValue) { | ||
298 | switch (featureID) { | ||
299 | case YakinduPackage.STATE__REGIONS: | ||
300 | getRegions().clear(); | ||
301 | getRegions().addAll((Collection<? extends Region>)newValue); | ||
302 | return; | ||
303 | } | ||
304 | super.eSet(featureID, newValue); | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * <!-- begin-user-doc --> | ||
309 | * <!-- end-user-doc --> | ||
310 | * @generated | ||
311 | */ | ||
312 | @Override | ||
313 | public void eUnset(int featureID) { | ||
314 | switch (featureID) { | ||
315 | case YakinduPackage.STATE__REGIONS: | ||
316 | getRegions().clear(); | ||
317 | return; | ||
318 | } | ||
319 | super.eUnset(featureID); | ||
320 | } | ||
321 | |||
322 | /** | ||
323 | * <!-- begin-user-doc --> | ||
324 | * <!-- end-user-doc --> | ||
325 | * @generated | ||
326 | */ | ||
327 | @Override | ||
328 | public boolean eIsSet(int featureID) { | ||
329 | switch (featureID) { | ||
330 | case YakinduPackage.STATE__REGIONS: | ||
331 | return regions != null && !regions.isEmpty(); | ||
332 | } | ||
333 | return super.eIsSet(featureID); | ||
334 | } | ||
335 | |||
336 | /** | ||
337 | * <!-- begin-user-doc --> | ||
338 | * <!-- end-user-doc --> | ||
339 | * @generated | ||
340 | */ | ||
341 | @Override | ||
342 | public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { | ||
343 | if (baseClass == CompositeElement.class) { | ||
344 | switch (derivedFeatureID) { | ||
345 | case YakinduPackage.STATE__REGIONS: return YakinduPackage.COMPOSITE_ELEMENT__REGIONS; | ||
346 | default: return -1; | ||
347 | } | ||
348 | } | ||
349 | return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); | ||
350 | } | ||
351 | |||
352 | /** | ||
353 | * <!-- begin-user-doc --> | ||
354 | * <!-- end-user-doc --> | ||
355 | * @generated | ||
356 | */ | ||
357 | @Override | ||
358 | public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) { | ||
359 | if (baseClass == CompositeElement.class) { | ||
360 | switch (baseFeatureID) { | ||
361 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: return YakinduPackage.STATE__REGIONS; | ||
362 | default: return -1; | ||
363 | } | ||
364 | } | ||
365 | return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); | ||
366 | } | ||
367 | |||
368 | } //StateImpl | ||
369 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java index 0b48e8d8..3386a99b 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -35,3 +36,42 @@ public class StatechartImpl extends CompositeElementImpl implements Statechart { | |||
35 | } | 36 | } |
36 | 37 | ||
37 | } //StatechartImpl | 38 | } //StatechartImpl |
39 | ======= | ||
40 | /** | ||
41 | */ | ||
42 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
43 | |||
44 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart; | ||
45 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
46 | |||
47 | import org.eclipse.emf.ecore.EClass; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * An implementation of the model object '<em><b>Statechart</b></em>'. | ||
52 | * <!-- end-user-doc --> | ||
53 | * | ||
54 | * @generated | ||
55 | */ | ||
56 | public class StatechartImpl extends CompositeElementImpl implements Statechart { | ||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | protected StatechartImpl() { | ||
63 | super(); | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected EClass eStaticClass() { | ||
73 | return YakinduPackage.Literals.STATECHART; | ||
74 | } | ||
75 | |||
76 | } //StatechartImpl | ||
77 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java index 875964a2..83bb7263 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -282,3 +283,289 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
282 | } | 283 | } |
283 | 284 | ||
284 | } //TransitionImpl | 285 | } //TransitionImpl |
286 | ======= | ||
287 | /** | ||
288 | */ | ||
289 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
290 | |||
291 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; | ||
292 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | ||
293 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
294 | |||
295 | import org.eclipse.emf.common.notify.Notification; | ||
296 | import org.eclipse.emf.common.notify.NotificationChain; | ||
297 | |||
298 | import org.eclipse.emf.ecore.EClass; | ||
299 | import org.eclipse.emf.ecore.InternalEObject; | ||
300 | |||
301 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
302 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
303 | |||
304 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
305 | |||
306 | /** | ||
307 | * <!-- begin-user-doc --> | ||
308 | * An implementation of the model object '<em><b>Transition</b></em>'. | ||
309 | * <!-- end-user-doc --> | ||
310 | * <p> | ||
311 | * The following features are implemented: | ||
312 | * </p> | ||
313 | * <ul> | ||
314 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl#getTarget <em>Target</em>}</li> | ||
315 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl#getSource <em>Source</em>}</li> | ||
316 | * </ul> | ||
317 | * | ||
318 | * @generated | ||
319 | */ | ||
320 | public class TransitionImpl extends MinimalEObjectImpl.Container implements Transition { | ||
321 | /** | ||
322 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
323 | * <!-- begin-user-doc --> | ||
324 | * <!-- end-user-doc --> | ||
325 | * @see #getTarget() | ||
326 | * @generated | ||
327 | * @ordered | ||
328 | */ | ||
329 | protected Vertex target; | ||
330 | |||
331 | /** | ||
332 | * <!-- begin-user-doc --> | ||
333 | * <!-- end-user-doc --> | ||
334 | * @generated | ||
335 | */ | ||
336 | protected TransitionImpl() { | ||
337 | super(); | ||
338 | } | ||
339 | |||
340 | /** | ||
341 | * <!-- begin-user-doc --> | ||
342 | * <!-- end-user-doc --> | ||
343 | * @generated | ||
344 | */ | ||
345 | @Override | ||
346 | protected EClass eStaticClass() { | ||
347 | return YakinduPackage.Literals.TRANSITION; | ||
348 | } | ||
349 | |||
350 | /** | ||
351 | * <!-- begin-user-doc --> | ||
352 | * <!-- end-user-doc --> | ||
353 | * @generated | ||
354 | */ | ||
355 | public Vertex getTarget() { | ||
356 | if (target != null && target.eIsProxy()) { | ||
357 | InternalEObject oldTarget = (InternalEObject)target; | ||
358 | target = (Vertex)eResolveProxy(oldTarget); | ||
359 | if (target != oldTarget) { | ||
360 | if (eNotificationRequired()) | ||
361 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, YakinduPackage.TRANSITION__TARGET, oldTarget, target)); | ||
362 | } | ||
363 | } | ||
364 | return target; | ||
365 | } | ||
366 | |||
367 | /** | ||
368 | * <!-- begin-user-doc --> | ||
369 | * <!-- end-user-doc --> | ||
370 | * @generated | ||
371 | */ | ||
372 | public Vertex basicGetTarget() { | ||
373 | return target; | ||
374 | } | ||
375 | |||
376 | /** | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @generated | ||
380 | */ | ||
381 | public NotificationChain basicSetTarget(Vertex newTarget, NotificationChain msgs) { | ||
382 | Vertex oldTarget = target; | ||
383 | target = newTarget; | ||
384 | if (eNotificationRequired()) { | ||
385 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, oldTarget, newTarget); | ||
386 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
387 | } | ||
388 | return msgs; | ||
389 | } | ||
390 | |||
391 | /** | ||
392 | * <!-- begin-user-doc --> | ||
393 | * <!-- end-user-doc --> | ||
394 | * @generated | ||
395 | */ | ||
396 | public void setTarget(Vertex newTarget) { | ||
397 | if (newTarget != target) { | ||
398 | NotificationChain msgs = null; | ||
399 | if (target != null) | ||
400 | msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); | ||
401 | if (newTarget != null) | ||
402 | msgs = ((InternalEObject)newTarget).eInverseAdd(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); | ||
403 | msgs = basicSetTarget(newTarget, msgs); | ||
404 | if (msgs != null) msgs.dispatch(); | ||
405 | } | ||
406 | else if (eNotificationRequired()) | ||
407 | eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, newTarget, newTarget)); | ||
408 | } | ||
409 | |||
410 | /** | ||
411 | * <!-- begin-user-doc --> | ||
412 | * <!-- end-user-doc --> | ||
413 | * @generated | ||
414 | */ | ||
415 | public Vertex getSource() { | ||
416 | if (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE) return null; | ||
417 | return (Vertex)eInternalContainer(); | ||
418 | } | ||
419 | |||
420 | /** | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | */ | ||
425 | public NotificationChain basicSetSource(Vertex newSource, NotificationChain msgs) { | ||
426 | msgs = eBasicSetContainer((InternalEObject)newSource, YakinduPackage.TRANSITION__SOURCE, msgs); | ||
427 | return msgs; | ||
428 | } | ||
429 | |||
430 | /** | ||
431 | * <!-- begin-user-doc --> | ||
432 | * <!-- end-user-doc --> | ||
433 | * @generated | ||
434 | */ | ||
435 | public void setSource(Vertex newSource) { | ||
436 | if (newSource != eInternalContainer() || (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE && newSource != null)) { | ||
437 | if (EcoreUtil.isAncestor(this, newSource)) | ||
438 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | ||
439 | NotificationChain msgs = null; | ||
440 | if (eInternalContainer() != null) | ||
441 | msgs = eBasicRemoveFromContainer(msgs); | ||
442 | if (newSource != null) | ||
443 | msgs = ((InternalEObject)newSource).eInverseAdd(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs); | ||
444 | msgs = basicSetSource(newSource, msgs); | ||
445 | if (msgs != null) msgs.dispatch(); | ||
446 | } | ||
447 | else if (eNotificationRequired()) | ||
448 | eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__SOURCE, newSource, newSource)); | ||
449 | } | ||
450 | |||
451 | /** | ||
452 | * <!-- begin-user-doc --> | ||
453 | * <!-- end-user-doc --> | ||
454 | * @generated | ||
455 | */ | ||
456 | @Override | ||
457 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
458 | switch (featureID) { | ||
459 | case YakinduPackage.TRANSITION__TARGET: | ||
460 | if (target != null) | ||
461 | msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); | ||
462 | return basicSetTarget((Vertex)otherEnd, msgs); | ||
463 | case YakinduPackage.TRANSITION__SOURCE: | ||
464 | if (eInternalContainer() != null) | ||
465 | msgs = eBasicRemoveFromContainer(msgs); | ||
466 | return basicSetSource((Vertex)otherEnd, msgs); | ||
467 | } | ||
468 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
469 | } | ||
470 | |||
471 | /** | ||
472 | * <!-- begin-user-doc --> | ||
473 | * <!-- end-user-doc --> | ||
474 | * @generated | ||
475 | */ | ||
476 | @Override | ||
477 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
478 | switch (featureID) { | ||
479 | case YakinduPackage.TRANSITION__TARGET: | ||
480 | return basicSetTarget(null, msgs); | ||
481 | case YakinduPackage.TRANSITION__SOURCE: | ||
482 | return basicSetSource(null, msgs); | ||
483 | } | ||
484 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
485 | } | ||
486 | |||
487 | /** | ||
488 | * <!-- begin-user-doc --> | ||
489 | * <!-- end-user-doc --> | ||
490 | * @generated | ||
491 | */ | ||
492 | @Override | ||
493 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | ||
494 | switch (eContainerFeatureID()) { | ||
495 | case YakinduPackage.TRANSITION__SOURCE: | ||
496 | return eInternalContainer().eInverseRemove(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs); | ||
497 | } | ||
498 | return super.eBasicRemoveFromContainerFeature(msgs); | ||
499 | } | ||
500 | |||
501 | /** | ||
502 | * <!-- begin-user-doc --> | ||
503 | * <!-- end-user-doc --> | ||
504 | * @generated | ||
505 | */ | ||
506 | @Override | ||
507 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
508 | switch (featureID) { | ||
509 | case YakinduPackage.TRANSITION__TARGET: | ||
510 | if (resolve) return getTarget(); | ||
511 | return basicGetTarget(); | ||
512 | case YakinduPackage.TRANSITION__SOURCE: | ||
513 | return getSource(); | ||
514 | } | ||
515 | return super.eGet(featureID, resolve, coreType); | ||
516 | } | ||
517 | |||
518 | /** | ||
519 | * <!-- begin-user-doc --> | ||
520 | * <!-- end-user-doc --> | ||
521 | * @generated | ||
522 | */ | ||
523 | @Override | ||
524 | public void eSet(int featureID, Object newValue) { | ||
525 | switch (featureID) { | ||
526 | case YakinduPackage.TRANSITION__TARGET: | ||
527 | setTarget((Vertex)newValue); | ||
528 | return; | ||
529 | case YakinduPackage.TRANSITION__SOURCE: | ||
530 | setSource((Vertex)newValue); | ||
531 | return; | ||
532 | } | ||
533 | super.eSet(featureID, newValue); | ||
534 | } | ||
535 | |||
536 | /** | ||
537 | * <!-- begin-user-doc --> | ||
538 | * <!-- end-user-doc --> | ||
539 | * @generated | ||
540 | */ | ||
541 | @Override | ||
542 | public void eUnset(int featureID) { | ||
543 | switch (featureID) { | ||
544 | case YakinduPackage.TRANSITION__TARGET: | ||
545 | setTarget((Vertex)null); | ||
546 | return; | ||
547 | case YakinduPackage.TRANSITION__SOURCE: | ||
548 | setSource((Vertex)null); | ||
549 | return; | ||
550 | } | ||
551 | super.eUnset(featureID); | ||
552 | } | ||
553 | |||
554 | /** | ||
555 | * <!-- begin-user-doc --> | ||
556 | * <!-- end-user-doc --> | ||
557 | * @generated | ||
558 | */ | ||
559 | @Override | ||
560 | public boolean eIsSet(int featureID) { | ||
561 | switch (featureID) { | ||
562 | case YakinduPackage.TRANSITION__TARGET: | ||
563 | return target != null; | ||
564 | case YakinduPackage.TRANSITION__SOURCE: | ||
565 | return getSource() != null; | ||
566 | } | ||
567 | return super.eIsSet(featureID); | ||
568 | } | ||
569 | |||
570 | } //TransitionImpl | ||
571 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java index 66871f3f..5e78c566 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -204,3 +205,211 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
204 | } | 205 | } |
205 | 206 | ||
206 | } //VertexImpl | 207 | } //VertexImpl |
208 | ======= | ||
209 | /** | ||
210 | */ | ||
211 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
212 | |||
213 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; | ||
214 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | ||
215 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
216 | |||
217 | import java.util.Collection; | ||
218 | |||
219 | import org.eclipse.emf.common.notify.NotificationChain; | ||
220 | |||
221 | import org.eclipse.emf.common.util.EList; | ||
222 | |||
223 | import org.eclipse.emf.ecore.EClass; | ||
224 | import org.eclipse.emf.ecore.InternalEObject; | ||
225 | |||
226 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
227 | |||
228 | import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; | ||
229 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
230 | import org.eclipse.emf.ecore.util.InternalEList; | ||
231 | |||
232 | /** | ||
233 | * <!-- begin-user-doc --> | ||
234 | * An implementation of the model object '<em><b>Vertex</b></em>'. | ||
235 | * <!-- end-user-doc --> | ||
236 | * <p> | ||
237 | * The following features are implemented: | ||
238 | * </p> | ||
239 | * <ul> | ||
240 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl#getIncomingTransitions <em>Incoming Transitions</em>}</li> | ||
241 | * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl#getOutgoingTransitions <em>Outgoing Transitions</em>}</li> | ||
242 | * </ul> | ||
243 | * | ||
244 | * @generated | ||
245 | */ | ||
246 | public abstract class VertexImpl extends MinimalEObjectImpl.Container implements Vertex { | ||
247 | /** | ||
248 | * The cached value of the '{@link #getIncomingTransitions() <em>Incoming Transitions</em>}' reference list. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @see #getIncomingTransitions() | ||
252 | * @generated | ||
253 | * @ordered | ||
254 | */ | ||
255 | protected EList<Transition> incomingTransitions; | ||
256 | |||
257 | /** | ||
258 | * The cached value of the '{@link #getOutgoingTransitions() <em>Outgoing Transitions</em>}' containment reference list. | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @see #getOutgoingTransitions() | ||
262 | * @generated | ||
263 | * @ordered | ||
264 | */ | ||
265 | protected EList<Transition> outgoingTransitions; | ||
266 | |||
267 | /** | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | protected VertexImpl() { | ||
273 | super(); | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | @Override | ||
282 | protected EClass eStaticClass() { | ||
283 | return YakinduPackage.Literals.VERTEX; | ||
284 | } | ||
285 | |||
286 | /** | ||
287 | * <!-- begin-user-doc --> | ||
288 | * <!-- end-user-doc --> | ||
289 | * @generated | ||
290 | */ | ||
291 | public EList<Transition> getIncomingTransitions() { | ||
292 | if (incomingTransitions == null) { | ||
293 | incomingTransitions = new EObjectWithInverseResolvingEList<Transition>(Transition.class, this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, YakinduPackage.TRANSITION__TARGET); | ||
294 | } | ||
295 | return incomingTransitions; | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | public EList<Transition> getOutgoingTransitions() { | ||
304 | if (outgoingTransitions == null) { | ||
305 | outgoingTransitions = new EObjectContainmentWithInverseEList<Transition>(Transition.class, this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, YakinduPackage.TRANSITION__SOURCE); | ||
306 | } | ||
307 | return outgoingTransitions; | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | */ | ||
315 | @SuppressWarnings("unchecked") | ||
316 | @Override | ||
317 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
318 | switch (featureID) { | ||
319 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: | ||
320 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingTransitions()).basicAdd(otherEnd, msgs); | ||
321 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | ||
322 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingTransitions()).basicAdd(otherEnd, msgs); | ||
323 | } | ||
324 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
325 | } | ||
326 | |||
327 | /** | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | */ | ||
332 | @Override | ||
333 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
334 | switch (featureID) { | ||
335 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: | ||
336 | return ((InternalEList<?>)getIncomingTransitions()).basicRemove(otherEnd, msgs); | ||
337 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | ||
338 | return ((InternalEList<?>)getOutgoingTransitions()).basicRemove(otherEnd, msgs); | ||
339 | } | ||
340 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
341 | } | ||
342 | |||
343 | /** | ||
344 | * <!-- begin-user-doc --> | ||
345 | * <!-- end-user-doc --> | ||
346 | * @generated | ||
347 | */ | ||
348 | @Override | ||
349 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
350 | switch (featureID) { | ||
351 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: | ||
352 | return getIncomingTransitions(); | ||
353 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | ||
354 | return getOutgoingTransitions(); | ||
355 | } | ||
356 | return super.eGet(featureID, resolve, coreType); | ||
357 | } | ||
358 | |||
359 | /** | ||
360 | * <!-- begin-user-doc --> | ||
361 | * <!-- end-user-doc --> | ||
362 | * @generated | ||
363 | */ | ||
364 | @SuppressWarnings("unchecked") | ||
365 | @Override | ||
366 | public void eSet(int featureID, Object newValue) { | ||
367 | switch (featureID) { | ||
368 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: | ||
369 | getIncomingTransitions().clear(); | ||
370 | getIncomingTransitions().addAll((Collection<? extends Transition>)newValue); | ||
371 | return; | ||
372 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | ||
373 | getOutgoingTransitions().clear(); | ||
374 | getOutgoingTransitions().addAll((Collection<? extends Transition>)newValue); | ||
375 | return; | ||
376 | } | ||
377 | super.eSet(featureID, newValue); | ||
378 | } | ||
379 | |||
380 | /** | ||
381 | * <!-- begin-user-doc --> | ||
382 | * <!-- end-user-doc --> | ||
383 | * @generated | ||
384 | */ | ||
385 | @Override | ||
386 | public void eUnset(int featureID) { | ||
387 | switch (featureID) { | ||
388 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: | ||
389 | getIncomingTransitions().clear(); | ||
390 | return; | ||
391 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | ||
392 | getOutgoingTransitions().clear(); | ||
393 | return; | ||
394 | } | ||
395 | super.eUnset(featureID); | ||
396 | } | ||
397 | |||
398 | /** | ||
399 | * <!-- begin-user-doc --> | ||
400 | * <!-- end-user-doc --> | ||
401 | * @generated | ||
402 | */ | ||
403 | @Override | ||
404 | public boolean eIsSet(int featureID) { | ||
405 | switch (featureID) { | ||
406 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: | ||
407 | return incomingTransitions != null && !incomingTransitions.isEmpty(); | ||
408 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | ||
409 | return outgoingTransitions != null && !outgoingTransitions.isEmpty(); | ||
410 | } | ||
411 | return super.eIsSet(featureID); | ||
412 | } | ||
413 | |||
414 | } //VertexImpl | ||
415 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java new file mode 100644 index 00000000..1aa8b67a --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java | |||
@@ -0,0 +1,409 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java | ||
2 | /** | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | ||
5 | |||
6 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.EDataType; | ||
10 | import org.eclipse.emf.ecore.EObject; | ||
11 | import org.eclipse.emf.ecore.EPackage; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
14 | |||
15 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model <b>Factory</b>. | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | public class YakindummFactoryImpl extends EFactoryImpl implements YakindummFactory { | ||
24 | /** | ||
25 | * Creates the default factory implementation. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | public static YakindummFactory init() { | ||
31 | try { | ||
32 | YakindummFactory theYakindummFactory = (YakindummFactory)EPackage.Registry.INSTANCE.getEFactory(YakindummPackage.eNS_URI); | ||
33 | if (theYakindummFactory != null) { | ||
34 | return theYakindummFactory; | ||
35 | } | ||
36 | } | ||
37 | catch (Exception exception) { | ||
38 | EcorePlugin.INSTANCE.log(exception); | ||
39 | } | ||
40 | return new YakindummFactoryImpl(); | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Creates an instance of the factory. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | public YakindummFactoryImpl() { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | public EObject create(EClass eClass) { | ||
60 | switch (eClass.getClassifierID()) { | ||
61 | case YakindummPackage.REGION: return createRegion(); | ||
62 | case YakindummPackage.TRANSITION: return createTransition(); | ||
63 | case YakindummPackage.STATECHART: return createStatechart(); | ||
64 | case YakindummPackage.ENTRY: return createEntry(); | ||
65 | case YakindummPackage.STATE: return createState(); | ||
66 | case YakindummPackage.CHOICE: return createChoice(); | ||
67 | case YakindummPackage.EXIT: return createExit(); | ||
68 | case YakindummPackage.FINAL_STATE: return createFinalState(); | ||
69 | default: | ||
70 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
71 | } | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | public Object createFromString(EDataType eDataType, String initialValue) { | ||
81 | switch (eDataType.getClassifierID()) { | ||
82 | case YakindummPackage.ENTRY_TYPE: | ||
83 | return createEntryTypeFromString(eDataType, initialValue); | ||
84 | default: | ||
85 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
86 | } | ||
87 | } | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | @Override | ||
95 | public String convertToString(EDataType eDataType, Object instanceValue) { | ||
96 | switch (eDataType.getClassifierID()) { | ||
97 | case YakindummPackage.ENTRY_TYPE: | ||
98 | return convertEntryTypeToString(eDataType, instanceValue); | ||
99 | default: | ||
100 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
101 | } | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public Region createRegion() { | ||
110 | RegionImpl region = new RegionImpl(); | ||
111 | return region; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public Transition createTransition() { | ||
120 | TransitionImpl transition = new TransitionImpl(); | ||
121 | return transition; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | public Statechart createStatechart() { | ||
130 | StatechartImpl statechart = new StatechartImpl(); | ||
131 | return statechart; | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public Entry createEntry() { | ||
140 | EntryImpl entry = new EntryImpl(); | ||
141 | return entry; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | public State createState() { | ||
150 | StateImpl state = new StateImpl(); | ||
151 | return state; | ||
152 | } | ||
153 | |||
154 | /** | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | */ | ||
159 | public Choice createChoice() { | ||
160 | ChoiceImpl choice = new ChoiceImpl(); | ||
161 | return choice; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | public Exit createExit() { | ||
170 | ExitImpl exit = new ExitImpl(); | ||
171 | return exit; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | public FinalState createFinalState() { | ||
180 | FinalStateImpl finalState = new FinalStateImpl(); | ||
181 | return finalState; | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @generated | ||
188 | */ | ||
189 | public EntryType createEntryTypeFromString(EDataType eDataType, String initialValue) { | ||
190 | EntryType result = EntryType.get(initialValue); | ||
191 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
192 | return result; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | public String convertEntryTypeToString(EDataType eDataType, Object instanceValue) { | ||
201 | return instanceValue == null ? null : instanceValue.toString(); | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | public YakindummPackage getYakindummPackage() { | ||
210 | return (YakindummPackage)getEPackage(); | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @deprecated | ||
217 | * @generated | ||
218 | */ | ||
219 | @Deprecated | ||
220 | public static YakindummPackage getPackage() { | ||
221 | return YakindummPackage.eINSTANCE; | ||
222 | } | ||
223 | |||
224 | } //YakindummFactoryImpl | ||
225 | ======= | ||
226 | /** | ||
227 | */ | ||
228 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
229 | |||
230 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
231 | |||
232 | import org.eclipse.emf.ecore.EClass; | ||
233 | import org.eclipse.emf.ecore.EObject; | ||
234 | import org.eclipse.emf.ecore.EPackage; | ||
235 | |||
236 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
237 | |||
238 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * An implementation of the model <b>Factory</b>. | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | public class YakinduFactoryImpl extends EFactoryImpl implements YakinduFactory { | ||
247 | /** | ||
248 | * Creates the default factory implementation. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | public static YakinduFactory init() { | ||
254 | try { | ||
255 | YakinduFactory theYakinduFactory = (YakinduFactory)EPackage.Registry.INSTANCE.getEFactory(YakinduPackage.eNS_URI); | ||
256 | if (theYakinduFactory != null) { | ||
257 | return theYakinduFactory; | ||
258 | } | ||
259 | } | ||
260 | catch (Exception exception) { | ||
261 | EcorePlugin.INSTANCE.log(exception); | ||
262 | } | ||
263 | return new YakinduFactoryImpl(); | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * Creates an instance of the factory. | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | public YakinduFactoryImpl() { | ||
273 | super(); | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | @Override | ||
282 | public EObject create(EClass eClass) { | ||
283 | switch (eClass.getClassifierID()) { | ||
284 | case YakinduPackage.REGION: return createRegion(); | ||
285 | case YakinduPackage.TRANSITION: return createTransition(); | ||
286 | case YakinduPackage.STATECHART: return createStatechart(); | ||
287 | case YakinduPackage.ENTRY: return createEntry(); | ||
288 | case YakinduPackage.SYNCHRONIZATION: return createSynchronization(); | ||
289 | case YakinduPackage.STATE: return createState(); | ||
290 | case YakinduPackage.CHOICE: return createChoice(); | ||
291 | case YakinduPackage.EXIT: return createExit(); | ||
292 | case YakinduPackage.FINAL_STATE: return createFinalState(); | ||
293 | default: | ||
294 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
295 | } | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | public Region createRegion() { | ||
304 | RegionImpl region = new RegionImpl(); | ||
305 | return region; | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * <!-- begin-user-doc --> | ||
310 | * <!-- end-user-doc --> | ||
311 | * @generated | ||
312 | */ | ||
313 | public Transition createTransition() { | ||
314 | TransitionImpl transition = new TransitionImpl(); | ||
315 | return transition; | ||
316 | } | ||
317 | |||
318 | /** | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | */ | ||
323 | public Statechart createStatechart() { | ||
324 | StatechartImpl statechart = new StatechartImpl(); | ||
325 | return statechart; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | public Entry createEntry() { | ||
334 | EntryImpl entry = new EntryImpl(); | ||
335 | return entry; | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | */ | ||
343 | public Synchronization createSynchronization() { | ||
344 | SynchronizationImpl synchronization = new SynchronizationImpl(); | ||
345 | return synchronization; | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | */ | ||
353 | public State createState() { | ||
354 | StateImpl state = new StateImpl(); | ||
355 | return state; | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | public Choice createChoice() { | ||
364 | ChoiceImpl choice = new ChoiceImpl(); | ||
365 | return choice; | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | public Exit createExit() { | ||
374 | ExitImpl exit = new ExitImpl(); | ||
375 | return exit; | ||
376 | } | ||
377 | |||
378 | /** | ||
379 | * <!-- begin-user-doc --> | ||
380 | * <!-- end-user-doc --> | ||
381 | * @generated | ||
382 | */ | ||
383 | public FinalState createFinalState() { | ||
384 | FinalStateImpl finalState = new FinalStateImpl(); | ||
385 | return finalState; | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
393 | public YakinduPackage getYakinduPackage() { | ||
394 | return (YakinduPackage)getEPackage(); | ||
395 | } | ||
396 | |||
397 | /** | ||
398 | * <!-- begin-user-doc --> | ||
399 | * <!-- end-user-doc --> | ||
400 | * @deprecated | ||
401 | * @generated | ||
402 | */ | ||
403 | @Deprecated | ||
404 | public static YakinduPackage getPackage() { | ||
405 | return YakinduPackage.eINSTANCE; | ||
406 | } | ||
407 | |||
408 | } //YakinduFactoryImpl | ||
409 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java new file mode 100644 index 00000000..87ae07f4 --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java | |||
@@ -0,0 +1,1008 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java | ||
2 | /** | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | ||
5 | |||
6 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice; | ||
7 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement; | ||
8 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry; | ||
9 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType; | ||
10 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit; | ||
11 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState; | ||
12 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate; | ||
13 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region; | ||
14 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState; | ||
15 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State; | ||
16 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart; | ||
17 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition; | ||
18 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex; | ||
19 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummFactory; | ||
20 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage; | ||
21 | |||
22 | import org.eclipse.emf.ecore.EAttribute; | ||
23 | import org.eclipse.emf.ecore.EClass; | ||
24 | import org.eclipse.emf.ecore.EEnum; | ||
25 | import org.eclipse.emf.ecore.EPackage; | ||
26 | import org.eclipse.emf.ecore.EReference; | ||
27 | |||
28 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * An implementation of the model <b>Package</b>. | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | public class YakindummPackageImpl extends EPackageImpl implements YakindummPackage { | ||
37 | /** | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | private EClass pseudostateEClass = null; | ||
43 | |||
44 | /** | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | private EClass vertexEClass = null; | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | private EClass regionEClass = null; | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | private EClass transitionEClass = null; | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | private EClass statechartEClass = null; | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | private EClass entryEClass = null; | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | private EClass stateEClass = null; | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | private EClass regularStateEClass = null; | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | private EClass compositeElementEClass = null; | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | private EClass choiceEClass = null; | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | private EClass exitEClass = null; | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | private EClass finalStateEClass = null; | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | private EEnum entryTypeEEnum = null; | ||
127 | |||
128 | /** | ||
129 | * Creates an instance of the model <b>Package</b>, registered with | ||
130 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
131 | * package URI value. | ||
132 | * <p>Note: the correct way to create the package is via the static | ||
133 | * factory method {@link #init init()}, which also performs | ||
134 | * initialization of the package, or returns the registered package, | ||
135 | * if one already exists. | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
139 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#eNS_URI | ||
140 | * @see #init() | ||
141 | * @generated | ||
142 | */ | ||
143 | private YakindummPackageImpl() { | ||
144 | super(eNS_URI, YakindummFactory.eINSTANCE); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | private static boolean isInited = false; | ||
153 | |||
154 | /** | ||
155 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
156 | * | ||
157 | * <p>This method is used to initialize {@link YakindummPackage#eINSTANCE} when that field is accessed. | ||
158 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @see #eNS_URI | ||
162 | * @see #createPackageContents() | ||
163 | * @see #initializePackageContents() | ||
164 | * @generated | ||
165 | */ | ||
166 | public static YakindummPackage init() { | ||
167 | if (isInited) return (YakindummPackage)EPackage.Registry.INSTANCE.getEPackage(YakindummPackage.eNS_URI); | ||
168 | |||
169 | // Obtain or create and register package | ||
170 | Object registeredYakindummPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
171 | YakindummPackageImpl theYakindummPackage = registeredYakindummPackage instanceof YakindummPackageImpl ? (YakindummPackageImpl)registeredYakindummPackage : new YakindummPackageImpl(); | ||
172 | |||
173 | isInited = true; | ||
174 | |||
175 | // Create package meta-data objects | ||
176 | theYakindummPackage.createPackageContents(); | ||
177 | |||
178 | // Initialize created meta-data | ||
179 | theYakindummPackage.initializePackageContents(); | ||
180 | |||
181 | // Mark meta-data to indicate it can't be changed | ||
182 | theYakindummPackage.freeze(); | ||
183 | |||
184 | // Update the registry and return the package | ||
185 | EPackage.Registry.INSTANCE.put(YakindummPackage.eNS_URI, theYakindummPackage); | ||
186 | return theYakindummPackage; | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | public EClass getPseudostate() { | ||
195 | return pseudostateEClass; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | public EClass getVertex() { | ||
204 | return vertexEClass; | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | public EReference getVertex_IncomingTransitions() { | ||
213 | return (EReference)vertexEClass.getEStructuralFeatures().get(0); | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | public EReference getVertex_OutgoingTransitions() { | ||
222 | return (EReference)vertexEClass.getEStructuralFeatures().get(1); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | public EClass getRegion() { | ||
231 | return regionEClass; | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | public EReference getRegion_Vertices() { | ||
240 | return (EReference)regionEClass.getEStructuralFeatures().get(0); | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | */ | ||
248 | public EClass getTransition() { | ||
249 | return transitionEClass; | ||
250 | } | ||
251 | |||
252 | /** | ||
253 | * <!-- begin-user-doc --> | ||
254 | * <!-- end-user-doc --> | ||
255 | * @generated | ||
256 | */ | ||
257 | public EReference getTransition_Target() { | ||
258 | return (EReference)transitionEClass.getEStructuralFeatures().get(0); | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | */ | ||
266 | public EReference getTransition_Source() { | ||
267 | return (EReference)transitionEClass.getEStructuralFeatures().get(1); | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | public EClass getStatechart() { | ||
276 | return statechartEClass; | ||
277 | } | ||
278 | |||
279 | /** | ||
280 | * <!-- begin-user-doc --> | ||
281 | * <!-- end-user-doc --> | ||
282 | * @generated | ||
283 | */ | ||
284 | public EClass getEntry() { | ||
285 | return entryEClass; | ||
286 | } | ||
287 | |||
288 | /** | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @generated | ||
292 | */ | ||
293 | public EAttribute getEntry_Type() { | ||
294 | return (EAttribute)entryEClass.getEStructuralFeatures().get(0); | ||
295 | } | ||
296 | |||
297 | /** | ||
298 | * <!-- begin-user-doc --> | ||
299 | * <!-- end-user-doc --> | ||
300 | * @generated | ||
301 | */ | ||
302 | public EClass getState() { | ||
303 | return stateEClass; | ||
304 | } | ||
305 | |||
306 | /** | ||
307 | * <!-- begin-user-doc --> | ||
308 | * <!-- end-user-doc --> | ||
309 | * @generated | ||
310 | */ | ||
311 | public EClass getRegularState() { | ||
312 | return regularStateEClass; | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * <!-- begin-user-doc --> | ||
317 | * <!-- end-user-doc --> | ||
318 | * @generated | ||
319 | */ | ||
320 | public EClass getCompositeElement() { | ||
321 | return compositeElementEClass; | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * <!-- begin-user-doc --> | ||
326 | * <!-- end-user-doc --> | ||
327 | * @generated | ||
328 | */ | ||
329 | public EReference getCompositeElement_Regions() { | ||
330 | return (EReference)compositeElementEClass.getEStructuralFeatures().get(0); | ||
331 | } | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | public EClass getChoice() { | ||
339 | return choiceEClass; | ||
340 | } | ||
341 | |||
342 | /** | ||
343 | * <!-- begin-user-doc --> | ||
344 | * <!-- end-user-doc --> | ||
345 | * @generated | ||
346 | */ | ||
347 | public EClass getExit() { | ||
348 | return exitEClass; | ||
349 | } | ||
350 | |||
351 | /** | ||
352 | * <!-- begin-user-doc --> | ||
353 | * <!-- end-user-doc --> | ||
354 | * @generated | ||
355 | */ | ||
356 | public EClass getFinalState() { | ||
357 | return finalStateEClass; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @generated | ||
364 | */ | ||
365 | public EEnum getEntryType() { | ||
366 | return entryTypeEEnum; | ||
367 | } | ||
368 | |||
369 | /** | ||
370 | * <!-- begin-user-doc --> | ||
371 | * <!-- end-user-doc --> | ||
372 | * @generated | ||
373 | */ | ||
374 | public YakindummFactory getYakindummFactory() { | ||
375 | return (YakindummFactory)getEFactoryInstance(); | ||
376 | } | ||
377 | |||
378 | /** | ||
379 | * <!-- begin-user-doc --> | ||
380 | * <!-- end-user-doc --> | ||
381 | * @generated | ||
382 | */ | ||
383 | private boolean isCreated = false; | ||
384 | |||
385 | /** | ||
386 | * Creates the meta-model objects for the package. This method is | ||
387 | * guarded to have no affect on any invocation but its first. | ||
388 | * <!-- begin-user-doc --> | ||
389 | * <!-- end-user-doc --> | ||
390 | * @generated | ||
391 | */ | ||
392 | public void createPackageContents() { | ||
393 | if (isCreated) return; | ||
394 | isCreated = true; | ||
395 | |||
396 | // Create classes and their features | ||
397 | pseudostateEClass = createEClass(PSEUDOSTATE); | ||
398 | |||
399 | vertexEClass = createEClass(VERTEX); | ||
400 | createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS); | ||
401 | createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS); | ||
402 | |||
403 | regionEClass = createEClass(REGION); | ||
404 | createEReference(regionEClass, REGION__VERTICES); | ||
405 | |||
406 | transitionEClass = createEClass(TRANSITION); | ||
407 | createEReference(transitionEClass, TRANSITION__TARGET); | ||
408 | createEReference(transitionEClass, TRANSITION__SOURCE); | ||
409 | |||
410 | statechartEClass = createEClass(STATECHART); | ||
411 | |||
412 | entryEClass = createEClass(ENTRY); | ||
413 | createEAttribute(entryEClass, ENTRY__TYPE); | ||
414 | |||
415 | stateEClass = createEClass(STATE); | ||
416 | |||
417 | regularStateEClass = createEClass(REGULAR_STATE); | ||
418 | |||
419 | compositeElementEClass = createEClass(COMPOSITE_ELEMENT); | ||
420 | createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS); | ||
421 | |||
422 | choiceEClass = createEClass(CHOICE); | ||
423 | |||
424 | exitEClass = createEClass(EXIT); | ||
425 | |||
426 | finalStateEClass = createEClass(FINAL_STATE); | ||
427 | |||
428 | // Create enums | ||
429 | entryTypeEEnum = createEEnum(ENTRY_TYPE); | ||
430 | } | ||
431 | |||
432 | /** | ||
433 | * <!-- begin-user-doc --> | ||
434 | * <!-- end-user-doc --> | ||
435 | * @generated | ||
436 | */ | ||
437 | private boolean isInitialized = false; | ||
438 | |||
439 | /** | ||
440 | * Complete the initialization of the package and its meta-model. This | ||
441 | * method is guarded to have no affect on any invocation but its first. | ||
442 | * <!-- begin-user-doc --> | ||
443 | * <!-- end-user-doc --> | ||
444 | * @generated | ||
445 | */ | ||
446 | public void initializePackageContents() { | ||
447 | if (isInitialized) return; | ||
448 | isInitialized = true; | ||
449 | |||
450 | // Initialize package | ||
451 | setName(eNAME); | ||
452 | setNsPrefix(eNS_PREFIX); | ||
453 | setNsURI(eNS_URI); | ||
454 | |||
455 | // Create type parameters | ||
456 | |||
457 | // Set bounds for type parameters | ||
458 | |||
459 | // Add supertypes to classes | ||
460 | pseudostateEClass.getESuperTypes().add(this.getVertex()); | ||
461 | statechartEClass.getESuperTypes().add(this.getCompositeElement()); | ||
462 | entryEClass.getESuperTypes().add(this.getPseudostate()); | ||
463 | stateEClass.getESuperTypes().add(this.getRegularState()); | ||
464 | stateEClass.getESuperTypes().add(this.getCompositeElement()); | ||
465 | regularStateEClass.getESuperTypes().add(this.getVertex()); | ||
466 | choiceEClass.getESuperTypes().add(this.getPseudostate()); | ||
467 | exitEClass.getESuperTypes().add(this.getPseudostate()); | ||
468 | finalStateEClass.getESuperTypes().add(this.getRegularState()); | ||
469 | |||
470 | // Initialize classes, features, and operations; add parameters | ||
471 | initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
472 | |||
473 | initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
474 | 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); | ||
475 | 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); | ||
476 | |||
477 | initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
478 | 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); | ||
479 | |||
480 | initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
481 | 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); | ||
482 | 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); | ||
483 | |||
484 | initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
485 | |||
486 | initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
487 | initEAttribute(getEntry_Type(), this.getEntryType(), "Type", null, 1, 1, Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
488 | |||
489 | initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
490 | |||
491 | initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
492 | |||
493 | initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
494 | 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); | ||
495 | |||
496 | initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
497 | |||
498 | initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
499 | |||
500 | initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
501 | |||
502 | // Initialize enums and add enum literals | ||
503 | initEEnum(entryTypeEEnum, EntryType.class, "EntryType"); | ||
504 | addEEnumLiteral(entryTypeEEnum, EntryType.NORMAL); | ||
505 | addEEnumLiteral(entryTypeEEnum, EntryType.HISTORY); | ||
506 | addEEnumLiteral(entryTypeEEnum, EntryType.DEEP_HISTORY); | ||
507 | |||
508 | // Create resource | ||
509 | createResource(eNS_URI); | ||
510 | } | ||
511 | |||
512 | } //YakindummPackageImpl | ||
513 | ======= | ||
514 | /** | ||
515 | */ | ||
516 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
517 | |||
518 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice; | ||
519 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; | ||
520 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry; | ||
521 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit; | ||
522 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState; | ||
523 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate; | ||
524 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | ||
525 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState; | ||
526 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State; | ||
527 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart; | ||
528 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization; | ||
529 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; | ||
530 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | ||
531 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory; | ||
532 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
533 | |||
534 | import org.eclipse.emf.ecore.EClass; | ||
535 | import org.eclipse.emf.ecore.EPackage; | ||
536 | import org.eclipse.emf.ecore.EReference; | ||
537 | |||
538 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
539 | |||
540 | /** | ||
541 | * <!-- begin-user-doc --> | ||
542 | * An implementation of the model <b>Package</b>. | ||
543 | * <!-- end-user-doc --> | ||
544 | * @generated | ||
545 | */ | ||
546 | public class YakinduPackageImpl extends EPackageImpl implements YakinduPackage { | ||
547 | /** | ||
548 | * <!-- begin-user-doc --> | ||
549 | * <!-- end-user-doc --> | ||
550 | * @generated | ||
551 | */ | ||
552 | private EClass pseudostateEClass = null; | ||
553 | |||
554 | /** | ||
555 | * <!-- begin-user-doc --> | ||
556 | * <!-- end-user-doc --> | ||
557 | * @generated | ||
558 | */ | ||
559 | private EClass vertexEClass = null; | ||
560 | |||
561 | /** | ||
562 | * <!-- begin-user-doc --> | ||
563 | * <!-- end-user-doc --> | ||
564 | * @generated | ||
565 | */ | ||
566 | private EClass regionEClass = null; | ||
567 | |||
568 | /** | ||
569 | * <!-- begin-user-doc --> | ||
570 | * <!-- end-user-doc --> | ||
571 | * @generated | ||
572 | */ | ||
573 | private EClass transitionEClass = null; | ||
574 | |||
575 | /** | ||
576 | * <!-- begin-user-doc --> | ||
577 | * <!-- end-user-doc --> | ||
578 | * @generated | ||
579 | */ | ||
580 | private EClass statechartEClass = null; | ||
581 | |||
582 | /** | ||
583 | * <!-- begin-user-doc --> | ||
584 | * <!-- end-user-doc --> | ||
585 | * @generated | ||
586 | */ | ||
587 | private EClass entryEClass = null; | ||
588 | |||
589 | /** | ||
590 | * <!-- begin-user-doc --> | ||
591 | * <!-- end-user-doc --> | ||
592 | * @generated | ||
593 | */ | ||
594 | private EClass synchronizationEClass = null; | ||
595 | |||
596 | /** | ||
597 | * <!-- begin-user-doc --> | ||
598 | * <!-- end-user-doc --> | ||
599 | * @generated | ||
600 | */ | ||
601 | private EClass stateEClass = null; | ||
602 | |||
603 | /** | ||
604 | * <!-- begin-user-doc --> | ||
605 | * <!-- end-user-doc --> | ||
606 | * @generated | ||
607 | */ | ||
608 | private EClass regularStateEClass = null; | ||
609 | |||
610 | /** | ||
611 | * <!-- begin-user-doc --> | ||
612 | * <!-- end-user-doc --> | ||
613 | * @generated | ||
614 | */ | ||
615 | private EClass compositeElementEClass = null; | ||
616 | |||
617 | /** | ||
618 | * <!-- begin-user-doc --> | ||
619 | * <!-- end-user-doc --> | ||
620 | * @generated | ||
621 | */ | ||
622 | private EClass choiceEClass = null; | ||
623 | |||
624 | /** | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @generated | ||
628 | */ | ||
629 | private EClass exitEClass = null; | ||
630 | |||
631 | /** | ||
632 | * <!-- begin-user-doc --> | ||
633 | * <!-- end-user-doc --> | ||
634 | * @generated | ||
635 | */ | ||
636 | private EClass finalStateEClass = null; | ||
637 | |||
638 | /** | ||
639 | * Creates an instance of the model <b>Package</b>, registered with | ||
640 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
641 | * package URI value. | ||
642 | * <p>Note: the correct way to create the package is via the static | ||
643 | * factory method {@link #init init()}, which also performs | ||
644 | * initialization of the package, or returns the registered package, | ||
645 | * if one already exists. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * <!-- end-user-doc --> | ||
648 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
649 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#eNS_URI | ||
650 | * @see #init() | ||
651 | * @generated | ||
652 | */ | ||
653 | private YakinduPackageImpl() { | ||
654 | super(eNS_URI, YakinduFactory.eINSTANCE); | ||
655 | } | ||
656 | |||
657 | /** | ||
658 | * <!-- begin-user-doc --> | ||
659 | * <!-- end-user-doc --> | ||
660 | * @generated | ||
661 | */ | ||
662 | private static boolean isInited = false; | ||
663 | |||
664 | /** | ||
665 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
666 | * | ||
667 | * <p>This method is used to initialize {@link YakinduPackage#eINSTANCE} when that field is accessed. | ||
668 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @see #eNS_URI | ||
672 | * @see #createPackageContents() | ||
673 | * @see #initializePackageContents() | ||
674 | * @generated | ||
675 | */ | ||
676 | public static YakinduPackage init() { | ||
677 | if (isInited) return (YakinduPackage)EPackage.Registry.INSTANCE.getEPackage(YakinduPackage.eNS_URI); | ||
678 | |||
679 | // Obtain or create and register package | ||
680 | Object registeredYakinduPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
681 | YakinduPackageImpl theYakinduPackage = registeredYakinduPackage instanceof YakinduPackageImpl ? (YakinduPackageImpl)registeredYakinduPackage : new YakinduPackageImpl(); | ||
682 | |||
683 | isInited = true; | ||
684 | |||
685 | // Create package meta-data objects | ||
686 | theYakinduPackage.createPackageContents(); | ||
687 | |||
688 | // Initialize created meta-data | ||
689 | theYakinduPackage.initializePackageContents(); | ||
690 | |||
691 | // Mark meta-data to indicate it can't be changed | ||
692 | theYakinduPackage.freeze(); | ||
693 | |||
694 | // Update the registry and return the package | ||
695 | EPackage.Registry.INSTANCE.put(YakinduPackage.eNS_URI, theYakinduPackage); | ||
696 | return theYakinduPackage; | ||
697 | } | ||
698 | |||
699 | /** | ||
700 | * <!-- begin-user-doc --> | ||
701 | * <!-- end-user-doc --> | ||
702 | * @generated | ||
703 | */ | ||
704 | public EClass getPseudostate() { | ||
705 | return pseudostateEClass; | ||
706 | } | ||
707 | |||
708 | /** | ||
709 | * <!-- begin-user-doc --> | ||
710 | * <!-- end-user-doc --> | ||
711 | * @generated | ||
712 | */ | ||
713 | public EClass getVertex() { | ||
714 | return vertexEClass; | ||
715 | } | ||
716 | |||
717 | /** | ||
718 | * <!-- begin-user-doc --> | ||
719 | * <!-- end-user-doc --> | ||
720 | * @generated | ||
721 | */ | ||
722 | public EReference getVertex_IncomingTransitions() { | ||
723 | return (EReference)vertexEClass.getEStructuralFeatures().get(0); | ||
724 | } | ||
725 | |||
726 | /** | ||
727 | * <!-- begin-user-doc --> | ||
728 | * <!-- end-user-doc --> | ||
729 | * @generated | ||
730 | */ | ||
731 | public EReference getVertex_OutgoingTransitions() { | ||
732 | return (EReference)vertexEClass.getEStructuralFeatures().get(1); | ||
733 | } | ||
734 | |||
735 | /** | ||
736 | * <!-- begin-user-doc --> | ||
737 | * <!-- end-user-doc --> | ||
738 | * @generated | ||
739 | */ | ||
740 | public EClass getRegion() { | ||
741 | return regionEClass; | ||
742 | } | ||
743 | |||
744 | /** | ||
745 | * <!-- begin-user-doc --> | ||
746 | * <!-- end-user-doc --> | ||
747 | * @generated | ||
748 | */ | ||
749 | public EReference getRegion_Vertices() { | ||
750 | return (EReference)regionEClass.getEStructuralFeatures().get(0); | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * <!-- begin-user-doc --> | ||
755 | * <!-- end-user-doc --> | ||
756 | * @generated | ||
757 | */ | ||
758 | public EClass getTransition() { | ||
759 | return transitionEClass; | ||
760 | } | ||
761 | |||
762 | /** | ||
763 | * <!-- begin-user-doc --> | ||
764 | * <!-- end-user-doc --> | ||
765 | * @generated | ||
766 | */ | ||
767 | public EReference getTransition_Target() { | ||
768 | return (EReference)transitionEClass.getEStructuralFeatures().get(0); | ||
769 | } | ||
770 | |||
771 | /** | ||
772 | * <!-- begin-user-doc --> | ||
773 | * <!-- end-user-doc --> | ||
774 | * @generated | ||
775 | */ | ||
776 | public EReference getTransition_Source() { | ||
777 | return (EReference)transitionEClass.getEStructuralFeatures().get(1); | ||
778 | } | ||
779 | |||
780 | /** | ||
781 | * <!-- begin-user-doc --> | ||
782 | * <!-- end-user-doc --> | ||
783 | * @generated | ||
784 | */ | ||
785 | public EClass getStatechart() { | ||
786 | return statechartEClass; | ||
787 | } | ||
788 | |||
789 | /** | ||
790 | * <!-- begin-user-doc --> | ||
791 | * <!-- end-user-doc --> | ||
792 | * @generated | ||
793 | */ | ||
794 | public EClass getEntry() { | ||
795 | return entryEClass; | ||
796 | } | ||
797 | |||
798 | /** | ||
799 | * <!-- begin-user-doc --> | ||
800 | * <!-- end-user-doc --> | ||
801 | * @generated | ||
802 | */ | ||
803 | public EClass getSynchronization() { | ||
804 | return synchronizationEClass; | ||
805 | } | ||
806 | |||
807 | /** | ||
808 | * <!-- begin-user-doc --> | ||
809 | * <!-- end-user-doc --> | ||
810 | * @generated | ||
811 | */ | ||
812 | public EClass getState() { | ||
813 | return stateEClass; | ||
814 | } | ||
815 | |||
816 | /** | ||
817 | * <!-- begin-user-doc --> | ||
818 | * <!-- end-user-doc --> | ||
819 | * @generated | ||
820 | */ | ||
821 | public EClass getRegularState() { | ||
822 | return regularStateEClass; | ||
823 | } | ||
824 | |||
825 | /** | ||
826 | * <!-- begin-user-doc --> | ||
827 | * <!-- end-user-doc --> | ||
828 | * @generated | ||
829 | */ | ||
830 | public EClass getCompositeElement() { | ||
831 | return compositeElementEClass; | ||
832 | } | ||
833 | |||
834 | /** | ||
835 | * <!-- begin-user-doc --> | ||
836 | * <!-- end-user-doc --> | ||
837 | * @generated | ||
838 | */ | ||
839 | public EReference getCompositeElement_Regions() { | ||
840 | return (EReference)compositeElementEClass.getEStructuralFeatures().get(0); | ||
841 | } | ||
842 | |||
843 | /** | ||
844 | * <!-- begin-user-doc --> | ||
845 | * <!-- end-user-doc --> | ||
846 | * @generated | ||
847 | */ | ||
848 | public EClass getChoice() { | ||
849 | return choiceEClass; | ||
850 | } | ||
851 | |||
852 | /** | ||
853 | * <!-- begin-user-doc --> | ||
854 | * <!-- end-user-doc --> | ||
855 | * @generated | ||
856 | */ | ||
857 | public EClass getExit() { | ||
858 | return exitEClass; | ||
859 | } | ||
860 | |||
861 | /** | ||
862 | * <!-- begin-user-doc --> | ||
863 | * <!-- end-user-doc --> | ||
864 | * @generated | ||
865 | */ | ||
866 | public EClass getFinalState() { | ||
867 | return finalStateEClass; | ||
868 | } | ||
869 | |||
870 | /** | ||
871 | * <!-- begin-user-doc --> | ||
872 | * <!-- end-user-doc --> | ||
873 | * @generated | ||
874 | */ | ||
875 | public YakinduFactory getYakinduFactory() { | ||
876 | return (YakinduFactory)getEFactoryInstance(); | ||
877 | } | ||
878 | |||
879 | /** | ||
880 | * <!-- begin-user-doc --> | ||
881 | * <!-- end-user-doc --> | ||
882 | * @generated | ||
883 | */ | ||
884 | private boolean isCreated = false; | ||
885 | |||
886 | /** | ||
887 | * Creates the meta-model objects for the package. This method is | ||
888 | * guarded to have no affect on any invocation but its first. | ||
889 | * <!-- begin-user-doc --> | ||
890 | * <!-- end-user-doc --> | ||
891 | * @generated | ||
892 | */ | ||
893 | public void createPackageContents() { | ||
894 | if (isCreated) return; | ||
895 | isCreated = true; | ||
896 | |||
897 | // Create classes and their features | ||
898 | pseudostateEClass = createEClass(PSEUDOSTATE); | ||
899 | |||
900 | vertexEClass = createEClass(VERTEX); | ||
901 | createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS); | ||
902 | createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS); | ||
903 | |||
904 | regionEClass = createEClass(REGION); | ||
905 | createEReference(regionEClass, REGION__VERTICES); | ||
906 | |||
907 | transitionEClass = createEClass(TRANSITION); | ||
908 | createEReference(transitionEClass, TRANSITION__TARGET); | ||
909 | createEReference(transitionEClass, TRANSITION__SOURCE); | ||
910 | |||
911 | statechartEClass = createEClass(STATECHART); | ||
912 | |||
913 | entryEClass = createEClass(ENTRY); | ||
914 | |||
915 | synchronizationEClass = createEClass(SYNCHRONIZATION); | ||
916 | |||
917 | stateEClass = createEClass(STATE); | ||
918 | |||
919 | regularStateEClass = createEClass(REGULAR_STATE); | ||
920 | |||
921 | compositeElementEClass = createEClass(COMPOSITE_ELEMENT); | ||
922 | createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS); | ||
923 | |||
924 | choiceEClass = createEClass(CHOICE); | ||
925 | |||
926 | exitEClass = createEClass(EXIT); | ||
927 | |||
928 | finalStateEClass = createEClass(FINAL_STATE); | ||
929 | } | ||
930 | |||
931 | /** | ||
932 | * <!-- begin-user-doc --> | ||
933 | * <!-- end-user-doc --> | ||
934 | * @generated | ||
935 | */ | ||
936 | private boolean isInitialized = false; | ||
937 | |||
938 | /** | ||
939 | * Complete the initialization of the package and its meta-model. This | ||
940 | * method is guarded to have no affect on any invocation but its first. | ||
941 | * <!-- begin-user-doc --> | ||
942 | * <!-- end-user-doc --> | ||
943 | * @generated | ||
944 | */ | ||
945 | public void initializePackageContents() { | ||
946 | if (isInitialized) return; | ||
947 | isInitialized = true; | ||
948 | |||
949 | // Initialize package | ||
950 | setName(eNAME); | ||
951 | setNsPrefix(eNS_PREFIX); | ||
952 | setNsURI(eNS_URI); | ||
953 | |||
954 | // Create type parameters | ||
955 | |||
956 | // Set bounds for type parameters | ||
957 | |||
958 | // Add supertypes to classes | ||
959 | pseudostateEClass.getESuperTypes().add(this.getVertex()); | ||
960 | statechartEClass.getESuperTypes().add(this.getCompositeElement()); | ||
961 | entryEClass.getESuperTypes().add(this.getPseudostate()); | ||
962 | synchronizationEClass.getESuperTypes().add(this.getPseudostate()); | ||
963 | stateEClass.getESuperTypes().add(this.getRegularState()); | ||
964 | stateEClass.getESuperTypes().add(this.getCompositeElement()); | ||
965 | regularStateEClass.getESuperTypes().add(this.getVertex()); | ||
966 | choiceEClass.getESuperTypes().add(this.getPseudostate()); | ||
967 | exitEClass.getESuperTypes().add(this.getPseudostate()); | ||
968 | finalStateEClass.getESuperTypes().add(this.getRegularState()); | ||
969 | |||
970 | // Initialize classes, features, and operations; add parameters | ||
971 | initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
972 | |||
973 | initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
974 | 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); | ||
975 | 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); | ||
976 | |||
977 | initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
978 | 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); | ||
979 | |||
980 | initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
981 | 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); | ||
982 | 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); | ||
983 | |||
984 | initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
985 | |||
986 | initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
987 | |||
988 | initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
989 | |||
990 | initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
991 | |||
992 | initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
993 | |||
994 | initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
995 | 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); | ||
996 | |||
997 | initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
998 | |||
999 | initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1000 | |||
1001 | initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1002 | |||
1003 | // Create resource | ||
1004 | createResource(eNS_URI); | ||
1005 | } | ||
1006 | |||
1007 | } //YakinduPackageImpl | ||
1008 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java index d4be344f..1aa8b67a 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -221,3 +222,188 @@ public class YakindummFactoryImpl extends EFactoryImpl implements YakindummFacto | |||
221 | } | 222 | } |
222 | 223 | ||
223 | } //YakindummFactoryImpl | 224 | } //YakindummFactoryImpl |
225 | ======= | ||
226 | /** | ||
227 | */ | ||
228 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
229 | |||
230 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
231 | |||
232 | import org.eclipse.emf.ecore.EClass; | ||
233 | import org.eclipse.emf.ecore.EObject; | ||
234 | import org.eclipse.emf.ecore.EPackage; | ||
235 | |||
236 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
237 | |||
238 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * An implementation of the model <b>Factory</b>. | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | public class YakinduFactoryImpl extends EFactoryImpl implements YakinduFactory { | ||
247 | /** | ||
248 | * Creates the default factory implementation. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | public static YakinduFactory init() { | ||
254 | try { | ||
255 | YakinduFactory theYakinduFactory = (YakinduFactory)EPackage.Registry.INSTANCE.getEFactory(YakinduPackage.eNS_URI); | ||
256 | if (theYakinduFactory != null) { | ||
257 | return theYakinduFactory; | ||
258 | } | ||
259 | } | ||
260 | catch (Exception exception) { | ||
261 | EcorePlugin.INSTANCE.log(exception); | ||
262 | } | ||
263 | return new YakinduFactoryImpl(); | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * Creates an instance of the factory. | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | public YakinduFactoryImpl() { | ||
273 | super(); | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | @Override | ||
282 | public EObject create(EClass eClass) { | ||
283 | switch (eClass.getClassifierID()) { | ||
284 | case YakinduPackage.REGION: return createRegion(); | ||
285 | case YakinduPackage.TRANSITION: return createTransition(); | ||
286 | case YakinduPackage.STATECHART: return createStatechart(); | ||
287 | case YakinduPackage.ENTRY: return createEntry(); | ||
288 | case YakinduPackage.SYNCHRONIZATION: return createSynchronization(); | ||
289 | case YakinduPackage.STATE: return createState(); | ||
290 | case YakinduPackage.CHOICE: return createChoice(); | ||
291 | case YakinduPackage.EXIT: return createExit(); | ||
292 | case YakinduPackage.FINAL_STATE: return createFinalState(); | ||
293 | default: | ||
294 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
295 | } | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | public Region createRegion() { | ||
304 | RegionImpl region = new RegionImpl(); | ||
305 | return region; | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * <!-- begin-user-doc --> | ||
310 | * <!-- end-user-doc --> | ||
311 | * @generated | ||
312 | */ | ||
313 | public Transition createTransition() { | ||
314 | TransitionImpl transition = new TransitionImpl(); | ||
315 | return transition; | ||
316 | } | ||
317 | |||
318 | /** | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | */ | ||
323 | public Statechart createStatechart() { | ||
324 | StatechartImpl statechart = new StatechartImpl(); | ||
325 | return statechart; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | public Entry createEntry() { | ||
334 | EntryImpl entry = new EntryImpl(); | ||
335 | return entry; | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | */ | ||
343 | public Synchronization createSynchronization() { | ||
344 | SynchronizationImpl synchronization = new SynchronizationImpl(); | ||
345 | return synchronization; | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | */ | ||
353 | public State createState() { | ||
354 | StateImpl state = new StateImpl(); | ||
355 | return state; | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | public Choice createChoice() { | ||
364 | ChoiceImpl choice = new ChoiceImpl(); | ||
365 | return choice; | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | public Exit createExit() { | ||
374 | ExitImpl exit = new ExitImpl(); | ||
375 | return exit; | ||
376 | } | ||
377 | |||
378 | /** | ||
379 | * <!-- begin-user-doc --> | ||
380 | * <!-- end-user-doc --> | ||
381 | * @generated | ||
382 | */ | ||
383 | public FinalState createFinalState() { | ||
384 | FinalStateImpl finalState = new FinalStateImpl(); | ||
385 | return finalState; | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
393 | public YakinduPackage getYakinduPackage() { | ||
394 | return (YakinduPackage)getEPackage(); | ||
395 | } | ||
396 | |||
397 | /** | ||
398 | * <!-- begin-user-doc --> | ||
399 | * <!-- end-user-doc --> | ||
400 | * @deprecated | ||
401 | * @generated | ||
402 | */ | ||
403 | @Deprecated | ||
404 | public static YakinduPackage getPackage() { | ||
405 | return YakinduPackage.eINSTANCE; | ||
406 | } | ||
407 | |||
408 | } //YakinduFactoryImpl | ||
409 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java index b95dc3ea..87ae07f4 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl; |
@@ -509,3 +510,499 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
509 | } | 510 | } |
510 | 511 | ||
511 | } //YakindummPackageImpl | 512 | } //YakindummPackageImpl |
513 | ======= | ||
514 | /** | ||
515 | */ | ||
516 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | ||
517 | |||
518 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice; | ||
519 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; | ||
520 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry; | ||
521 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit; | ||
522 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState; | ||
523 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate; | ||
524 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | ||
525 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState; | ||
526 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State; | ||
527 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart; | ||
528 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization; | ||
529 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; | ||
530 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | ||
531 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory; | ||
532 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; | ||
533 | |||
534 | import org.eclipse.emf.ecore.EClass; | ||
535 | import org.eclipse.emf.ecore.EPackage; | ||
536 | import org.eclipse.emf.ecore.EReference; | ||
537 | |||
538 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
539 | |||
540 | /** | ||
541 | * <!-- begin-user-doc --> | ||
542 | * An implementation of the model <b>Package</b>. | ||
543 | * <!-- end-user-doc --> | ||
544 | * @generated | ||
545 | */ | ||
546 | public class YakinduPackageImpl extends EPackageImpl implements YakinduPackage { | ||
547 | /** | ||
548 | * <!-- begin-user-doc --> | ||
549 | * <!-- end-user-doc --> | ||
550 | * @generated | ||
551 | */ | ||
552 | private EClass pseudostateEClass = null; | ||
553 | |||
554 | /** | ||
555 | * <!-- begin-user-doc --> | ||
556 | * <!-- end-user-doc --> | ||
557 | * @generated | ||
558 | */ | ||
559 | private EClass vertexEClass = null; | ||
560 | |||
561 | /** | ||
562 | * <!-- begin-user-doc --> | ||
563 | * <!-- end-user-doc --> | ||
564 | * @generated | ||
565 | */ | ||
566 | private EClass regionEClass = null; | ||
567 | |||
568 | /** | ||
569 | * <!-- begin-user-doc --> | ||
570 | * <!-- end-user-doc --> | ||
571 | * @generated | ||
572 | */ | ||
573 | private EClass transitionEClass = null; | ||
574 | |||
575 | /** | ||
576 | * <!-- begin-user-doc --> | ||
577 | * <!-- end-user-doc --> | ||
578 | * @generated | ||
579 | */ | ||
580 | private EClass statechartEClass = null; | ||
581 | |||
582 | /** | ||
583 | * <!-- begin-user-doc --> | ||
584 | * <!-- end-user-doc --> | ||
585 | * @generated | ||
586 | */ | ||
587 | private EClass entryEClass = null; | ||
588 | |||
589 | /** | ||
590 | * <!-- begin-user-doc --> | ||
591 | * <!-- end-user-doc --> | ||
592 | * @generated | ||
593 | */ | ||
594 | private EClass synchronizationEClass = null; | ||
595 | |||
596 | /** | ||
597 | * <!-- begin-user-doc --> | ||
598 | * <!-- end-user-doc --> | ||
599 | * @generated | ||
600 | */ | ||
601 | private EClass stateEClass = null; | ||
602 | |||
603 | /** | ||
604 | * <!-- begin-user-doc --> | ||
605 | * <!-- end-user-doc --> | ||
606 | * @generated | ||
607 | */ | ||
608 | private EClass regularStateEClass = null; | ||
609 | |||
610 | /** | ||
611 | * <!-- begin-user-doc --> | ||
612 | * <!-- end-user-doc --> | ||
613 | * @generated | ||
614 | */ | ||
615 | private EClass compositeElementEClass = null; | ||
616 | |||
617 | /** | ||
618 | * <!-- begin-user-doc --> | ||
619 | * <!-- end-user-doc --> | ||
620 | * @generated | ||
621 | */ | ||
622 | private EClass choiceEClass = null; | ||
623 | |||
624 | /** | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @generated | ||
628 | */ | ||
629 | private EClass exitEClass = null; | ||
630 | |||
631 | /** | ||
632 | * <!-- begin-user-doc --> | ||
633 | * <!-- end-user-doc --> | ||
634 | * @generated | ||
635 | */ | ||
636 | private EClass finalStateEClass = null; | ||
637 | |||
638 | /** | ||
639 | * Creates an instance of the model <b>Package</b>, registered with | ||
640 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
641 | * package URI value. | ||
642 | * <p>Note: the correct way to create the package is via the static | ||
643 | * factory method {@link #init init()}, which also performs | ||
644 | * initialization of the package, or returns the registered package, | ||
645 | * if one already exists. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * <!-- end-user-doc --> | ||
648 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
649 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#eNS_URI | ||
650 | * @see #init() | ||
651 | * @generated | ||
652 | */ | ||
653 | private YakinduPackageImpl() { | ||
654 | super(eNS_URI, YakinduFactory.eINSTANCE); | ||
655 | } | ||
656 | |||
657 | /** | ||
658 | * <!-- begin-user-doc --> | ||
659 | * <!-- end-user-doc --> | ||
660 | * @generated | ||
661 | */ | ||
662 | private static boolean isInited = false; | ||
663 | |||
664 | /** | ||
665 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
666 | * | ||
667 | * <p>This method is used to initialize {@link YakinduPackage#eINSTANCE} when that field is accessed. | ||
668 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @see #eNS_URI | ||
672 | * @see #createPackageContents() | ||
673 | * @see #initializePackageContents() | ||
674 | * @generated | ||
675 | */ | ||
676 | public static YakinduPackage init() { | ||
677 | if (isInited) return (YakinduPackage)EPackage.Registry.INSTANCE.getEPackage(YakinduPackage.eNS_URI); | ||
678 | |||
679 | // Obtain or create and register package | ||
680 | Object registeredYakinduPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
681 | YakinduPackageImpl theYakinduPackage = registeredYakinduPackage instanceof YakinduPackageImpl ? (YakinduPackageImpl)registeredYakinduPackage : new YakinduPackageImpl(); | ||
682 | |||
683 | isInited = true; | ||
684 | |||
685 | // Create package meta-data objects | ||
686 | theYakinduPackage.createPackageContents(); | ||
687 | |||
688 | // Initialize created meta-data | ||
689 | theYakinduPackage.initializePackageContents(); | ||
690 | |||
691 | // Mark meta-data to indicate it can't be changed | ||
692 | theYakinduPackage.freeze(); | ||
693 | |||
694 | // Update the registry and return the package | ||
695 | EPackage.Registry.INSTANCE.put(YakinduPackage.eNS_URI, theYakinduPackage); | ||
696 | return theYakinduPackage; | ||
697 | } | ||
698 | |||
699 | /** | ||
700 | * <!-- begin-user-doc --> | ||
701 | * <!-- end-user-doc --> | ||
702 | * @generated | ||
703 | */ | ||
704 | public EClass getPseudostate() { | ||
705 | return pseudostateEClass; | ||
706 | } | ||
707 | |||
708 | /** | ||
709 | * <!-- begin-user-doc --> | ||
710 | * <!-- end-user-doc --> | ||
711 | * @generated | ||
712 | */ | ||
713 | public EClass getVertex() { | ||
714 | return vertexEClass; | ||
715 | } | ||
716 | |||
717 | /** | ||
718 | * <!-- begin-user-doc --> | ||
719 | * <!-- end-user-doc --> | ||
720 | * @generated | ||
721 | */ | ||
722 | public EReference getVertex_IncomingTransitions() { | ||
723 | return (EReference)vertexEClass.getEStructuralFeatures().get(0); | ||
724 | } | ||
725 | |||
726 | /** | ||
727 | * <!-- begin-user-doc --> | ||
728 | * <!-- end-user-doc --> | ||
729 | * @generated | ||
730 | */ | ||
731 | public EReference getVertex_OutgoingTransitions() { | ||
732 | return (EReference)vertexEClass.getEStructuralFeatures().get(1); | ||
733 | } | ||
734 | |||
735 | /** | ||
736 | * <!-- begin-user-doc --> | ||
737 | * <!-- end-user-doc --> | ||
738 | * @generated | ||
739 | */ | ||
740 | public EClass getRegion() { | ||
741 | return regionEClass; | ||
742 | } | ||
743 | |||
744 | /** | ||
745 | * <!-- begin-user-doc --> | ||
746 | * <!-- end-user-doc --> | ||
747 | * @generated | ||
748 | */ | ||
749 | public EReference getRegion_Vertices() { | ||
750 | return (EReference)regionEClass.getEStructuralFeatures().get(0); | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * <!-- begin-user-doc --> | ||
755 | * <!-- end-user-doc --> | ||
756 | * @generated | ||
757 | */ | ||
758 | public EClass getTransition() { | ||
759 | return transitionEClass; | ||
760 | } | ||
761 | |||
762 | /** | ||
763 | * <!-- begin-user-doc --> | ||
764 | * <!-- end-user-doc --> | ||
765 | * @generated | ||
766 | */ | ||
767 | public EReference getTransition_Target() { | ||
768 | return (EReference)transitionEClass.getEStructuralFeatures().get(0); | ||
769 | } | ||
770 | |||
771 | /** | ||
772 | * <!-- begin-user-doc --> | ||
773 | * <!-- end-user-doc --> | ||
774 | * @generated | ||
775 | */ | ||
776 | public EReference getTransition_Source() { | ||
777 | return (EReference)transitionEClass.getEStructuralFeatures().get(1); | ||
778 | } | ||
779 | |||
780 | /** | ||
781 | * <!-- begin-user-doc --> | ||
782 | * <!-- end-user-doc --> | ||
783 | * @generated | ||
784 | */ | ||
785 | public EClass getStatechart() { | ||
786 | return statechartEClass; | ||
787 | } | ||
788 | |||
789 | /** | ||
790 | * <!-- begin-user-doc --> | ||
791 | * <!-- end-user-doc --> | ||
792 | * @generated | ||
793 | */ | ||
794 | public EClass getEntry() { | ||
795 | return entryEClass; | ||
796 | } | ||
797 | |||
798 | /** | ||
799 | * <!-- begin-user-doc --> | ||
800 | * <!-- end-user-doc --> | ||
801 | * @generated | ||
802 | */ | ||
803 | public EClass getSynchronization() { | ||
804 | return synchronizationEClass; | ||
805 | } | ||
806 | |||
807 | /** | ||
808 | * <!-- begin-user-doc --> | ||
809 | * <!-- end-user-doc --> | ||
810 | * @generated | ||
811 | */ | ||
812 | public EClass getState() { | ||
813 | return stateEClass; | ||
814 | } | ||
815 | |||
816 | /** | ||
817 | * <!-- begin-user-doc --> | ||
818 | * <!-- end-user-doc --> | ||
819 | * @generated | ||
820 | */ | ||
821 | public EClass getRegularState() { | ||
822 | return regularStateEClass; | ||
823 | } | ||
824 | |||
825 | /** | ||
826 | * <!-- begin-user-doc --> | ||
827 | * <!-- end-user-doc --> | ||
828 | * @generated | ||
829 | */ | ||
830 | public EClass getCompositeElement() { | ||
831 | return compositeElementEClass; | ||
832 | } | ||
833 | |||
834 | /** | ||
835 | * <!-- begin-user-doc --> | ||
836 | * <!-- end-user-doc --> | ||
837 | * @generated | ||
838 | */ | ||
839 | public EReference getCompositeElement_Regions() { | ||
840 | return (EReference)compositeElementEClass.getEStructuralFeatures().get(0); | ||
841 | } | ||
842 | |||
843 | /** | ||
844 | * <!-- begin-user-doc --> | ||
845 | * <!-- end-user-doc --> | ||
846 | * @generated | ||
847 | */ | ||
848 | public EClass getChoice() { | ||
849 | return choiceEClass; | ||
850 | } | ||
851 | |||
852 | /** | ||
853 | * <!-- begin-user-doc --> | ||
854 | * <!-- end-user-doc --> | ||
855 | * @generated | ||
856 | */ | ||
857 | public EClass getExit() { | ||
858 | return exitEClass; | ||
859 | } | ||
860 | |||
861 | /** | ||
862 | * <!-- begin-user-doc --> | ||
863 | * <!-- end-user-doc --> | ||
864 | * @generated | ||
865 | */ | ||
866 | public EClass getFinalState() { | ||
867 | return finalStateEClass; | ||
868 | } | ||
869 | |||
870 | /** | ||
871 | * <!-- begin-user-doc --> | ||
872 | * <!-- end-user-doc --> | ||
873 | * @generated | ||
874 | */ | ||
875 | public YakinduFactory getYakinduFactory() { | ||
876 | return (YakinduFactory)getEFactoryInstance(); | ||
877 | } | ||
878 | |||
879 | /** | ||
880 | * <!-- begin-user-doc --> | ||
881 | * <!-- end-user-doc --> | ||
882 | * @generated | ||
883 | */ | ||
884 | private boolean isCreated = false; | ||
885 | |||
886 | /** | ||
887 | * Creates the meta-model objects for the package. This method is | ||
888 | * guarded to have no affect on any invocation but its first. | ||
889 | * <!-- begin-user-doc --> | ||
890 | * <!-- end-user-doc --> | ||
891 | * @generated | ||
892 | */ | ||
893 | public void createPackageContents() { | ||
894 | if (isCreated) return; | ||
895 | isCreated = true; | ||
896 | |||
897 | // Create classes and their features | ||
898 | pseudostateEClass = createEClass(PSEUDOSTATE); | ||
899 | |||
900 | vertexEClass = createEClass(VERTEX); | ||
901 | createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS); | ||
902 | createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS); | ||
903 | |||
904 | regionEClass = createEClass(REGION); | ||
905 | createEReference(regionEClass, REGION__VERTICES); | ||
906 | |||
907 | transitionEClass = createEClass(TRANSITION); | ||
908 | createEReference(transitionEClass, TRANSITION__TARGET); | ||
909 | createEReference(transitionEClass, TRANSITION__SOURCE); | ||
910 | |||
911 | statechartEClass = createEClass(STATECHART); | ||
912 | |||
913 | entryEClass = createEClass(ENTRY); | ||
914 | |||
915 | synchronizationEClass = createEClass(SYNCHRONIZATION); | ||
916 | |||
917 | stateEClass = createEClass(STATE); | ||
918 | |||
919 | regularStateEClass = createEClass(REGULAR_STATE); | ||
920 | |||
921 | compositeElementEClass = createEClass(COMPOSITE_ELEMENT); | ||
922 | createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS); | ||
923 | |||
924 | choiceEClass = createEClass(CHOICE); | ||
925 | |||
926 | exitEClass = createEClass(EXIT); | ||
927 | |||
928 | finalStateEClass = createEClass(FINAL_STATE); | ||
929 | } | ||
930 | |||
931 | /** | ||
932 | * <!-- begin-user-doc --> | ||
933 | * <!-- end-user-doc --> | ||
934 | * @generated | ||
935 | */ | ||
936 | private boolean isInitialized = false; | ||
937 | |||
938 | /** | ||
939 | * Complete the initialization of the package and its meta-model. This | ||
940 | * method is guarded to have no affect on any invocation but its first. | ||
941 | * <!-- begin-user-doc --> | ||
942 | * <!-- end-user-doc --> | ||
943 | * @generated | ||
944 | */ | ||
945 | public void initializePackageContents() { | ||
946 | if (isInitialized) return; | ||
947 | isInitialized = true; | ||
948 | |||
949 | // Initialize package | ||
950 | setName(eNAME); | ||
951 | setNsPrefix(eNS_PREFIX); | ||
952 | setNsURI(eNS_URI); | ||
953 | |||
954 | // Create type parameters | ||
955 | |||
956 | // Set bounds for type parameters | ||
957 | |||
958 | // Add supertypes to classes | ||
959 | pseudostateEClass.getESuperTypes().add(this.getVertex()); | ||
960 | statechartEClass.getESuperTypes().add(this.getCompositeElement()); | ||
961 | entryEClass.getESuperTypes().add(this.getPseudostate()); | ||
962 | synchronizationEClass.getESuperTypes().add(this.getPseudostate()); | ||
963 | stateEClass.getESuperTypes().add(this.getRegularState()); | ||
964 | stateEClass.getESuperTypes().add(this.getCompositeElement()); | ||
965 | regularStateEClass.getESuperTypes().add(this.getVertex()); | ||
966 | choiceEClass.getESuperTypes().add(this.getPseudostate()); | ||
967 | exitEClass.getESuperTypes().add(this.getPseudostate()); | ||
968 | finalStateEClass.getESuperTypes().add(this.getRegularState()); | ||
969 | |||
970 | // Initialize classes, features, and operations; add parameters | ||
971 | initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
972 | |||
973 | initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
974 | 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); | ||
975 | 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); | ||
976 | |||
977 | initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
978 | 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); | ||
979 | |||
980 | initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
981 | 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); | ||
982 | 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); | ||
983 | |||
984 | initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
985 | |||
986 | initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
987 | |||
988 | initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
989 | |||
990 | initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
991 | |||
992 | initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
993 | |||
994 | initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
995 | 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); | ||
996 | |||
997 | initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
998 | |||
999 | initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1000 | |||
1001 | initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
1002 | |||
1003 | // Create resource | ||
1004 | createResource(eNS_URI); | ||
1005 | } | ||
1006 | |||
1007 | } //YakinduPackageImpl | ||
1008 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java new file mode 100644 index 00000000..fb33ef42 --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java | |||
@@ -0,0 +1,657 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java | ||
2 | /** | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; | ||
5 | |||
6 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Adapter; | ||
9 | import org.eclipse.emf.common.notify.Notifier; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EObject; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * The <b>Adapter Factory</b> for the model. | ||
18 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage | ||
21 | * @generated | ||
22 | */ | ||
23 | public class YakindummAdapterFactory extends AdapterFactoryImpl { | ||
24 | /** | ||
25 | * The cached model package. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | protected static YakindummPackage modelPackage; | ||
31 | |||
32 | /** | ||
33 | * Creates an instance of the adapter factory. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | public YakindummAdapterFactory() { | ||
39 | if (modelPackage == null) { | ||
40 | modelPackage = YakindummPackage.eINSTANCE; | ||
41 | } | ||
42 | } | ||
43 | |||
44 | /** | ||
45 | * Returns whether this factory is applicable for the type of the object. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
48 | * <!-- end-user-doc --> | ||
49 | * @return whether this factory is applicable for the type of the object. | ||
50 | * @generated | ||
51 | */ | ||
52 | @Override | ||
53 | public boolean isFactoryForType(Object object) { | ||
54 | if (object == modelPackage) { | ||
55 | return true; | ||
56 | } | ||
57 | if (object instanceof EObject) { | ||
58 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
59 | } | ||
60 | return false; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * The switch that delegates to the <code>createXXX</code> methods. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected YakindummSwitch<Adapter> modelSwitch = | ||
70 | new YakindummSwitch<Adapter>() { | ||
71 | @Override | ||
72 | public Adapter casePseudostate(Pseudostate object) { | ||
73 | return createPseudostateAdapter(); | ||
74 | } | ||
75 | @Override | ||
76 | public Adapter caseVertex(Vertex object) { | ||
77 | return createVertexAdapter(); | ||
78 | } | ||
79 | @Override | ||
80 | public Adapter caseRegion(Region object) { | ||
81 | return createRegionAdapter(); | ||
82 | } | ||
83 | @Override | ||
84 | public Adapter caseTransition(Transition object) { | ||
85 | return createTransitionAdapter(); | ||
86 | } | ||
87 | @Override | ||
88 | public Adapter caseStatechart(Statechart object) { | ||
89 | return createStatechartAdapter(); | ||
90 | } | ||
91 | @Override | ||
92 | public Adapter caseEntry(Entry object) { | ||
93 | return createEntryAdapter(); | ||
94 | } | ||
95 | @Override | ||
96 | public Adapter caseState(State object) { | ||
97 | return createStateAdapter(); | ||
98 | } | ||
99 | @Override | ||
100 | public Adapter caseRegularState(RegularState object) { | ||
101 | return createRegularStateAdapter(); | ||
102 | } | ||
103 | @Override | ||
104 | public Adapter caseCompositeElement(CompositeElement object) { | ||
105 | return createCompositeElementAdapter(); | ||
106 | } | ||
107 | @Override | ||
108 | public Adapter caseChoice(Choice object) { | ||
109 | return createChoiceAdapter(); | ||
110 | } | ||
111 | @Override | ||
112 | public Adapter caseExit(Exit object) { | ||
113 | return createExitAdapter(); | ||
114 | } | ||
115 | @Override | ||
116 | public Adapter caseFinalState(FinalState object) { | ||
117 | return createFinalStateAdapter(); | ||
118 | } | ||
119 | @Override | ||
120 | public Adapter defaultCase(EObject object) { | ||
121 | return createEObjectAdapter(); | ||
122 | } | ||
123 | }; | ||
124 | |||
125 | /** | ||
126 | * Creates an adapter for the <code>target</code>. | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @param target the object to adapt. | ||
130 | * @return the adapter for the <code>target</code>. | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Adapter createAdapter(Notifier target) { | ||
135 | return modelSwitch.doSwitch((EObject)target); | ||
136 | } | ||
137 | |||
138 | |||
139 | /** | ||
140 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate <em>Pseudostate</em>}'. | ||
141 | * <!-- begin-user-doc --> | ||
142 | * This default implementation returns null so that we can easily ignore cases; | ||
143 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
144 | * <!-- end-user-doc --> | ||
145 | * @return the new adapter. | ||
146 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate | ||
147 | * @generated | ||
148 | */ | ||
149 | public Adapter createPseudostateAdapter() { | ||
150 | return null; | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex <em>Vertex</em>}'. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * This default implementation returns null so that we can easily ignore cases; | ||
157 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
158 | * <!-- end-user-doc --> | ||
159 | * @return the new adapter. | ||
160 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex | ||
161 | * @generated | ||
162 | */ | ||
163 | public Adapter createVertexAdapter() { | ||
164 | return null; | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region <em>Region</em>}'. | ||
169 | * <!-- begin-user-doc --> | ||
170 | * This default implementation returns null so that we can easily ignore cases; | ||
171 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
172 | * <!-- end-user-doc --> | ||
173 | * @return the new adapter. | ||
174 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region | ||
175 | * @generated | ||
176 | */ | ||
177 | public Adapter createRegionAdapter() { | ||
178 | return null; | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition <em>Transition</em>}'. | ||
183 | * <!-- begin-user-doc --> | ||
184 | * This default implementation returns null so that we can easily ignore cases; | ||
185 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
186 | * <!-- end-user-doc --> | ||
187 | * @return the new adapter. | ||
188 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition | ||
189 | * @generated | ||
190 | */ | ||
191 | public Adapter createTransitionAdapter() { | ||
192 | return null; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart <em>Statechart</em>}'. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * This default implementation returns null so that we can easily ignore cases; | ||
199 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
200 | * <!-- end-user-doc --> | ||
201 | * @return the new adapter. | ||
202 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart | ||
203 | * @generated | ||
204 | */ | ||
205 | public Adapter createStatechartAdapter() { | ||
206 | return null; | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry <em>Entry</em>}'. | ||
211 | * <!-- begin-user-doc --> | ||
212 | * This default implementation returns null so that we can easily ignore cases; | ||
213 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
214 | * <!-- end-user-doc --> | ||
215 | * @return the new adapter. | ||
216 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry | ||
217 | * @generated | ||
218 | */ | ||
219 | public Adapter createEntryAdapter() { | ||
220 | return null; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State <em>State</em>}'. | ||
225 | * <!-- begin-user-doc --> | ||
226 | * This default implementation returns null so that we can easily ignore cases; | ||
227 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
228 | * <!-- end-user-doc --> | ||
229 | * @return the new adapter. | ||
230 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State | ||
231 | * @generated | ||
232 | */ | ||
233 | public Adapter createStateAdapter() { | ||
234 | return null; | ||
235 | } | ||
236 | |||
237 | /** | ||
238 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState <em>Regular State</em>}'. | ||
239 | * <!-- begin-user-doc --> | ||
240 | * This default implementation returns null so that we can easily ignore cases; | ||
241 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
242 | * <!-- end-user-doc --> | ||
243 | * @return the new adapter. | ||
244 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState | ||
245 | * @generated | ||
246 | */ | ||
247 | public Adapter createRegularStateAdapter() { | ||
248 | return null; | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement <em>Composite Element</em>}'. | ||
253 | * <!-- begin-user-doc --> | ||
254 | * This default implementation returns null so that we can easily ignore cases; | ||
255 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
256 | * <!-- end-user-doc --> | ||
257 | * @return the new adapter. | ||
258 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement | ||
259 | * @generated | ||
260 | */ | ||
261 | public Adapter createCompositeElementAdapter() { | ||
262 | return null; | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice <em>Choice</em>}'. | ||
267 | * <!-- begin-user-doc --> | ||
268 | * This default implementation returns null so that we can easily ignore cases; | ||
269 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
270 | * <!-- end-user-doc --> | ||
271 | * @return the new adapter. | ||
272 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice | ||
273 | * @generated | ||
274 | */ | ||
275 | public Adapter createChoiceAdapter() { | ||
276 | return null; | ||
277 | } | ||
278 | |||
279 | /** | ||
280 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit <em>Exit</em>}'. | ||
281 | * <!-- begin-user-doc --> | ||
282 | * This default implementation returns null so that we can easily ignore cases; | ||
283 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
284 | * <!-- end-user-doc --> | ||
285 | * @return the new adapter. | ||
286 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit | ||
287 | * @generated | ||
288 | */ | ||
289 | public Adapter createExitAdapter() { | ||
290 | return null; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState <em>Final State</em>}'. | ||
295 | * <!-- begin-user-doc --> | ||
296 | * This default implementation returns null so that we can easily ignore cases; | ||
297 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
298 | * <!-- end-user-doc --> | ||
299 | * @return the new adapter. | ||
300 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState | ||
301 | * @generated | ||
302 | */ | ||
303 | public Adapter createFinalStateAdapter() { | ||
304 | return null; | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * Creates a new adapter for the default case. | ||
309 | * <!-- begin-user-doc --> | ||
310 | * This default implementation returns null. | ||
311 | * <!-- end-user-doc --> | ||
312 | * @return the new adapter. | ||
313 | * @generated | ||
314 | */ | ||
315 | public Adapter createEObjectAdapter() { | ||
316 | return null; | ||
317 | } | ||
318 | |||
319 | } //YakindummAdapterFactory | ||
320 | ======= | ||
321 | /** | ||
322 | */ | ||
323 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util; | ||
324 | |||
325 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
326 | |||
327 | import org.eclipse.emf.common.notify.Adapter; | ||
328 | import org.eclipse.emf.common.notify.Notifier; | ||
329 | |||
330 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
331 | |||
332 | import org.eclipse.emf.ecore.EObject; | ||
333 | |||
334 | /** | ||
335 | * <!-- begin-user-doc --> | ||
336 | * The <b>Adapter Factory</b> for the model. | ||
337 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
338 | * <!-- end-user-doc --> | ||
339 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage | ||
340 | * @generated | ||
341 | */ | ||
342 | public class YakinduAdapterFactory extends AdapterFactoryImpl { | ||
343 | /** | ||
344 | * The cached model package. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | protected static YakinduPackage modelPackage; | ||
350 | |||
351 | /** | ||
352 | * Creates an instance of the adapter factory. | ||
353 | * <!-- begin-user-doc --> | ||
354 | * <!-- end-user-doc --> | ||
355 | * @generated | ||
356 | */ | ||
357 | public YakinduAdapterFactory() { | ||
358 | if (modelPackage == null) { | ||
359 | modelPackage = YakinduPackage.eINSTANCE; | ||
360 | } | ||
361 | } | ||
362 | |||
363 | /** | ||
364 | * Returns whether this factory is applicable for the type of the object. | ||
365 | * <!-- begin-user-doc --> | ||
366 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
367 | * <!-- end-user-doc --> | ||
368 | * @return whether this factory is applicable for the type of the object. | ||
369 | * @generated | ||
370 | */ | ||
371 | @Override | ||
372 | public boolean isFactoryForType(Object object) { | ||
373 | if (object == modelPackage) { | ||
374 | return true; | ||
375 | } | ||
376 | if (object instanceof EObject) { | ||
377 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
378 | } | ||
379 | return false; | ||
380 | } | ||
381 | |||
382 | /** | ||
383 | * The switch that delegates to the <code>createXXX</code> methods. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | protected YakinduSwitch<Adapter> modelSwitch = | ||
389 | new YakinduSwitch<Adapter>() { | ||
390 | @Override | ||
391 | public Adapter casePseudostate(Pseudostate object) { | ||
392 | return createPseudostateAdapter(); | ||
393 | } | ||
394 | @Override | ||
395 | public Adapter caseVertex(Vertex object) { | ||
396 | return createVertexAdapter(); | ||
397 | } | ||
398 | @Override | ||
399 | public Adapter caseRegion(Region object) { | ||
400 | return createRegionAdapter(); | ||
401 | } | ||
402 | @Override | ||
403 | public Adapter caseTransition(Transition object) { | ||
404 | return createTransitionAdapter(); | ||
405 | } | ||
406 | @Override | ||
407 | public Adapter caseStatechart(Statechart object) { | ||
408 | return createStatechartAdapter(); | ||
409 | } | ||
410 | @Override | ||
411 | public Adapter caseEntry(Entry object) { | ||
412 | return createEntryAdapter(); | ||
413 | } | ||
414 | @Override | ||
415 | public Adapter caseSynchronization(Synchronization object) { | ||
416 | return createSynchronizationAdapter(); | ||
417 | } | ||
418 | @Override | ||
419 | public Adapter caseState(State object) { | ||
420 | return createStateAdapter(); | ||
421 | } | ||
422 | @Override | ||
423 | public Adapter caseRegularState(RegularState object) { | ||
424 | return createRegularStateAdapter(); | ||
425 | } | ||
426 | @Override | ||
427 | public Adapter caseCompositeElement(CompositeElement object) { | ||
428 | return createCompositeElementAdapter(); | ||
429 | } | ||
430 | @Override | ||
431 | public Adapter caseChoice(Choice object) { | ||
432 | return createChoiceAdapter(); | ||
433 | } | ||
434 | @Override | ||
435 | public Adapter caseExit(Exit object) { | ||
436 | return createExitAdapter(); | ||
437 | } | ||
438 | @Override | ||
439 | public Adapter caseFinalState(FinalState object) { | ||
440 | return createFinalStateAdapter(); | ||
441 | } | ||
442 | @Override | ||
443 | public Adapter defaultCase(EObject object) { | ||
444 | return createEObjectAdapter(); | ||
445 | } | ||
446 | }; | ||
447 | |||
448 | /** | ||
449 | * Creates an adapter for the <code>target</code>. | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @param target the object to adapt. | ||
453 | * @return the adapter for the <code>target</code>. | ||
454 | * @generated | ||
455 | */ | ||
456 | @Override | ||
457 | public Adapter createAdapter(Notifier target) { | ||
458 | return modelSwitch.doSwitch((EObject)target); | ||
459 | } | ||
460 | |||
461 | |||
462 | /** | ||
463 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'. | ||
464 | * <!-- begin-user-doc --> | ||
465 | * This default implementation returns null so that we can easily ignore cases; | ||
466 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
467 | * <!-- end-user-doc --> | ||
468 | * @return the new adapter. | ||
469 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate | ||
470 | * @generated | ||
471 | */ | ||
472 | public Adapter createPseudostateAdapter() { | ||
473 | return null; | ||
474 | } | ||
475 | |||
476 | /** | ||
477 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * This default implementation returns null so that we can easily ignore cases; | ||
480 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
481 | * <!-- end-user-doc --> | ||
482 | * @return the new adapter. | ||
483 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex | ||
484 | * @generated | ||
485 | */ | ||
486 | public Adapter createVertexAdapter() { | ||
487 | return null; | ||
488 | } | ||
489 | |||
490 | /** | ||
491 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'. | ||
492 | * <!-- begin-user-doc --> | ||
493 | * This default implementation returns null so that we can easily ignore cases; | ||
494 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
495 | * <!-- end-user-doc --> | ||
496 | * @return the new adapter. | ||
497 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region | ||
498 | * @generated | ||
499 | */ | ||
500 | public Adapter createRegionAdapter() { | ||
501 | return null; | ||
502 | } | ||
503 | |||
504 | /** | ||
505 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'. | ||
506 | * <!-- begin-user-doc --> | ||
507 | * This default implementation returns null so that we can easily ignore cases; | ||
508 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
509 | * <!-- end-user-doc --> | ||
510 | * @return the new adapter. | ||
511 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition | ||
512 | * @generated | ||
513 | */ | ||
514 | public Adapter createTransitionAdapter() { | ||
515 | return null; | ||
516 | } | ||
517 | |||
518 | /** | ||
519 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'. | ||
520 | * <!-- begin-user-doc --> | ||
521 | * This default implementation returns null so that we can easily ignore cases; | ||
522 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
523 | * <!-- end-user-doc --> | ||
524 | * @return the new adapter. | ||
525 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart | ||
526 | * @generated | ||
527 | */ | ||
528 | public Adapter createStatechartAdapter() { | ||
529 | return null; | ||
530 | } | ||
531 | |||
532 | /** | ||
533 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'. | ||
534 | * <!-- begin-user-doc --> | ||
535 | * This default implementation returns null so that we can easily ignore cases; | ||
536 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
537 | * <!-- end-user-doc --> | ||
538 | * @return the new adapter. | ||
539 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry | ||
540 | * @generated | ||
541 | */ | ||
542 | public Adapter createEntryAdapter() { | ||
543 | return null; | ||
544 | } | ||
545 | |||
546 | /** | ||
547 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'. | ||
548 | * <!-- begin-user-doc --> | ||
549 | * This default implementation returns null so that we can easily ignore cases; | ||
550 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
551 | * <!-- end-user-doc --> | ||
552 | * @return the new adapter. | ||
553 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization | ||
554 | * @generated | ||
555 | */ | ||
556 | public Adapter createSynchronizationAdapter() { | ||
557 | return null; | ||
558 | } | ||
559 | |||
560 | /** | ||
561 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'. | ||
562 | * <!-- begin-user-doc --> | ||
563 | * This default implementation returns null so that we can easily ignore cases; | ||
564 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
565 | * <!-- end-user-doc --> | ||
566 | * @return the new adapter. | ||
567 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State | ||
568 | * @generated | ||
569 | */ | ||
570 | public Adapter createStateAdapter() { | ||
571 | return null; | ||
572 | } | ||
573 | |||
574 | /** | ||
575 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'. | ||
576 | * <!-- begin-user-doc --> | ||
577 | * This default implementation returns null so that we can easily ignore cases; | ||
578 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
579 | * <!-- end-user-doc --> | ||
580 | * @return the new adapter. | ||
581 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState | ||
582 | * @generated | ||
583 | */ | ||
584 | public Adapter createRegularStateAdapter() { | ||
585 | return null; | ||
586 | } | ||
587 | |||
588 | /** | ||
589 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * This default implementation returns null so that we can easily ignore cases; | ||
592 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
593 | * <!-- end-user-doc --> | ||
594 | * @return the new adapter. | ||
595 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement | ||
596 | * @generated | ||
597 | */ | ||
598 | public Adapter createCompositeElementAdapter() { | ||
599 | return null; | ||
600 | } | ||
601 | |||
602 | /** | ||
603 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'. | ||
604 | * <!-- begin-user-doc --> | ||
605 | * This default implementation returns null so that we can easily ignore cases; | ||
606 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
607 | * <!-- end-user-doc --> | ||
608 | * @return the new adapter. | ||
609 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice | ||
610 | * @generated | ||
611 | */ | ||
612 | public Adapter createChoiceAdapter() { | ||
613 | return null; | ||
614 | } | ||
615 | |||
616 | /** | ||
617 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'. | ||
618 | * <!-- begin-user-doc --> | ||
619 | * This default implementation returns null so that we can easily ignore cases; | ||
620 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
621 | * <!-- end-user-doc --> | ||
622 | * @return the new adapter. | ||
623 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit | ||
624 | * @generated | ||
625 | */ | ||
626 | public Adapter createExitAdapter() { | ||
627 | return null; | ||
628 | } | ||
629 | |||
630 | /** | ||
631 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'. | ||
632 | * <!-- begin-user-doc --> | ||
633 | * This default implementation returns null so that we can easily ignore cases; | ||
634 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
635 | * <!-- end-user-doc --> | ||
636 | * @return the new adapter. | ||
637 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState | ||
638 | * @generated | ||
639 | */ | ||
640 | public Adapter createFinalStateAdapter() { | ||
641 | return null; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * Creates a new adapter for the default case. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * This default implementation returns null. | ||
648 | * <!-- end-user-doc --> | ||
649 | * @return the new adapter. | ||
650 | * @generated | ||
651 | */ | ||
652 | public Adapter createEObjectAdapter() { | ||
653 | return null; | ||
654 | } | ||
655 | |||
656 | } //YakinduAdapterFactory | ||
657 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java new file mode 100644 index 00000000..4cc0e8a8 --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java | |||
@@ -0,0 +1,736 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java | ||
2 | /** | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; | ||
5 | |||
6 | import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.util.Switch; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
16 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
17 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
18 | * starting with the actual class of the object | ||
19 | * and proceeding up the inheritance hierarchy | ||
20 | * until a non-null result is returned, | ||
21 | * which is the result of the switch. | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage | ||
24 | * @generated | ||
25 | */ | ||
26 | public class YakindummSwitch<T> extends Switch<T> { | ||
27 | /** | ||
28 | * The cached model package | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | protected static YakindummPackage modelPackage; | ||
34 | |||
35 | /** | ||
36 | * Creates an instance of the switch. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | public YakindummSwitch() { | ||
42 | if (modelPackage == null) { | ||
43 | modelPackage = YakindummPackage.eINSTANCE; | ||
44 | } | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Checks whether this is a switch for the given package. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @param ePackage the package in question. | ||
52 | * @return whether this is a switch for the given package. | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected boolean isSwitchFor(EPackage ePackage) { | ||
57 | return ePackage == modelPackage; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
69 | switch (classifierID) { | ||
70 | case YakindummPackage.PSEUDOSTATE: { | ||
71 | Pseudostate pseudostate = (Pseudostate)theEObject; | ||
72 | T result = casePseudostate(pseudostate); | ||
73 | if (result == null) result = caseVertex(pseudostate); | ||
74 | if (result == null) result = defaultCase(theEObject); | ||
75 | return result; | ||
76 | } | ||
77 | case YakindummPackage.VERTEX: { | ||
78 | Vertex vertex = (Vertex)theEObject; | ||
79 | T result = caseVertex(vertex); | ||
80 | if (result == null) result = defaultCase(theEObject); | ||
81 | return result; | ||
82 | } | ||
83 | case YakindummPackage.REGION: { | ||
84 | Region region = (Region)theEObject; | ||
85 | T result = caseRegion(region); | ||
86 | if (result == null) result = defaultCase(theEObject); | ||
87 | return result; | ||
88 | } | ||
89 | case YakindummPackage.TRANSITION: { | ||
90 | Transition transition = (Transition)theEObject; | ||
91 | T result = caseTransition(transition); | ||
92 | if (result == null) result = defaultCase(theEObject); | ||
93 | return result; | ||
94 | } | ||
95 | case YakindummPackage.STATECHART: { | ||
96 | Statechart statechart = (Statechart)theEObject; | ||
97 | T result = caseStatechart(statechart); | ||
98 | if (result == null) result = caseCompositeElement(statechart); | ||
99 | if (result == null) result = defaultCase(theEObject); | ||
100 | return result; | ||
101 | } | ||
102 | case YakindummPackage.ENTRY: { | ||
103 | Entry entry = (Entry)theEObject; | ||
104 | T result = caseEntry(entry); | ||
105 | if (result == null) result = casePseudostate(entry); | ||
106 | if (result == null) result = caseVertex(entry); | ||
107 | if (result == null) result = defaultCase(theEObject); | ||
108 | return result; | ||
109 | } | ||
110 | case YakindummPackage.STATE: { | ||
111 | State state = (State)theEObject; | ||
112 | T result = caseState(state); | ||
113 | if (result == null) result = caseRegularState(state); | ||
114 | if (result == null) result = caseCompositeElement(state); | ||
115 | if (result == null) result = caseVertex(state); | ||
116 | if (result == null) result = defaultCase(theEObject); | ||
117 | return result; | ||
118 | } | ||
119 | case YakindummPackage.REGULAR_STATE: { | ||
120 | RegularState regularState = (RegularState)theEObject; | ||
121 | T result = caseRegularState(regularState); | ||
122 | if (result == null) result = caseVertex(regularState); | ||
123 | if (result == null) result = defaultCase(theEObject); | ||
124 | return result; | ||
125 | } | ||
126 | case YakindummPackage.COMPOSITE_ELEMENT: { | ||
127 | CompositeElement compositeElement = (CompositeElement)theEObject; | ||
128 | T result = caseCompositeElement(compositeElement); | ||
129 | if (result == null) result = defaultCase(theEObject); | ||
130 | return result; | ||
131 | } | ||
132 | case YakindummPackage.CHOICE: { | ||
133 | Choice choice = (Choice)theEObject; | ||
134 | T result = caseChoice(choice); | ||
135 | if (result == null) result = casePseudostate(choice); | ||
136 | if (result == null) result = caseVertex(choice); | ||
137 | if (result == null) result = defaultCase(theEObject); | ||
138 | return result; | ||
139 | } | ||
140 | case YakindummPackage.EXIT: { | ||
141 | Exit exit = (Exit)theEObject; | ||
142 | T result = caseExit(exit); | ||
143 | if (result == null) result = casePseudostate(exit); | ||
144 | if (result == null) result = caseVertex(exit); | ||
145 | if (result == null) result = defaultCase(theEObject); | ||
146 | return result; | ||
147 | } | ||
148 | case YakindummPackage.FINAL_STATE: { | ||
149 | FinalState finalState = (FinalState)theEObject; | ||
150 | T result = caseFinalState(finalState); | ||
151 | if (result == null) result = caseRegularState(finalState); | ||
152 | if (result == null) result = caseVertex(finalState); | ||
153 | if (result == null) result = defaultCase(theEObject); | ||
154 | return result; | ||
155 | } | ||
156 | default: return defaultCase(theEObject); | ||
157 | } | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * This implementation returns null; | ||
164 | * returning a non-null result will terminate the switch. | ||
165 | * <!-- end-user-doc --> | ||
166 | * @param object the target of the switch. | ||
167 | * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'. | ||
168 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
169 | * @generated | ||
170 | */ | ||
171 | public T casePseudostate(Pseudostate object) { | ||
172 | return null; | ||
173 | } | ||
174 | |||
175 | /** | ||
176 | * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'. | ||
177 | * <!-- begin-user-doc --> | ||
178 | * This implementation returns null; | ||
179 | * returning a non-null result will terminate the switch. | ||
180 | * <!-- end-user-doc --> | ||
181 | * @param object the target of the switch. | ||
182 | * @return the result of interpreting the object as an instance of '<em>Vertex</em>'. | ||
183 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
184 | * @generated | ||
185 | */ | ||
186 | public T caseVertex(Vertex object) { | ||
187 | return null; | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * Returns the result of interpreting the object as an instance of '<em>Region</em>'. | ||
192 | * <!-- begin-user-doc --> | ||
193 | * This implementation returns null; | ||
194 | * returning a non-null result will terminate the switch. | ||
195 | * <!-- end-user-doc --> | ||
196 | * @param object the target of the switch. | ||
197 | * @return the result of interpreting the object as an instance of '<em>Region</em>'. | ||
198 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
199 | * @generated | ||
200 | */ | ||
201 | public T caseRegion(Region object) { | ||
202 | return null; | ||
203 | } | ||
204 | |||
205 | /** | ||
206 | * Returns the result of interpreting the object as an instance of '<em>Transition</em>'. | ||
207 | * <!-- begin-user-doc --> | ||
208 | * This implementation returns null; | ||
209 | * returning a non-null result will terminate the switch. | ||
210 | * <!-- end-user-doc --> | ||
211 | * @param object the target of the switch. | ||
212 | * @return the result of interpreting the object as an instance of '<em>Transition</em>'. | ||
213 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
214 | * @generated | ||
215 | */ | ||
216 | public T caseTransition(Transition object) { | ||
217 | return null; | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'. | ||
222 | * <!-- begin-user-doc --> | ||
223 | * This implementation returns null; | ||
224 | * returning a non-null result will terminate the switch. | ||
225 | * <!-- end-user-doc --> | ||
226 | * @param object the target of the switch. | ||
227 | * @return the result of interpreting the object as an instance of '<em>Statechart</em>'. | ||
228 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
229 | * @generated | ||
230 | */ | ||
231 | public T caseStatechart(Statechart object) { | ||
232 | return null; | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * Returns the result of interpreting the object as an instance of '<em>Entry</em>'. | ||
237 | * <!-- begin-user-doc --> | ||
238 | * This implementation returns null; | ||
239 | * returning a non-null result will terminate the switch. | ||
240 | * <!-- end-user-doc --> | ||
241 | * @param object the target of the switch. | ||
242 | * @return the result of interpreting the object as an instance of '<em>Entry</em>'. | ||
243 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
244 | * @generated | ||
245 | */ | ||
246 | public T caseEntry(Entry object) { | ||
247 | return null; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * Returns the result of interpreting the object as an instance of '<em>State</em>'. | ||
252 | * <!-- begin-user-doc --> | ||
253 | * This implementation returns null; | ||
254 | * returning a non-null result will terminate the switch. | ||
255 | * <!-- end-user-doc --> | ||
256 | * @param object the target of the switch. | ||
257 | * @return the result of interpreting the object as an instance of '<em>State</em>'. | ||
258 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
259 | * @generated | ||
260 | */ | ||
261 | public T caseState(State object) { | ||
262 | return null; | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'. | ||
267 | * <!-- begin-user-doc --> | ||
268 | * This implementation returns null; | ||
269 | * returning a non-null result will terminate the switch. | ||
270 | * <!-- end-user-doc --> | ||
271 | * @param object the target of the switch. | ||
272 | * @return the result of interpreting the object as an instance of '<em>Regular State</em>'. | ||
273 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
274 | * @generated | ||
275 | */ | ||
276 | public T caseRegularState(RegularState object) { | ||
277 | return null; | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'. | ||
282 | * <!-- begin-user-doc --> | ||
283 | * This implementation returns null; | ||
284 | * returning a non-null result will terminate the switch. | ||
285 | * <!-- end-user-doc --> | ||
286 | * @param object the target of the switch. | ||
287 | * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'. | ||
288 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
289 | * @generated | ||
290 | */ | ||
291 | public T caseCompositeElement(CompositeElement object) { | ||
292 | return null; | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * Returns the result of interpreting the object as an instance of '<em>Choice</em>'. | ||
297 | * <!-- begin-user-doc --> | ||
298 | * This implementation returns null; | ||
299 | * returning a non-null result will terminate the switch. | ||
300 | * <!-- end-user-doc --> | ||
301 | * @param object the target of the switch. | ||
302 | * @return the result of interpreting the object as an instance of '<em>Choice</em>'. | ||
303 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
304 | * @generated | ||
305 | */ | ||
306 | public T caseChoice(Choice object) { | ||
307 | return null; | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * Returns the result of interpreting the object as an instance of '<em>Exit</em>'. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * This implementation returns null; | ||
314 | * returning a non-null result will terminate the switch. | ||
315 | * <!-- end-user-doc --> | ||
316 | * @param object the target of the switch. | ||
317 | * @return the result of interpreting the object as an instance of '<em>Exit</em>'. | ||
318 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
319 | * @generated | ||
320 | */ | ||
321 | public T caseExit(Exit object) { | ||
322 | return null; | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * Returns the result of interpreting the object as an instance of '<em>Final State</em>'. | ||
327 | * <!-- begin-user-doc --> | ||
328 | * This implementation returns null; | ||
329 | * returning a non-null result will terminate the switch. | ||
330 | * <!-- end-user-doc --> | ||
331 | * @param object the target of the switch. | ||
332 | * @return the result of interpreting the object as an instance of '<em>Final State</em>'. | ||
333 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
334 | * @generated | ||
335 | */ | ||
336 | public T caseFinalState(FinalState object) { | ||
337 | return null; | ||
338 | } | ||
339 | |||
340 | /** | ||
341 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
342 | * <!-- begin-user-doc --> | ||
343 | * This implementation returns null; | ||
344 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
345 | * <!-- end-user-doc --> | ||
346 | * @param object the target of the switch. | ||
347 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
348 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
349 | * @generated | ||
350 | */ | ||
351 | @Override | ||
352 | public T defaultCase(EObject object) { | ||
353 | return null; | ||
354 | } | ||
355 | |||
356 | } //YakindummSwitch | ||
357 | ======= | ||
358 | /** | ||
359 | */ | ||
360 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util; | ||
361 | |||
362 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
363 | |||
364 | import org.eclipse.emf.ecore.EObject; | ||
365 | import org.eclipse.emf.ecore.EPackage; | ||
366 | |||
367 | import org.eclipse.emf.ecore.util.Switch; | ||
368 | |||
369 | /** | ||
370 | * <!-- begin-user-doc --> | ||
371 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
372 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
373 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
374 | * starting with the actual class of the object | ||
375 | * and proceeding up the inheritance hierarchy | ||
376 | * until a non-null result is returned, | ||
377 | * which is the result of the switch. | ||
378 | * <!-- end-user-doc --> | ||
379 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage | ||
380 | * @generated | ||
381 | */ | ||
382 | public class YakinduSwitch<T> extends Switch<T> { | ||
383 | /** | ||
384 | * The cached model package | ||
385 | * <!-- begin-user-doc --> | ||
386 | * <!-- end-user-doc --> | ||
387 | * @generated | ||
388 | */ | ||
389 | protected static YakinduPackage modelPackage; | ||
390 | |||
391 | /** | ||
392 | * Creates an instance of the switch. | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @generated | ||
396 | */ | ||
397 | public YakinduSwitch() { | ||
398 | if (modelPackage == null) { | ||
399 | modelPackage = YakinduPackage.eINSTANCE; | ||
400 | } | ||
401 | } | ||
402 | |||
403 | /** | ||
404 | * Checks whether this is a switch for the given package. | ||
405 | * <!-- begin-user-doc --> | ||
406 | * <!-- end-user-doc --> | ||
407 | * @param ePackage the package in question. | ||
408 | * @return whether this is a switch for the given package. | ||
409 | * @generated | ||
410 | */ | ||
411 | @Override | ||
412 | protected boolean isSwitchFor(EPackage ePackage) { | ||
413 | return ePackage == modelPackage; | ||
414 | } | ||
415 | |||
416 | /** | ||
417 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
418 | * <!-- begin-user-doc --> | ||
419 | * <!-- end-user-doc --> | ||
420 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
421 | * @generated | ||
422 | */ | ||
423 | @Override | ||
424 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
425 | switch (classifierID) { | ||
426 | case YakinduPackage.PSEUDOSTATE: { | ||
427 | Pseudostate pseudostate = (Pseudostate)theEObject; | ||
428 | T result = casePseudostate(pseudostate); | ||
429 | if (result == null) result = caseVertex(pseudostate); | ||
430 | if (result == null) result = defaultCase(theEObject); | ||
431 | return result; | ||
432 | } | ||
433 | case YakinduPackage.VERTEX: { | ||
434 | Vertex vertex = (Vertex)theEObject; | ||
435 | T result = caseVertex(vertex); | ||
436 | if (result == null) result = defaultCase(theEObject); | ||
437 | return result; | ||
438 | } | ||
439 | case YakinduPackage.REGION: { | ||
440 | Region region = (Region)theEObject; | ||
441 | T result = caseRegion(region); | ||
442 | if (result == null) result = defaultCase(theEObject); | ||
443 | return result; | ||
444 | } | ||
445 | case YakinduPackage.TRANSITION: { | ||
446 | Transition transition = (Transition)theEObject; | ||
447 | T result = caseTransition(transition); | ||
448 | if (result == null) result = defaultCase(theEObject); | ||
449 | return result; | ||
450 | } | ||
451 | case YakinduPackage.STATECHART: { | ||
452 | Statechart statechart = (Statechart)theEObject; | ||
453 | T result = caseStatechart(statechart); | ||
454 | if (result == null) result = caseCompositeElement(statechart); | ||
455 | if (result == null) result = defaultCase(theEObject); | ||
456 | return result; | ||
457 | } | ||
458 | case YakinduPackage.ENTRY: { | ||
459 | Entry entry = (Entry)theEObject; | ||
460 | T result = caseEntry(entry); | ||
461 | if (result == null) result = casePseudostate(entry); | ||
462 | if (result == null) result = caseVertex(entry); | ||
463 | if (result == null) result = defaultCase(theEObject); | ||
464 | return result; | ||
465 | } | ||
466 | case YakinduPackage.SYNCHRONIZATION: { | ||
467 | Synchronization synchronization = (Synchronization)theEObject; | ||
468 | T result = caseSynchronization(synchronization); | ||
469 | if (result == null) result = casePseudostate(synchronization); | ||
470 | if (result == null) result = caseVertex(synchronization); | ||
471 | if (result == null) result = defaultCase(theEObject); | ||
472 | return result; | ||
473 | } | ||
474 | case YakinduPackage.STATE: { | ||
475 | State state = (State)theEObject; | ||
476 | T result = caseState(state); | ||
477 | if (result == null) result = caseRegularState(state); | ||
478 | if (result == null) result = caseCompositeElement(state); | ||
479 | if (result == null) result = caseVertex(state); | ||
480 | if (result == null) result = defaultCase(theEObject); | ||
481 | return result; | ||
482 | } | ||
483 | case YakinduPackage.REGULAR_STATE: { | ||
484 | RegularState regularState = (RegularState)theEObject; | ||
485 | T result = caseRegularState(regularState); | ||
486 | if (result == null) result = caseVertex(regularState); | ||
487 | if (result == null) result = defaultCase(theEObject); | ||
488 | return result; | ||
489 | } | ||
490 | case YakinduPackage.COMPOSITE_ELEMENT: { | ||
491 | CompositeElement compositeElement = (CompositeElement)theEObject; | ||
492 | T result = caseCompositeElement(compositeElement); | ||
493 | if (result == null) result = defaultCase(theEObject); | ||
494 | return result; | ||
495 | } | ||
496 | case YakinduPackage.CHOICE: { | ||
497 | Choice choice = (Choice)theEObject; | ||
498 | T result = caseChoice(choice); | ||
499 | if (result == null) result = casePseudostate(choice); | ||
500 | if (result == null) result = caseVertex(choice); | ||
501 | if (result == null) result = defaultCase(theEObject); | ||
502 | return result; | ||
503 | } | ||
504 | case YakinduPackage.EXIT: { | ||
505 | Exit exit = (Exit)theEObject; | ||
506 | T result = caseExit(exit); | ||
507 | if (result == null) result = casePseudostate(exit); | ||
508 | if (result == null) result = caseVertex(exit); | ||
509 | if (result == null) result = defaultCase(theEObject); | ||
510 | return result; | ||
511 | } | ||
512 | case YakinduPackage.FINAL_STATE: { | ||
513 | FinalState finalState = (FinalState)theEObject; | ||
514 | T result = caseFinalState(finalState); | ||
515 | if (result == null) result = caseRegularState(finalState); | ||
516 | if (result == null) result = caseVertex(finalState); | ||
517 | if (result == null) result = defaultCase(theEObject); | ||
518 | return result; | ||
519 | } | ||
520 | default: return defaultCase(theEObject); | ||
521 | } | ||
522 | } | ||
523 | |||
524 | /** | ||
525 | * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'. | ||
526 | * <!-- begin-user-doc --> | ||
527 | * This implementation returns null; | ||
528 | * returning a non-null result will terminate the switch. | ||
529 | * <!-- end-user-doc --> | ||
530 | * @param object the target of the switch. | ||
531 | * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'. | ||
532 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
533 | * @generated | ||
534 | */ | ||
535 | public T casePseudostate(Pseudostate object) { | ||
536 | return null; | ||
537 | } | ||
538 | |||
539 | /** | ||
540 | * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * This implementation returns null; | ||
543 | * returning a non-null result will terminate the switch. | ||
544 | * <!-- end-user-doc --> | ||
545 | * @param object the target of the switch. | ||
546 | * @return the result of interpreting the object as an instance of '<em>Vertex</em>'. | ||
547 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
548 | * @generated | ||
549 | */ | ||
550 | public T caseVertex(Vertex object) { | ||
551 | return null; | ||
552 | } | ||
553 | |||
554 | /** | ||
555 | * Returns the result of interpreting the object as an instance of '<em>Region</em>'. | ||
556 | * <!-- begin-user-doc --> | ||
557 | * This implementation returns null; | ||
558 | * returning a non-null result will terminate the switch. | ||
559 | * <!-- end-user-doc --> | ||
560 | * @param object the target of the switch. | ||
561 | * @return the result of interpreting the object as an instance of '<em>Region</em>'. | ||
562 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
563 | * @generated | ||
564 | */ | ||
565 | public T caseRegion(Region object) { | ||
566 | return null; | ||
567 | } | ||
568 | |||
569 | /** | ||
570 | * Returns the result of interpreting the object as an instance of '<em>Transition</em>'. | ||
571 | * <!-- begin-user-doc --> | ||
572 | * This implementation returns null; | ||
573 | * returning a non-null result will terminate the switch. | ||
574 | * <!-- end-user-doc --> | ||
575 | * @param object the target of the switch. | ||
576 | * @return the result of interpreting the object as an instance of '<em>Transition</em>'. | ||
577 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
578 | * @generated | ||
579 | */ | ||
580 | public T caseTransition(Transition object) { | ||
581 | return null; | ||
582 | } | ||
583 | |||
584 | /** | ||
585 | * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'. | ||
586 | * <!-- begin-user-doc --> | ||
587 | * This implementation returns null; | ||
588 | * returning a non-null result will terminate the switch. | ||
589 | * <!-- end-user-doc --> | ||
590 | * @param object the target of the switch. | ||
591 | * @return the result of interpreting the object as an instance of '<em>Statechart</em>'. | ||
592 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
593 | * @generated | ||
594 | */ | ||
595 | public T caseStatechart(Statechart object) { | ||
596 | return null; | ||
597 | } | ||
598 | |||
599 | /** | ||
600 | * Returns the result of interpreting the object as an instance of '<em>Entry</em>'. | ||
601 | * <!-- begin-user-doc --> | ||
602 | * This implementation returns null; | ||
603 | * returning a non-null result will terminate the switch. | ||
604 | * <!-- end-user-doc --> | ||
605 | * @param object the target of the switch. | ||
606 | * @return the result of interpreting the object as an instance of '<em>Entry</em>'. | ||
607 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
608 | * @generated | ||
609 | */ | ||
610 | public T caseEntry(Entry object) { | ||
611 | return null; | ||
612 | } | ||
613 | |||
614 | /** | ||
615 | * Returns the result of interpreting the object as an instance of '<em>Synchronization</em>'. | ||
616 | * <!-- begin-user-doc --> | ||
617 | * This implementation returns null; | ||
618 | * returning a non-null result will terminate the switch. | ||
619 | * <!-- end-user-doc --> | ||
620 | * @param object the target of the switch. | ||
621 | * @return the result of interpreting the object as an instance of '<em>Synchronization</em>'. | ||
622 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
623 | * @generated | ||
624 | */ | ||
625 | public T caseSynchronization(Synchronization object) { | ||
626 | return null; | ||
627 | } | ||
628 | |||
629 | /** | ||
630 | * Returns the result of interpreting the object as an instance of '<em>State</em>'. | ||
631 | * <!-- begin-user-doc --> | ||
632 | * This implementation returns null; | ||
633 | * returning a non-null result will terminate the switch. | ||
634 | * <!-- end-user-doc --> | ||
635 | * @param object the target of the switch. | ||
636 | * @return the result of interpreting the object as an instance of '<em>State</em>'. | ||
637 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
638 | * @generated | ||
639 | */ | ||
640 | public T caseState(State object) { | ||
641 | return null; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * This implementation returns null; | ||
648 | * returning a non-null result will terminate the switch. | ||
649 | * <!-- end-user-doc --> | ||
650 | * @param object the target of the switch. | ||
651 | * @return the result of interpreting the object as an instance of '<em>Regular State</em>'. | ||
652 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
653 | * @generated | ||
654 | */ | ||
655 | public T caseRegularState(RegularState object) { | ||
656 | return null; | ||
657 | } | ||
658 | |||
659 | /** | ||
660 | * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'. | ||
661 | * <!-- begin-user-doc --> | ||
662 | * This implementation returns null; | ||
663 | * returning a non-null result will terminate the switch. | ||
664 | * <!-- end-user-doc --> | ||
665 | * @param object the target of the switch. | ||
666 | * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'. | ||
667 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
668 | * @generated | ||
669 | */ | ||
670 | public T caseCompositeElement(CompositeElement object) { | ||
671 | return null; | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * Returns the result of interpreting the object as an instance of '<em>Choice</em>'. | ||
676 | * <!-- begin-user-doc --> | ||
677 | * This implementation returns null; | ||
678 | * returning a non-null result will terminate the switch. | ||
679 | * <!-- end-user-doc --> | ||
680 | * @param object the target of the switch. | ||
681 | * @return the result of interpreting the object as an instance of '<em>Choice</em>'. | ||
682 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
683 | * @generated | ||
684 | */ | ||
685 | public T caseChoice(Choice object) { | ||
686 | return null; | ||
687 | } | ||
688 | |||
689 | /** | ||
690 | * Returns the result of interpreting the object as an instance of '<em>Exit</em>'. | ||
691 | * <!-- begin-user-doc --> | ||
692 | * This implementation returns null; | ||
693 | * returning a non-null result will terminate the switch. | ||
694 | * <!-- end-user-doc --> | ||
695 | * @param object the target of the switch. | ||
696 | * @return the result of interpreting the object as an instance of '<em>Exit</em>'. | ||
697 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
698 | * @generated | ||
699 | */ | ||
700 | public T caseExit(Exit object) { | ||
701 | return null; | ||
702 | } | ||
703 | |||
704 | /** | ||
705 | * Returns the result of interpreting the object as an instance of '<em>Final State</em>'. | ||
706 | * <!-- begin-user-doc --> | ||
707 | * This implementation returns null; | ||
708 | * returning a non-null result will terminate the switch. | ||
709 | * <!-- end-user-doc --> | ||
710 | * @param object the target of the switch. | ||
711 | * @return the result of interpreting the object as an instance of '<em>Final State</em>'. | ||
712 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
713 | * @generated | ||
714 | */ | ||
715 | public T caseFinalState(FinalState object) { | ||
716 | return null; | ||
717 | } | ||
718 | |||
719 | /** | ||
720 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
721 | * <!-- begin-user-doc --> | ||
722 | * This implementation returns null; | ||
723 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
724 | * <!-- end-user-doc --> | ||
725 | * @param object the target of the switch. | ||
726 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
727 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
728 | * @generated | ||
729 | */ | ||
730 | @Override | ||
731 | public T defaultCase(EObject object) { | ||
732 | return null; | ||
733 | } | ||
734 | |||
735 | } //YakinduSwitch | ||
736 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java index b3373dfd..fb33ef42 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; |
@@ -316,3 +317,341 @@ public class YakindummAdapterFactory extends AdapterFactoryImpl { | |||
316 | } | 317 | } |
317 | 318 | ||
318 | } //YakindummAdapterFactory | 319 | } //YakindummAdapterFactory |
320 | ======= | ||
321 | /** | ||
322 | */ | ||
323 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util; | ||
324 | |||
325 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
326 | |||
327 | import org.eclipse.emf.common.notify.Adapter; | ||
328 | import org.eclipse.emf.common.notify.Notifier; | ||
329 | |||
330 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
331 | |||
332 | import org.eclipse.emf.ecore.EObject; | ||
333 | |||
334 | /** | ||
335 | * <!-- begin-user-doc --> | ||
336 | * The <b>Adapter Factory</b> for the model. | ||
337 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
338 | * <!-- end-user-doc --> | ||
339 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage | ||
340 | * @generated | ||
341 | */ | ||
342 | public class YakinduAdapterFactory extends AdapterFactoryImpl { | ||
343 | /** | ||
344 | * The cached model package. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | protected static YakinduPackage modelPackage; | ||
350 | |||
351 | /** | ||
352 | * Creates an instance of the adapter factory. | ||
353 | * <!-- begin-user-doc --> | ||
354 | * <!-- end-user-doc --> | ||
355 | * @generated | ||
356 | */ | ||
357 | public YakinduAdapterFactory() { | ||
358 | if (modelPackage == null) { | ||
359 | modelPackage = YakinduPackage.eINSTANCE; | ||
360 | } | ||
361 | } | ||
362 | |||
363 | /** | ||
364 | * Returns whether this factory is applicable for the type of the object. | ||
365 | * <!-- begin-user-doc --> | ||
366 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
367 | * <!-- end-user-doc --> | ||
368 | * @return whether this factory is applicable for the type of the object. | ||
369 | * @generated | ||
370 | */ | ||
371 | @Override | ||
372 | public boolean isFactoryForType(Object object) { | ||
373 | if (object == modelPackage) { | ||
374 | return true; | ||
375 | } | ||
376 | if (object instanceof EObject) { | ||
377 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
378 | } | ||
379 | return false; | ||
380 | } | ||
381 | |||
382 | /** | ||
383 | * The switch that delegates to the <code>createXXX</code> methods. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | protected YakinduSwitch<Adapter> modelSwitch = | ||
389 | new YakinduSwitch<Adapter>() { | ||
390 | @Override | ||
391 | public Adapter casePseudostate(Pseudostate object) { | ||
392 | return createPseudostateAdapter(); | ||
393 | } | ||
394 | @Override | ||
395 | public Adapter caseVertex(Vertex object) { | ||
396 | return createVertexAdapter(); | ||
397 | } | ||
398 | @Override | ||
399 | public Adapter caseRegion(Region object) { | ||
400 | return createRegionAdapter(); | ||
401 | } | ||
402 | @Override | ||
403 | public Adapter caseTransition(Transition object) { | ||
404 | return createTransitionAdapter(); | ||
405 | } | ||
406 | @Override | ||
407 | public Adapter caseStatechart(Statechart object) { | ||
408 | return createStatechartAdapter(); | ||
409 | } | ||
410 | @Override | ||
411 | public Adapter caseEntry(Entry object) { | ||
412 | return createEntryAdapter(); | ||
413 | } | ||
414 | @Override | ||
415 | public Adapter caseSynchronization(Synchronization object) { | ||
416 | return createSynchronizationAdapter(); | ||
417 | } | ||
418 | @Override | ||
419 | public Adapter caseState(State object) { | ||
420 | return createStateAdapter(); | ||
421 | } | ||
422 | @Override | ||
423 | public Adapter caseRegularState(RegularState object) { | ||
424 | return createRegularStateAdapter(); | ||
425 | } | ||
426 | @Override | ||
427 | public Adapter caseCompositeElement(CompositeElement object) { | ||
428 | return createCompositeElementAdapter(); | ||
429 | } | ||
430 | @Override | ||
431 | public Adapter caseChoice(Choice object) { | ||
432 | return createChoiceAdapter(); | ||
433 | } | ||
434 | @Override | ||
435 | public Adapter caseExit(Exit object) { | ||
436 | return createExitAdapter(); | ||
437 | } | ||
438 | @Override | ||
439 | public Adapter caseFinalState(FinalState object) { | ||
440 | return createFinalStateAdapter(); | ||
441 | } | ||
442 | @Override | ||
443 | public Adapter defaultCase(EObject object) { | ||
444 | return createEObjectAdapter(); | ||
445 | } | ||
446 | }; | ||
447 | |||
448 | /** | ||
449 | * Creates an adapter for the <code>target</code>. | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @param target the object to adapt. | ||
453 | * @return the adapter for the <code>target</code>. | ||
454 | * @generated | ||
455 | */ | ||
456 | @Override | ||
457 | public Adapter createAdapter(Notifier target) { | ||
458 | return modelSwitch.doSwitch((EObject)target); | ||
459 | } | ||
460 | |||
461 | |||
462 | /** | ||
463 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'. | ||
464 | * <!-- begin-user-doc --> | ||
465 | * This default implementation returns null so that we can easily ignore cases; | ||
466 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
467 | * <!-- end-user-doc --> | ||
468 | * @return the new adapter. | ||
469 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate | ||
470 | * @generated | ||
471 | */ | ||
472 | public Adapter createPseudostateAdapter() { | ||
473 | return null; | ||
474 | } | ||
475 | |||
476 | /** | ||
477 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * This default implementation returns null so that we can easily ignore cases; | ||
480 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
481 | * <!-- end-user-doc --> | ||
482 | * @return the new adapter. | ||
483 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex | ||
484 | * @generated | ||
485 | */ | ||
486 | public Adapter createVertexAdapter() { | ||
487 | return null; | ||
488 | } | ||
489 | |||
490 | /** | ||
491 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'. | ||
492 | * <!-- begin-user-doc --> | ||
493 | * This default implementation returns null so that we can easily ignore cases; | ||
494 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
495 | * <!-- end-user-doc --> | ||
496 | * @return the new adapter. | ||
497 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region | ||
498 | * @generated | ||
499 | */ | ||
500 | public Adapter createRegionAdapter() { | ||
501 | return null; | ||
502 | } | ||
503 | |||
504 | /** | ||
505 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'. | ||
506 | * <!-- begin-user-doc --> | ||
507 | * This default implementation returns null so that we can easily ignore cases; | ||
508 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
509 | * <!-- end-user-doc --> | ||
510 | * @return the new adapter. | ||
511 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition | ||
512 | * @generated | ||
513 | */ | ||
514 | public Adapter createTransitionAdapter() { | ||
515 | return null; | ||
516 | } | ||
517 | |||
518 | /** | ||
519 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'. | ||
520 | * <!-- begin-user-doc --> | ||
521 | * This default implementation returns null so that we can easily ignore cases; | ||
522 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
523 | * <!-- end-user-doc --> | ||
524 | * @return the new adapter. | ||
525 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart | ||
526 | * @generated | ||
527 | */ | ||
528 | public Adapter createStatechartAdapter() { | ||
529 | return null; | ||
530 | } | ||
531 | |||
532 | /** | ||
533 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'. | ||
534 | * <!-- begin-user-doc --> | ||
535 | * This default implementation returns null so that we can easily ignore cases; | ||
536 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
537 | * <!-- end-user-doc --> | ||
538 | * @return the new adapter. | ||
539 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry | ||
540 | * @generated | ||
541 | */ | ||
542 | public Adapter createEntryAdapter() { | ||
543 | return null; | ||
544 | } | ||
545 | |||
546 | /** | ||
547 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'. | ||
548 | * <!-- begin-user-doc --> | ||
549 | * This default implementation returns null so that we can easily ignore cases; | ||
550 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
551 | * <!-- end-user-doc --> | ||
552 | * @return the new adapter. | ||
553 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization | ||
554 | * @generated | ||
555 | */ | ||
556 | public Adapter createSynchronizationAdapter() { | ||
557 | return null; | ||
558 | } | ||
559 | |||
560 | /** | ||
561 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'. | ||
562 | * <!-- begin-user-doc --> | ||
563 | * This default implementation returns null so that we can easily ignore cases; | ||
564 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
565 | * <!-- end-user-doc --> | ||
566 | * @return the new adapter. | ||
567 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State | ||
568 | * @generated | ||
569 | */ | ||
570 | public Adapter createStateAdapter() { | ||
571 | return null; | ||
572 | } | ||
573 | |||
574 | /** | ||
575 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'. | ||
576 | * <!-- begin-user-doc --> | ||
577 | * This default implementation returns null so that we can easily ignore cases; | ||
578 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
579 | * <!-- end-user-doc --> | ||
580 | * @return the new adapter. | ||
581 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState | ||
582 | * @generated | ||
583 | */ | ||
584 | public Adapter createRegularStateAdapter() { | ||
585 | return null; | ||
586 | } | ||
587 | |||
588 | /** | ||
589 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * This default implementation returns null so that we can easily ignore cases; | ||
592 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
593 | * <!-- end-user-doc --> | ||
594 | * @return the new adapter. | ||
595 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement | ||
596 | * @generated | ||
597 | */ | ||
598 | public Adapter createCompositeElementAdapter() { | ||
599 | return null; | ||
600 | } | ||
601 | |||
602 | /** | ||
603 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'. | ||
604 | * <!-- begin-user-doc --> | ||
605 | * This default implementation returns null so that we can easily ignore cases; | ||
606 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
607 | * <!-- end-user-doc --> | ||
608 | * @return the new adapter. | ||
609 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice | ||
610 | * @generated | ||
611 | */ | ||
612 | public Adapter createChoiceAdapter() { | ||
613 | return null; | ||
614 | } | ||
615 | |||
616 | /** | ||
617 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'. | ||
618 | * <!-- begin-user-doc --> | ||
619 | * This default implementation returns null so that we can easily ignore cases; | ||
620 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
621 | * <!-- end-user-doc --> | ||
622 | * @return the new adapter. | ||
623 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit | ||
624 | * @generated | ||
625 | */ | ||
626 | public Adapter createExitAdapter() { | ||
627 | return null; | ||
628 | } | ||
629 | |||
630 | /** | ||
631 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'. | ||
632 | * <!-- begin-user-doc --> | ||
633 | * This default implementation returns null so that we can easily ignore cases; | ||
634 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
635 | * <!-- end-user-doc --> | ||
636 | * @return the new adapter. | ||
637 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState | ||
638 | * @generated | ||
639 | */ | ||
640 | public Adapter createFinalStateAdapter() { | ||
641 | return null; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * Creates a new adapter for the default case. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * This default implementation returns null. | ||
648 | * <!-- end-user-doc --> | ||
649 | * @return the new adapter. | ||
650 | * @generated | ||
651 | */ | ||
652 | public Adapter createEObjectAdapter() { | ||
653 | return null; | ||
654 | } | ||
655 | |||
656 | } //YakinduAdapterFactory | ||
657 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java index 422565c2..4cc0e8a8 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java | |||
@@ -1,3 +1,4 @@ | |||
1 | <<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java | ||
1 | /** | 2 | /** |
2 | */ | 3 | */ |
3 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; | 4 | package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util; |
@@ -353,3 +354,383 @@ public class YakindummSwitch<T> extends Switch<T> { | |||
353 | } | 354 | } |
354 | 355 | ||
355 | } //YakindummSwitch | 356 | } //YakindummSwitch |
357 | ======= | ||
358 | /** | ||
359 | */ | ||
360 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util; | ||
361 | |||
362 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*; | ||
363 | |||
364 | import org.eclipse.emf.ecore.EObject; | ||
365 | import org.eclipse.emf.ecore.EPackage; | ||
366 | |||
367 | import org.eclipse.emf.ecore.util.Switch; | ||
368 | |||
369 | /** | ||
370 | * <!-- begin-user-doc --> | ||
371 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
372 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
373 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
374 | * starting with the actual class of the object | ||
375 | * and proceeding up the inheritance hierarchy | ||
376 | * until a non-null result is returned, | ||
377 | * which is the result of the switch. | ||
378 | * <!-- end-user-doc --> | ||
379 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage | ||
380 | * @generated | ||
381 | */ | ||
382 | public class YakinduSwitch<T> extends Switch<T> { | ||
383 | /** | ||
384 | * The cached model package | ||
385 | * <!-- begin-user-doc --> | ||
386 | * <!-- end-user-doc --> | ||
387 | * @generated | ||
388 | */ | ||
389 | protected static YakinduPackage modelPackage; | ||
390 | |||
391 | /** | ||
392 | * Creates an instance of the switch. | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @generated | ||
396 | */ | ||
397 | public YakinduSwitch() { | ||
398 | if (modelPackage == null) { | ||
399 | modelPackage = YakinduPackage.eINSTANCE; | ||
400 | } | ||
401 | } | ||
402 | |||
403 | /** | ||
404 | * Checks whether this is a switch for the given package. | ||
405 | * <!-- begin-user-doc --> | ||
406 | * <!-- end-user-doc --> | ||
407 | * @param ePackage the package in question. | ||
408 | * @return whether this is a switch for the given package. | ||
409 | * @generated | ||
410 | */ | ||
411 | @Override | ||
412 | protected boolean isSwitchFor(EPackage ePackage) { | ||
413 | return ePackage == modelPackage; | ||
414 | } | ||
415 | |||
416 | /** | ||
417 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
418 | * <!-- begin-user-doc --> | ||
419 | * <!-- end-user-doc --> | ||
420 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
421 | * @generated | ||
422 | */ | ||
423 | @Override | ||
424 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
425 | switch (classifierID) { | ||
426 | case YakinduPackage.PSEUDOSTATE: { | ||
427 | Pseudostate pseudostate = (Pseudostate)theEObject; | ||
428 | T result = casePseudostate(pseudostate); | ||
429 | if (result == null) result = caseVertex(pseudostate); | ||
430 | if (result == null) result = defaultCase(theEObject); | ||
431 | return result; | ||
432 | } | ||
433 | case YakinduPackage.VERTEX: { | ||
434 | Vertex vertex = (Vertex)theEObject; | ||
435 | T result = caseVertex(vertex); | ||
436 | if (result == null) result = defaultCase(theEObject); | ||
437 | return result; | ||
438 | } | ||
439 | case YakinduPackage.REGION: { | ||
440 | Region region = (Region)theEObject; | ||
441 | T result = caseRegion(region); | ||
442 | if (result == null) result = defaultCase(theEObject); | ||
443 | return result; | ||
444 | } | ||
445 | case YakinduPackage.TRANSITION: { | ||
446 | Transition transition = (Transition)theEObject; | ||
447 | T result = caseTransition(transition); | ||
448 | if (result == null) result = defaultCase(theEObject); | ||
449 | return result; | ||
450 | } | ||
451 | case YakinduPackage.STATECHART: { | ||
452 | Statechart statechart = (Statechart)theEObject; | ||
453 | T result = caseStatechart(statechart); | ||
454 | if (result == null) result = caseCompositeElement(statechart); | ||
455 | if (result == null) result = defaultCase(theEObject); | ||
456 | return result; | ||
457 | } | ||
458 | case YakinduPackage.ENTRY: { | ||
459 | Entry entry = (Entry)theEObject; | ||
460 | T result = caseEntry(entry); | ||
461 | if (result == null) result = casePseudostate(entry); | ||
462 | if (result == null) result = caseVertex(entry); | ||
463 | if (result == null) result = defaultCase(theEObject); | ||
464 | return result; | ||
465 | } | ||
466 | case YakinduPackage.SYNCHRONIZATION: { | ||
467 | Synchronization synchronization = (Synchronization)theEObject; | ||
468 | T result = caseSynchronization(synchronization); | ||
469 | if (result == null) result = casePseudostate(synchronization); | ||
470 | if (result == null) result = caseVertex(synchronization); | ||
471 | if (result == null) result = defaultCase(theEObject); | ||
472 | return result; | ||
473 | } | ||
474 | case YakinduPackage.STATE: { | ||
475 | State state = (State)theEObject; | ||
476 | T result = caseState(state); | ||
477 | if (result == null) result = caseRegularState(state); | ||
478 | if (result == null) result = caseCompositeElement(state); | ||
479 | if (result == null) result = caseVertex(state); | ||
480 | if (result == null) result = defaultCase(theEObject); | ||
481 | return result; | ||
482 | } | ||
483 | case YakinduPackage.REGULAR_STATE: { | ||
484 | RegularState regularState = (RegularState)theEObject; | ||
485 | T result = caseRegularState(regularState); | ||
486 | if (result == null) result = caseVertex(regularState); | ||
487 | if (result == null) result = defaultCase(theEObject); | ||
488 | return result; | ||
489 | } | ||
490 | case YakinduPackage.COMPOSITE_ELEMENT: { | ||
491 | CompositeElement compositeElement = (CompositeElement)theEObject; | ||
492 | T result = caseCompositeElement(compositeElement); | ||
493 | if (result == null) result = defaultCase(theEObject); | ||
494 | return result; | ||
495 | } | ||
496 | case YakinduPackage.CHOICE: { | ||
497 | Choice choice = (Choice)theEObject; | ||
498 | T result = caseChoice(choice); | ||
499 | if (result == null) result = casePseudostate(choice); | ||
500 | if (result == null) result = caseVertex(choice); | ||
501 | if (result == null) result = defaultCase(theEObject); | ||
502 | return result; | ||
503 | } | ||
504 | case YakinduPackage.EXIT: { | ||
505 | Exit exit = (Exit)theEObject; | ||
506 | T result = caseExit(exit); | ||
507 | if (result == null) result = casePseudostate(exit); | ||
508 | if (result == null) result = caseVertex(exit); | ||
509 | if (result == null) result = defaultCase(theEObject); | ||
510 | return result; | ||
511 | } | ||
512 | case YakinduPackage.FINAL_STATE: { | ||
513 | FinalState finalState = (FinalState)theEObject; | ||
514 | T result = caseFinalState(finalState); | ||
515 | if (result == null) result = caseRegularState(finalState); | ||
516 | if (result == null) result = caseVertex(finalState); | ||
517 | if (result == null) result = defaultCase(theEObject); | ||
518 | return result; | ||
519 | } | ||
520 | default: return defaultCase(theEObject); | ||
521 | } | ||
522 | } | ||
523 | |||
524 | /** | ||
525 | * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'. | ||
526 | * <!-- begin-user-doc --> | ||
527 | * This implementation returns null; | ||
528 | * returning a non-null result will terminate the switch. | ||
529 | * <!-- end-user-doc --> | ||
530 | * @param object the target of the switch. | ||
531 | * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'. | ||
532 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
533 | * @generated | ||
534 | */ | ||
535 | public T casePseudostate(Pseudostate object) { | ||
536 | return null; | ||
537 | } | ||
538 | |||
539 | /** | ||
540 | * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * This implementation returns null; | ||
543 | * returning a non-null result will terminate the switch. | ||
544 | * <!-- end-user-doc --> | ||
545 | * @param object the target of the switch. | ||
546 | * @return the result of interpreting the object as an instance of '<em>Vertex</em>'. | ||
547 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
548 | * @generated | ||
549 | */ | ||
550 | public T caseVertex(Vertex object) { | ||
551 | return null; | ||
552 | } | ||
553 | |||
554 | /** | ||
555 | * Returns the result of interpreting the object as an instance of '<em>Region</em>'. | ||
556 | * <!-- begin-user-doc --> | ||
557 | * This implementation returns null; | ||
558 | * returning a non-null result will terminate the switch. | ||
559 | * <!-- end-user-doc --> | ||
560 | * @param object the target of the switch. | ||
561 | * @return the result of interpreting the object as an instance of '<em>Region</em>'. | ||
562 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
563 | * @generated | ||
564 | */ | ||
565 | public T caseRegion(Region object) { | ||
566 | return null; | ||
567 | } | ||
568 | |||
569 | /** | ||
570 | * Returns the result of interpreting the object as an instance of '<em>Transition</em>'. | ||
571 | * <!-- begin-user-doc --> | ||
572 | * This implementation returns null; | ||
573 | * returning a non-null result will terminate the switch. | ||
574 | * <!-- end-user-doc --> | ||
575 | * @param object the target of the switch. | ||
576 | * @return the result of interpreting the object as an instance of '<em>Transition</em>'. | ||
577 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
578 | * @generated | ||
579 | */ | ||
580 | public T caseTransition(Transition object) { | ||
581 | return null; | ||
582 | } | ||
583 | |||
584 | /** | ||
585 | * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'. | ||
586 | * <!-- begin-user-doc --> | ||
587 | * This implementation returns null; | ||
588 | * returning a non-null result will terminate the switch. | ||
589 | * <!-- end-user-doc --> | ||
590 | * @param object the target of the switch. | ||
591 | * @return the result of interpreting the object as an instance of '<em>Statechart</em>'. | ||
592 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
593 | * @generated | ||
594 | */ | ||
595 | public T caseStatechart(Statechart object) { | ||
596 | return null; | ||
597 | } | ||
598 | |||
599 | /** | ||
600 | * Returns the result of interpreting the object as an instance of '<em>Entry</em>'. | ||
601 | * <!-- begin-user-doc --> | ||
602 | * This implementation returns null; | ||
603 | * returning a non-null result will terminate the switch. | ||
604 | * <!-- end-user-doc --> | ||
605 | * @param object the target of the switch. | ||
606 | * @return the result of interpreting the object as an instance of '<em>Entry</em>'. | ||
607 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
608 | * @generated | ||
609 | */ | ||
610 | public T caseEntry(Entry object) { | ||
611 | return null; | ||
612 | } | ||
613 | |||
614 | /** | ||
615 | * Returns the result of interpreting the object as an instance of '<em>Synchronization</em>'. | ||
616 | * <!-- begin-user-doc --> | ||
617 | * This implementation returns null; | ||
618 | * returning a non-null result will terminate the switch. | ||
619 | * <!-- end-user-doc --> | ||
620 | * @param object the target of the switch. | ||
621 | * @return the result of interpreting the object as an instance of '<em>Synchronization</em>'. | ||
622 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
623 | * @generated | ||
624 | */ | ||
625 | public T caseSynchronization(Synchronization object) { | ||
626 | return null; | ||
627 | } | ||
628 | |||
629 | /** | ||
630 | * Returns the result of interpreting the object as an instance of '<em>State</em>'. | ||
631 | * <!-- begin-user-doc --> | ||
632 | * This implementation returns null; | ||
633 | * returning a non-null result will terminate the switch. | ||
634 | * <!-- end-user-doc --> | ||
635 | * @param object the target of the switch. | ||
636 | * @return the result of interpreting the object as an instance of '<em>State</em>'. | ||
637 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
638 | * @generated | ||
639 | */ | ||
640 | public T caseState(State object) { | ||
641 | return null; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * This implementation returns null; | ||
648 | * returning a non-null result will terminate the switch. | ||
649 | * <!-- end-user-doc --> | ||
650 | * @param object the target of the switch. | ||
651 | * @return the result of interpreting the object as an instance of '<em>Regular State</em>'. | ||
652 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
653 | * @generated | ||
654 | */ | ||
655 | public T caseRegularState(RegularState object) { | ||
656 | return null; | ||
657 | } | ||
658 | |||
659 | /** | ||
660 | * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'. | ||
661 | * <!-- begin-user-doc --> | ||
662 | * This implementation returns null; | ||
663 | * returning a non-null result will terminate the switch. | ||
664 | * <!-- end-user-doc --> | ||
665 | * @param object the target of the switch. | ||
666 | * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'. | ||
667 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
668 | * @generated | ||
669 | */ | ||
670 | public T caseCompositeElement(CompositeElement object) { | ||
671 | return null; | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * Returns the result of interpreting the object as an instance of '<em>Choice</em>'. | ||
676 | * <!-- begin-user-doc --> | ||
677 | * This implementation returns null; | ||
678 | * returning a non-null result will terminate the switch. | ||
679 | * <!-- end-user-doc --> | ||
680 | * @param object the target of the switch. | ||
681 | * @return the result of interpreting the object as an instance of '<em>Choice</em>'. | ||
682 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
683 | * @generated | ||
684 | */ | ||
685 | public T caseChoice(Choice object) { | ||
686 | return null; | ||
687 | } | ||
688 | |||
689 | /** | ||
690 | * Returns the result of interpreting the object as an instance of '<em>Exit</em>'. | ||
691 | * <!-- begin-user-doc --> | ||
692 | * This implementation returns null; | ||
693 | * returning a non-null result will terminate the switch. | ||
694 | * <!-- end-user-doc --> | ||
695 | * @param object the target of the switch. | ||
696 | * @return the result of interpreting the object as an instance of '<em>Exit</em>'. | ||
697 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
698 | * @generated | ||
699 | */ | ||
700 | public T caseExit(Exit object) { | ||
701 | return null; | ||
702 | } | ||
703 | |||
704 | /** | ||
705 | * Returns the result of interpreting the object as an instance of '<em>Final State</em>'. | ||
706 | * <!-- begin-user-doc --> | ||
707 | * This implementation returns null; | ||
708 | * returning a non-null result will terminate the switch. | ||
709 | * <!-- end-user-doc --> | ||
710 | * @param object the target of the switch. | ||
711 | * @return the result of interpreting the object as an instance of '<em>Final State</em>'. | ||
712 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
713 | * @generated | ||
714 | */ | ||
715 | public T caseFinalState(FinalState object) { | ||
716 | return null; | ||
717 | } | ||
718 | |||
719 | /** | ||
720 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
721 | * <!-- begin-user-doc --> | ||
722 | * This implementation returns null; | ||
723 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
724 | * <!-- end-user-doc --> | ||
725 | * @param object the target of the switch. | ||
726 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
727 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
728 | * @generated | ||
729 | */ | ||
730 | @Override | ||
731 | public T defaultCase(EObject object) { | ||
732 | return null; | ||
733 | } | ||
734 | |||
735 | } //YakinduSwitch | ||
736 | >>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java | ||