diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite')
36 files changed, 4728 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CommSubsystem.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CommSubsystem.java new file mode 100644 index 00000000..905f5c3c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CommSubsystem.java | |||
@@ -0,0 +1,92 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Comm Subsystem</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li> | ||
17 | * <li>{@link satellite.CommSubsystem#getFrequency <em>Frequency</em>}</li> | ||
18 | * <li>{@link satellite.CommSubsystem#getPathLength <em>Path Length</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see satellite.SatellitePackage#getCommSubsystem() | ||
22 | * @model abstract="true" | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface CommSubsystem extends EObject { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Target</em>' reference. | ||
31 | * @see #setTarget(CommSubsystem) | ||
32 | * @see satellite.SatellitePackage#getCommSubsystem_Target() | ||
33 | * @model | ||
34 | * @generated | ||
35 | */ | ||
36 | CommSubsystem getTarget(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link satellite.CommSubsystem#getTarget <em>Target</em>}' reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Target</em>' reference. | ||
43 | * @see #getTarget() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setTarget(CommSubsystem value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Frequency</b></em>' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Frequency</em>' attribute. | ||
53 | * @see #setFrequency(int) | ||
54 | * @see satellite.SatellitePackage#getCommSubsystem_Frequency() | ||
55 | * @model required="true" | ||
56 | * @generated | ||
57 | */ | ||
58 | int getFrequency(); | ||
59 | |||
60 | /** | ||
61 | * Sets the value of the '{@link satellite.CommSubsystem#getFrequency <em>Frequency</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @param value the new value of the '<em>Frequency</em>' attribute. | ||
65 | * @see #getFrequency() | ||
66 | * @generated | ||
67 | */ | ||
68 | void setFrequency(int value); | ||
69 | |||
70 | /** | ||
71 | * Returns the value of the '<em><b>Path Length</b></em>' attribute. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return the value of the '<em>Path Length</em>' attribute. | ||
75 | * @see #setPathLength(int) | ||
76 | * @see satellite.SatellitePackage#getCommSubsystem_PathLength() | ||
77 | * @model required="true" | ||
78 | * @generated | ||
79 | */ | ||
80 | int getPathLength(); | ||
81 | |||
82 | /** | ||
83 | * Sets the value of the '{@link satellite.CommSubsystem#getPathLength <em>Path Length</em>}' attribute. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @param value the new value of the '<em>Path Length</em>' attribute. | ||
87 | * @see #getPathLength() | ||
88 | * @generated | ||
89 | */ | ||
90 | void setPathLength(int value); | ||
91 | |||
92 | } // CommSubsystem | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CommunicatingElement.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CommunicatingElement.java new file mode 100644 index 00000000..c77ee70d --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CommunicatingElement.java | |||
@@ -0,0 +1,38 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Communicating Element</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link satellite.CommunicatingElement#getCommSubsystem <em>Comm Subsystem</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see satellite.SatellitePackage#getCommunicatingElement() | ||
22 | * @model abstract="true" | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface CommunicatingElement extends EObject { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link satellite.CommSubsystem}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Comm Subsystem</em>' containment reference list. | ||
32 | * @see satellite.SatellitePackage#getCommunicatingElement_CommSubsystem() | ||
33 | * @model containment="true" required="true" upper="2" | ||
34 | * @generated | ||
35 | */ | ||
36 | EList<CommSubsystem> getCommSubsystem(); | ||
37 | |||
38 | } // CommunicatingElement | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/ConstellationMission.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/ConstellationMission.java new file mode 100644 index 00000000..82efd31c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/ConstellationMission.java | |||
@@ -0,0 +1,61 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Constellation Mission</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link satellite.ConstellationMission#getGroundStationNetwork <em>Ground Station Network</em>}</li> | ||
19 | * <li>{@link satellite.ConstellationMission#getSpacecraft <em>Spacecraft</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see satellite.SatellitePackage#getConstellationMission() | ||
23 | * @model abstract="true" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface ConstellationMission extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Ground Station Network</b></em>' containment reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Ground Station Network</em>' containment reference. | ||
32 | * @see #setGroundStationNetwork(GroundStationNetwork) | ||
33 | * @see satellite.SatellitePackage#getConstellationMission_GroundStationNetwork() | ||
34 | * @model containment="true" required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | GroundStationNetwork getGroundStationNetwork(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link satellite.ConstellationMission#getGroundStationNetwork <em>Ground Station Network</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Ground Station Network</em>' containment reference. | ||
44 | * @see #getGroundStationNetwork() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setGroundStationNetwork(GroundStationNetwork value); | ||
48 | |||
49 | /** | ||
50 | * Returns the value of the '<em><b>Spacecraft</b></em>' containment reference list. | ||
51 | * The list contents are of type {@link satellite.Spacecraft}. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @return the value of the '<em>Spacecraft</em>' containment reference list. | ||
55 | * @see satellite.SatellitePackage#getConstellationMission_Spacecraft() | ||
56 | * @model containment="true" lower="2" | ||
57 | * @generated | ||
58 | */ | ||
59 | EList<Spacecraft> getSpacecraft(); | ||
60 | |||
61 | } // ConstellationMission | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat.java new file mode 100644 index 00000000..6b04d5f8 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Cube Sat</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getCubeSat() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface CubeSat extends Spacecraft { | ||
17 | } // CubeSat | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat3U.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat3U.java new file mode 100644 index 00000000..68ff7a71 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat3U.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Cube Sat3 U</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getCubeSat3U() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface CubeSat3U extends CubeSat { | ||
17 | } // CubeSat3U | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat6U.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat6U.java new file mode 100644 index 00000000..bf3d8525 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/CubeSat6U.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Cube Sat6 U</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getCubeSat6U() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface CubeSat6U extends CubeSat { | ||
17 | } // CubeSat6U | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/GroundStationNetwork.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/GroundStationNetwork.java new file mode 100644 index 00000000..a58c0ff4 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/GroundStationNetwork.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Ground Station Network</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getGroundStationNetwork() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface GroundStationNetwork extends CommunicatingElement { | ||
17 | } // GroundStationNetwork | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/InterferometryMission.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/InterferometryMission.java new file mode 100644 index 00000000..f0859bda --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/InterferometryMission.java | |||
@@ -0,0 +1,45 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Interferometry Mission</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see satellite.SatellitePackage#getInterferometryMission() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface InterferometryMission extends ConstellationMission { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Observation Time</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @return the value of the '<em>Observation Time</em>' attribute. | ||
28 | * @see #setObservationTime(int) | ||
29 | * @see satellite.SatellitePackage#getInterferometryMission_ObservationTime() | ||
30 | * @model required="true" | ||
31 | * @generated | ||
32 | */ | ||
33 | int getObservationTime(); | ||
34 | |||
35 | /** | ||
36 | * Sets the value of the '{@link satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}' attribute. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @param value the new value of the '<em>Observation Time</em>' attribute. | ||
40 | * @see #getObservationTime() | ||
41 | * @generated | ||
42 | */ | ||
43 | void setObservationTime(int value); | ||
44 | |||
45 | } // InterferometryMission | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/InterferometryPayload.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/InterferometryPayload.java new file mode 100644 index 00000000..bd2545a3 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/InterferometryPayload.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Interferometry Payload</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getInterferometryPayload() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface InterferometryPayload extends Payload { | ||
17 | } // InterferometryPayload | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/KaCommSubsystem.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/KaCommSubsystem.java new file mode 100644 index 00000000..a30cdfd5 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/KaCommSubsystem.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Ka Comm Subsystem</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getKaCommSubsystem() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface KaCommSubsystem extends CommSubsystem { | ||
17 | } // KaCommSubsystem | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/Payload.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/Payload.java new file mode 100644 index 00000000..b4d0f02f --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/Payload.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Payload</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see satellite.SatellitePackage#getPayload() | ||
14 | * @model abstract="true" | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Payload extends EObject { | ||
18 | } // Payload | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SatelliteFactory.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SatelliteFactory.java new file mode 100644 index 00000000..50414622 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SatelliteFactory.java | |||
@@ -0,0 +1,114 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see satellite.SatellitePackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface SatelliteFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | SatelliteFactory eINSTANCE = satellite.impl.SatelliteFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Interferometry Mission</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Interferometry Mission</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | InterferometryMission createInterferometryMission(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Ground Station Network</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Ground Station Network</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | GroundStationNetwork createGroundStationNetwork(); | ||
41 | |||
42 | /** | ||
43 | * Returns a new object of class '<em>Interferometry Payload</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Interferometry Payload</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | InterferometryPayload createInterferometryPayload(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>Cube Sat3 U</em>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>Cube Sat3 U</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | CubeSat3U createCubeSat3U(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>Cube Sat6 U</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>Cube Sat6 U</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | CubeSat6U createCubeSat6U(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>Small Sat</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Small Sat</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | SmallSat createSmallSat(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>UHF Comm Subsystem</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>UHF Comm Subsystem</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | UHFCommSubsystem createUHFCommSubsystem(); | ||
86 | |||
87 | /** | ||
88 | * Returns a new object of class '<em>XComm Subsystem</em>'. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return a new object of class '<em>XComm Subsystem</em>'. | ||
92 | * @generated | ||
93 | */ | ||
94 | XCommSubsystem createXCommSubsystem(); | ||
95 | |||
96 | /** | ||
97 | * Returns a new object of class '<em>Ka Comm Subsystem</em>'. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @return a new object of class '<em>Ka Comm Subsystem</em>'. | ||
101 | * @generated | ||
102 | */ | ||
103 | KaCommSubsystem createKaCommSubsystem(); | ||
104 | |||
105 | /** | ||
106 | * Returns the package supported by this factory. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @return the package supported by this factory. | ||
110 | * @generated | ||
111 | */ | ||
112 | SatellitePackage getSatellitePackage(); | ||
113 | |||
114 | } //SatelliteFactory | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SatellitePackage.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SatellitePackage.java new file mode 100644 index 00000000..fa3fa0e9 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SatellitePackage.java | |||
@@ -0,0 +1,1218 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | import org.eclipse.emf.ecore.EReference; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * The <b>Package</b> for the model. | ||
13 | * It contains accessors for the meta objects to represent | ||
14 | * <ul> | ||
15 | * <li>each class,</li> | ||
16 | * <li>each feature of each class,</li> | ||
17 | * <li>each operation of each class,</li> | ||
18 | * <li>each enum,</li> | ||
19 | * <li>and each data type</li> | ||
20 | * </ul> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see satellite.SatelliteFactory | ||
23 | * @model kind="package" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface SatellitePackage extends EPackage { | ||
27 | /** | ||
28 | * The package name. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | String eNAME = "satellite"; | ||
34 | |||
35 | /** | ||
36 | * The package namespace URI. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | String eNS_URI = "http://www.example.org/satellite"; | ||
42 | |||
43 | /** | ||
44 | * The package namespace name. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | String eNS_PREFIX = "satellite"; | ||
50 | |||
51 | /** | ||
52 | * The singleton instance of the package. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | SatellitePackage eINSTANCE = satellite.impl.SatellitePackageImpl.init(); | ||
58 | |||
59 | /** | ||
60 | * The meta object id for the '{@link satellite.impl.ConstellationMissionImpl <em>Constellation Mission</em>}' class. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see satellite.impl.ConstellationMissionImpl | ||
64 | * @see satellite.impl.SatellitePackageImpl#getConstellationMission() | ||
65 | * @generated | ||
66 | */ | ||
67 | int CONSTELLATION_MISSION = 0; | ||
68 | |||
69 | /** | ||
70 | * The feature id for the '<em><b>Ground Station Network</b></em>' containment reference. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | int CONSTELLATION_MISSION__GROUND_STATION_NETWORK = 0; | ||
77 | |||
78 | /** | ||
79 | * The feature id for the '<em><b>Spacecraft</b></em>' containment reference list. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | int CONSTELLATION_MISSION__SPACECRAFT = 1; | ||
86 | |||
87 | /** | ||
88 | * The number of structural features of the '<em>Constellation Mission</em>' class. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | int CONSTELLATION_MISSION_FEATURE_COUNT = 2; | ||
95 | |||
96 | /** | ||
97 | * The number of operations of the '<em>Constellation Mission</em>' class. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | * @ordered | ||
102 | */ | ||
103 | int CONSTELLATION_MISSION_OPERATION_COUNT = 0; | ||
104 | |||
105 | /** | ||
106 | * The meta object id for the '{@link satellite.impl.InterferometryMissionImpl <em>Interferometry Mission</em>}' class. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @see satellite.impl.InterferometryMissionImpl | ||
110 | * @see satellite.impl.SatellitePackageImpl#getInterferometryMission() | ||
111 | * @generated | ||
112 | */ | ||
113 | int INTERFEROMETRY_MISSION = 1; | ||
114 | |||
115 | /** | ||
116 | * The feature id for the '<em><b>Ground Station Network</b></em>' containment reference. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | * @ordered | ||
121 | */ | ||
122 | int INTERFEROMETRY_MISSION__GROUND_STATION_NETWORK = CONSTELLATION_MISSION__GROUND_STATION_NETWORK; | ||
123 | |||
124 | /** | ||
125 | * The feature id for the '<em><b>Spacecraft</b></em>' containment reference list. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | * @ordered | ||
130 | */ | ||
131 | int INTERFEROMETRY_MISSION__SPACECRAFT = CONSTELLATION_MISSION__SPACECRAFT; | ||
132 | |||
133 | /** | ||
134 | * The feature id for the '<em><b>Observation Time</b></em>' attribute. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | int INTERFEROMETRY_MISSION__OBSERVATION_TIME = CONSTELLATION_MISSION_FEATURE_COUNT + 0; | ||
141 | |||
142 | /** | ||
143 | * The number of structural features of the '<em>Interferometry Mission</em>' class. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | * @ordered | ||
148 | */ | ||
149 | int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 1; | ||
150 | |||
151 | /** | ||
152 | * The number of operations of the '<em>Interferometry Mission</em>' class. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | * @ordered | ||
157 | */ | ||
158 | int INTERFEROMETRY_MISSION_OPERATION_COUNT = CONSTELLATION_MISSION_OPERATION_COUNT + 0; | ||
159 | |||
160 | /** | ||
161 | * The meta object id for the '{@link satellite.impl.CommunicatingElementImpl <em>Communicating Element</em>}' class. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @see satellite.impl.CommunicatingElementImpl | ||
165 | * @see satellite.impl.SatellitePackageImpl#getCommunicatingElement() | ||
166 | * @generated | ||
167 | */ | ||
168 | int COMMUNICATING_ELEMENT = 2; | ||
169 | |||
170 | /** | ||
171 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | * @ordered | ||
176 | */ | ||
177 | int COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = 0; | ||
178 | |||
179 | /** | ||
180 | * The number of structural features of the '<em>Communicating Element</em>' class. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | * @ordered | ||
185 | */ | ||
186 | int COMMUNICATING_ELEMENT_FEATURE_COUNT = 1; | ||
187 | |||
188 | /** | ||
189 | * The number of operations of the '<em>Communicating Element</em>' class. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | * @ordered | ||
194 | */ | ||
195 | int COMMUNICATING_ELEMENT_OPERATION_COUNT = 0; | ||
196 | |||
197 | /** | ||
198 | * The meta object id for the '{@link satellite.impl.GroundStationNetworkImpl <em>Ground Station Network</em>}' class. | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @see satellite.impl.GroundStationNetworkImpl | ||
202 | * @see satellite.impl.SatellitePackageImpl#getGroundStationNetwork() | ||
203 | * @generated | ||
204 | */ | ||
205 | int GROUND_STATION_NETWORK = 3; | ||
206 | |||
207 | /** | ||
208 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | * @ordered | ||
213 | */ | ||
214 | int GROUND_STATION_NETWORK__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; | ||
215 | |||
216 | /** | ||
217 | * The number of structural features of the '<em>Ground Station Network</em>' class. | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | * @ordered | ||
222 | */ | ||
223 | int GROUND_STATION_NETWORK_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0; | ||
224 | |||
225 | /** | ||
226 | * The number of operations of the '<em>Ground Station Network</em>' class. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | * @ordered | ||
231 | */ | ||
232 | int GROUND_STATION_NETWORK_OPERATION_COUNT = COMMUNICATING_ELEMENT_OPERATION_COUNT + 0; | ||
233 | |||
234 | /** | ||
235 | * The meta object id for the '{@link satellite.impl.SpacecraftImpl <em>Spacecraft</em>}' class. | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @see satellite.impl.SpacecraftImpl | ||
239 | * @see satellite.impl.SatellitePackageImpl#getSpacecraft() | ||
240 | * @generated | ||
241 | */ | ||
242 | int SPACECRAFT = 4; | ||
243 | |||
244 | /** | ||
245 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | * @ordered | ||
250 | */ | ||
251 | int SPACECRAFT__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; | ||
252 | |||
253 | /** | ||
254 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | * @ordered | ||
259 | */ | ||
260 | int SPACECRAFT__PAYLOAD = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0; | ||
261 | |||
262 | /** | ||
263 | * The number of structural features of the '<em>Spacecraft</em>' class. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | * @ordered | ||
268 | */ | ||
269 | int SPACECRAFT_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 1; | ||
270 | |||
271 | /** | ||
272 | * The number of operations of the '<em>Spacecraft</em>' class. | ||
273 | * <!-- begin-user-doc --> | ||
274 | * <!-- end-user-doc --> | ||
275 | * @generated | ||
276 | * @ordered | ||
277 | */ | ||
278 | int SPACECRAFT_OPERATION_COUNT = COMMUNICATING_ELEMENT_OPERATION_COUNT + 0; | ||
279 | |||
280 | /** | ||
281 | * The meta object id for the '{@link satellite.impl.CommSubsystemImpl <em>Comm Subsystem</em>}' class. | ||
282 | * <!-- begin-user-doc --> | ||
283 | * <!-- end-user-doc --> | ||
284 | * @see satellite.impl.CommSubsystemImpl | ||
285 | * @see satellite.impl.SatellitePackageImpl#getCommSubsystem() | ||
286 | * @generated | ||
287 | */ | ||
288 | int COMM_SUBSYSTEM = 5; | ||
289 | |||
290 | /** | ||
291 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | * @ordered | ||
296 | */ | ||
297 | int COMM_SUBSYSTEM__TARGET = 0; | ||
298 | |||
299 | /** | ||
300 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | * @ordered | ||
305 | */ | ||
306 | int COMM_SUBSYSTEM__FREQUENCY = 1; | ||
307 | |||
308 | /** | ||
309 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | * @ordered | ||
314 | */ | ||
315 | int COMM_SUBSYSTEM__PATH_LENGTH = 2; | ||
316 | |||
317 | /** | ||
318 | * The number of structural features of the '<em>Comm Subsystem</em>' class. | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | * @ordered | ||
323 | */ | ||
324 | int COMM_SUBSYSTEM_FEATURE_COUNT = 3; | ||
325 | |||
326 | /** | ||
327 | * The number of operations of the '<em>Comm Subsystem</em>' class. | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | * @ordered | ||
332 | */ | ||
333 | int COMM_SUBSYSTEM_OPERATION_COUNT = 0; | ||
334 | |||
335 | /** | ||
336 | * The meta object id for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. | ||
337 | * <!-- begin-user-doc --> | ||
338 | * <!-- end-user-doc --> | ||
339 | * @see satellite.impl.PayloadImpl | ||
340 | * @see satellite.impl.SatellitePackageImpl#getPayload() | ||
341 | * @generated | ||
342 | */ | ||
343 | int PAYLOAD = 6; | ||
344 | |||
345 | /** | ||
346 | * The number of structural features of the '<em>Payload</em>' class. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * <!-- end-user-doc --> | ||
349 | * @generated | ||
350 | * @ordered | ||
351 | */ | ||
352 | int PAYLOAD_FEATURE_COUNT = 0; | ||
353 | |||
354 | /** | ||
355 | * The number of operations of the '<em>Payload</em>' class. | ||
356 | * <!-- begin-user-doc --> | ||
357 | * <!-- end-user-doc --> | ||
358 | * @generated | ||
359 | * @ordered | ||
360 | */ | ||
361 | int PAYLOAD_OPERATION_COUNT = 0; | ||
362 | |||
363 | /** | ||
364 | * The meta object id for the '{@link satellite.impl.InterferometryPayloadImpl <em>Interferometry Payload</em>}' class. | ||
365 | * <!-- begin-user-doc --> | ||
366 | * <!-- end-user-doc --> | ||
367 | * @see satellite.impl.InterferometryPayloadImpl | ||
368 | * @see satellite.impl.SatellitePackageImpl#getInterferometryPayload() | ||
369 | * @generated | ||
370 | */ | ||
371 | int INTERFEROMETRY_PAYLOAD = 7; | ||
372 | |||
373 | /** | ||
374 | * The number of structural features of the '<em>Interferometry Payload</em>' class. | ||
375 | * <!-- begin-user-doc --> | ||
376 | * <!-- end-user-doc --> | ||
377 | * @generated | ||
378 | * @ordered | ||
379 | */ | ||
380 | int INTERFEROMETRY_PAYLOAD_FEATURE_COUNT = PAYLOAD_FEATURE_COUNT + 0; | ||
381 | |||
382 | /** | ||
383 | * The number of operations of the '<em>Interferometry Payload</em>' class. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | * @ordered | ||
388 | */ | ||
389 | int INTERFEROMETRY_PAYLOAD_OPERATION_COUNT = PAYLOAD_OPERATION_COUNT + 0; | ||
390 | |||
391 | /** | ||
392 | * The meta object id for the '{@link satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class. | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @see satellite.impl.CubeSatImpl | ||
396 | * @see satellite.impl.SatellitePackageImpl#getCubeSat() | ||
397 | * @generated | ||
398 | */ | ||
399 | int CUBE_SAT = 11; | ||
400 | |||
401 | /** | ||
402 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
403 | * <!-- begin-user-doc --> | ||
404 | * <!-- end-user-doc --> | ||
405 | * @generated | ||
406 | * @ordered | ||
407 | */ | ||
408 | int CUBE_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | ||
409 | |||
410 | /** | ||
411 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
412 | * <!-- begin-user-doc --> | ||
413 | * <!-- end-user-doc --> | ||
414 | * @generated | ||
415 | * @ordered | ||
416 | */ | ||
417 | int CUBE_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; | ||
418 | |||
419 | /** | ||
420 | * The number of structural features of the '<em>Cube Sat</em>' class. | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | * @ordered | ||
425 | */ | ||
426 | int CUBE_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; | ||
427 | |||
428 | /** | ||
429 | * The number of operations of the '<em>Cube Sat</em>' class. | ||
430 | * <!-- begin-user-doc --> | ||
431 | * <!-- end-user-doc --> | ||
432 | * @generated | ||
433 | * @ordered | ||
434 | */ | ||
435 | int CUBE_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; | ||
436 | |||
437 | /** | ||
438 | * The meta object id for the '{@link satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class. | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @see satellite.impl.CubeSat3UImpl | ||
442 | * @see satellite.impl.SatellitePackageImpl#getCubeSat3U() | ||
443 | * @generated | ||
444 | */ | ||
445 | int CUBE_SAT3_U = 8; | ||
446 | |||
447 | /** | ||
448 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @generated | ||
452 | * @ordered | ||
453 | */ | ||
454 | int CUBE_SAT3_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | ||
455 | |||
456 | /** | ||
457 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
458 | * <!-- begin-user-doc --> | ||
459 | * <!-- end-user-doc --> | ||
460 | * @generated | ||
461 | * @ordered | ||
462 | */ | ||
463 | int CUBE_SAT3_U__PAYLOAD = CUBE_SAT__PAYLOAD; | ||
464 | |||
465 | /** | ||
466 | * The number of structural features of the '<em>Cube Sat3 U</em>' class. | ||
467 | * <!-- begin-user-doc --> | ||
468 | * <!-- end-user-doc --> | ||
469 | * @generated | ||
470 | * @ordered | ||
471 | */ | ||
472 | int CUBE_SAT3_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; | ||
473 | |||
474 | /** | ||
475 | * The number of operations of the '<em>Cube Sat3 U</em>' class. | ||
476 | * <!-- begin-user-doc --> | ||
477 | * <!-- end-user-doc --> | ||
478 | * @generated | ||
479 | * @ordered | ||
480 | */ | ||
481 | int CUBE_SAT3_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; | ||
482 | |||
483 | /** | ||
484 | * The meta object id for the '{@link satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class. | ||
485 | * <!-- begin-user-doc --> | ||
486 | * <!-- end-user-doc --> | ||
487 | * @see satellite.impl.CubeSat6UImpl | ||
488 | * @see satellite.impl.SatellitePackageImpl#getCubeSat6U() | ||
489 | * @generated | ||
490 | */ | ||
491 | int CUBE_SAT6_U = 9; | ||
492 | |||
493 | /** | ||
494 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @generated | ||
498 | * @ordered | ||
499 | */ | ||
500 | int CUBE_SAT6_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | ||
501 | |||
502 | /** | ||
503 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @generated | ||
507 | * @ordered | ||
508 | */ | ||
509 | int CUBE_SAT6_U__PAYLOAD = CUBE_SAT__PAYLOAD; | ||
510 | |||
511 | /** | ||
512 | * The number of structural features of the '<em>Cube Sat6 U</em>' class. | ||
513 | * <!-- begin-user-doc --> | ||
514 | * <!-- end-user-doc --> | ||
515 | * @generated | ||
516 | * @ordered | ||
517 | */ | ||
518 | int CUBE_SAT6_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; | ||
519 | |||
520 | /** | ||
521 | * The number of operations of the '<em>Cube Sat6 U</em>' class. | ||
522 | * <!-- begin-user-doc --> | ||
523 | * <!-- end-user-doc --> | ||
524 | * @generated | ||
525 | * @ordered | ||
526 | */ | ||
527 | int CUBE_SAT6_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; | ||
528 | |||
529 | /** | ||
530 | * The meta object id for the '{@link satellite.impl.SmallSatImpl <em>Small Sat</em>}' class. | ||
531 | * <!-- begin-user-doc --> | ||
532 | * <!-- end-user-doc --> | ||
533 | * @see satellite.impl.SmallSatImpl | ||
534 | * @see satellite.impl.SatellitePackageImpl#getSmallSat() | ||
535 | * @generated | ||
536 | */ | ||
537 | int SMALL_SAT = 10; | ||
538 | |||
539 | /** | ||
540 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | * @ordered | ||
545 | */ | ||
546 | int SMALL_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | ||
547 | |||
548 | /** | ||
549 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * <!-- end-user-doc --> | ||
552 | * @generated | ||
553 | * @ordered | ||
554 | */ | ||
555 | int SMALL_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; | ||
556 | |||
557 | /** | ||
558 | * The number of structural features of the '<em>Small Sat</em>' class. | ||
559 | * <!-- begin-user-doc --> | ||
560 | * <!-- end-user-doc --> | ||
561 | * @generated | ||
562 | * @ordered | ||
563 | */ | ||
564 | int SMALL_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; | ||
565 | |||
566 | /** | ||
567 | * The number of operations of the '<em>Small Sat</em>' class. | ||
568 | * <!-- begin-user-doc --> | ||
569 | * <!-- end-user-doc --> | ||
570 | * @generated | ||
571 | * @ordered | ||
572 | */ | ||
573 | int SMALL_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; | ||
574 | |||
575 | /** | ||
576 | * The meta object id for the '{@link satellite.impl.UHFCommSubsystemImpl <em>UHF Comm Subsystem</em>}' class. | ||
577 | * <!-- begin-user-doc --> | ||
578 | * <!-- end-user-doc --> | ||
579 | * @see satellite.impl.UHFCommSubsystemImpl | ||
580 | * @see satellite.impl.SatellitePackageImpl#getUHFCommSubsystem() | ||
581 | * @generated | ||
582 | */ | ||
583 | int UHF_COMM_SUBSYSTEM = 12; | ||
584 | |||
585 | /** | ||
586 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
587 | * <!-- begin-user-doc --> | ||
588 | * <!-- end-user-doc --> | ||
589 | * @generated | ||
590 | * @ordered | ||
591 | */ | ||
592 | int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | ||
593 | |||
594 | /** | ||
595 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
596 | * <!-- begin-user-doc --> | ||
597 | * <!-- end-user-doc --> | ||
598 | * @generated | ||
599 | * @ordered | ||
600 | */ | ||
601 | int UHF_COMM_SUBSYSTEM__FREQUENCY = COMM_SUBSYSTEM__FREQUENCY; | ||
602 | |||
603 | /** | ||
604 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
605 | * <!-- begin-user-doc --> | ||
606 | * <!-- end-user-doc --> | ||
607 | * @generated | ||
608 | * @ordered | ||
609 | */ | ||
610 | int UHF_COMM_SUBSYSTEM__PATH_LENGTH = COMM_SUBSYSTEM__PATH_LENGTH; | ||
611 | |||
612 | /** | ||
613 | * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. | ||
614 | * <!-- begin-user-doc --> | ||
615 | * <!-- end-user-doc --> | ||
616 | * @generated | ||
617 | * @ordered | ||
618 | */ | ||
619 | int UHF_COMM_SUBSYSTEM_FEATURE_COUNT = COMM_SUBSYSTEM_FEATURE_COUNT + 0; | ||
620 | |||
621 | /** | ||
622 | * The number of operations of the '<em>UHF Comm Subsystem</em>' class. | ||
623 | * <!-- begin-user-doc --> | ||
624 | * <!-- end-user-doc --> | ||
625 | * @generated | ||
626 | * @ordered | ||
627 | */ | ||
628 | int UHF_COMM_SUBSYSTEM_OPERATION_COUNT = COMM_SUBSYSTEM_OPERATION_COUNT + 0; | ||
629 | |||
630 | /** | ||
631 | * The meta object id for the '{@link satellite.impl.XCommSubsystemImpl <em>XComm Subsystem</em>}' class. | ||
632 | * <!-- begin-user-doc --> | ||
633 | * <!-- end-user-doc --> | ||
634 | * @see satellite.impl.XCommSubsystemImpl | ||
635 | * @see satellite.impl.SatellitePackageImpl#getXCommSubsystem() | ||
636 | * @generated | ||
637 | */ | ||
638 | int XCOMM_SUBSYSTEM = 13; | ||
639 | |||
640 | /** | ||
641 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
642 | * <!-- begin-user-doc --> | ||
643 | * <!-- end-user-doc --> | ||
644 | * @generated | ||
645 | * @ordered | ||
646 | */ | ||
647 | int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | ||
648 | |||
649 | /** | ||
650 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
651 | * <!-- begin-user-doc --> | ||
652 | * <!-- end-user-doc --> | ||
653 | * @generated | ||
654 | * @ordered | ||
655 | */ | ||
656 | int XCOMM_SUBSYSTEM__FREQUENCY = COMM_SUBSYSTEM__FREQUENCY; | ||
657 | |||
658 | /** | ||
659 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
660 | * <!-- begin-user-doc --> | ||
661 | * <!-- end-user-doc --> | ||
662 | * @generated | ||
663 | * @ordered | ||
664 | */ | ||
665 | int XCOMM_SUBSYSTEM__PATH_LENGTH = COMM_SUBSYSTEM__PATH_LENGTH; | ||
666 | |||
667 | /** | ||
668 | * The number of structural features of the '<em>XComm Subsystem</em>' class. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @generated | ||
672 | * @ordered | ||
673 | */ | ||
674 | int XCOMM_SUBSYSTEM_FEATURE_COUNT = COMM_SUBSYSTEM_FEATURE_COUNT + 0; | ||
675 | |||
676 | /** | ||
677 | * The number of operations of the '<em>XComm Subsystem</em>' class. | ||
678 | * <!-- begin-user-doc --> | ||
679 | * <!-- end-user-doc --> | ||
680 | * @generated | ||
681 | * @ordered | ||
682 | */ | ||
683 | int XCOMM_SUBSYSTEM_OPERATION_COUNT = COMM_SUBSYSTEM_OPERATION_COUNT + 0; | ||
684 | |||
685 | /** | ||
686 | * The meta object id for the '{@link satellite.impl.KaCommSubsystemImpl <em>Ka Comm Subsystem</em>}' class. | ||
687 | * <!-- begin-user-doc --> | ||
688 | * <!-- end-user-doc --> | ||
689 | * @see satellite.impl.KaCommSubsystemImpl | ||
690 | * @see satellite.impl.SatellitePackageImpl#getKaCommSubsystem() | ||
691 | * @generated | ||
692 | */ | ||
693 | int KA_COMM_SUBSYSTEM = 14; | ||
694 | |||
695 | /** | ||
696 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
697 | * <!-- begin-user-doc --> | ||
698 | * <!-- end-user-doc --> | ||
699 | * @generated | ||
700 | * @ordered | ||
701 | */ | ||
702 | int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | ||
703 | |||
704 | /** | ||
705 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
706 | * <!-- begin-user-doc --> | ||
707 | * <!-- end-user-doc --> | ||
708 | * @generated | ||
709 | * @ordered | ||
710 | */ | ||
711 | int KA_COMM_SUBSYSTEM__FREQUENCY = COMM_SUBSYSTEM__FREQUENCY; | ||
712 | |||
713 | /** | ||
714 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
715 | * <!-- begin-user-doc --> | ||
716 | * <!-- end-user-doc --> | ||
717 | * @generated | ||
718 | * @ordered | ||
719 | */ | ||
720 | int KA_COMM_SUBSYSTEM__PATH_LENGTH = COMM_SUBSYSTEM__PATH_LENGTH; | ||
721 | |||
722 | /** | ||
723 | * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. | ||
724 | * <!-- begin-user-doc --> | ||
725 | * <!-- end-user-doc --> | ||
726 | * @generated | ||
727 | * @ordered | ||
728 | */ | ||
729 | int KA_COMM_SUBSYSTEM_FEATURE_COUNT = COMM_SUBSYSTEM_FEATURE_COUNT + 0; | ||
730 | |||
731 | /** | ||
732 | * The number of operations of the '<em>Ka Comm Subsystem</em>' class. | ||
733 | * <!-- begin-user-doc --> | ||
734 | * <!-- end-user-doc --> | ||
735 | * @generated | ||
736 | * @ordered | ||
737 | */ | ||
738 | int KA_COMM_SUBSYSTEM_OPERATION_COUNT = COMM_SUBSYSTEM_OPERATION_COUNT + 0; | ||
739 | |||
740 | |||
741 | /** | ||
742 | * Returns the meta object for class '{@link satellite.ConstellationMission <em>Constellation Mission</em>}'. | ||
743 | * <!-- begin-user-doc --> | ||
744 | * <!-- end-user-doc --> | ||
745 | * @return the meta object for class '<em>Constellation Mission</em>'. | ||
746 | * @see satellite.ConstellationMission | ||
747 | * @generated | ||
748 | */ | ||
749 | EClass getConstellationMission(); | ||
750 | |||
751 | /** | ||
752 | * Returns the meta object for the containment reference '{@link satellite.ConstellationMission#getGroundStationNetwork <em>Ground Station Network</em>}'. | ||
753 | * <!-- begin-user-doc --> | ||
754 | * <!-- end-user-doc --> | ||
755 | * @return the meta object for the containment reference '<em>Ground Station Network</em>'. | ||
756 | * @see satellite.ConstellationMission#getGroundStationNetwork() | ||
757 | * @see #getConstellationMission() | ||
758 | * @generated | ||
759 | */ | ||
760 | EReference getConstellationMission_GroundStationNetwork(); | ||
761 | |||
762 | /** | ||
763 | * Returns the meta object for the containment reference list '{@link satellite.ConstellationMission#getSpacecraft <em>Spacecraft</em>}'. | ||
764 | * <!-- begin-user-doc --> | ||
765 | * <!-- end-user-doc --> | ||
766 | * @return the meta object for the containment reference list '<em>Spacecraft</em>'. | ||
767 | * @see satellite.ConstellationMission#getSpacecraft() | ||
768 | * @see #getConstellationMission() | ||
769 | * @generated | ||
770 | */ | ||
771 | EReference getConstellationMission_Spacecraft(); | ||
772 | |||
773 | /** | ||
774 | * Returns the meta object for class '{@link satellite.InterferometryMission <em>Interferometry Mission</em>}'. | ||
775 | * <!-- begin-user-doc --> | ||
776 | * <!-- end-user-doc --> | ||
777 | * @return the meta object for class '<em>Interferometry Mission</em>'. | ||
778 | * @see satellite.InterferometryMission | ||
779 | * @generated | ||
780 | */ | ||
781 | EClass getInterferometryMission(); | ||
782 | |||
783 | /** | ||
784 | * Returns the meta object for the attribute '{@link satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}'. | ||
785 | * <!-- begin-user-doc --> | ||
786 | * <!-- end-user-doc --> | ||
787 | * @return the meta object for the attribute '<em>Observation Time</em>'. | ||
788 | * @see satellite.InterferometryMission#getObservationTime() | ||
789 | * @see #getInterferometryMission() | ||
790 | * @generated | ||
791 | */ | ||
792 | EAttribute getInterferometryMission_ObservationTime(); | ||
793 | |||
794 | /** | ||
795 | * Returns the meta object for class '{@link satellite.CommunicatingElement <em>Communicating Element</em>}'. | ||
796 | * <!-- begin-user-doc --> | ||
797 | * <!-- end-user-doc --> | ||
798 | * @return the meta object for class '<em>Communicating Element</em>'. | ||
799 | * @see satellite.CommunicatingElement | ||
800 | * @generated | ||
801 | */ | ||
802 | EClass getCommunicatingElement(); | ||
803 | |||
804 | /** | ||
805 | * Returns the meta object for the containment reference list '{@link satellite.CommunicatingElement#getCommSubsystem <em>Comm Subsystem</em>}'. | ||
806 | * <!-- begin-user-doc --> | ||
807 | * <!-- end-user-doc --> | ||
808 | * @return the meta object for the containment reference list '<em>Comm Subsystem</em>'. | ||
809 | * @see satellite.CommunicatingElement#getCommSubsystem() | ||
810 | * @see #getCommunicatingElement() | ||
811 | * @generated | ||
812 | */ | ||
813 | EReference getCommunicatingElement_CommSubsystem(); | ||
814 | |||
815 | /** | ||
816 | * Returns the meta object for class '{@link satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | ||
817 | * <!-- begin-user-doc --> | ||
818 | * <!-- end-user-doc --> | ||
819 | * @return the meta object for class '<em>Ground Station Network</em>'. | ||
820 | * @see satellite.GroundStationNetwork | ||
821 | * @generated | ||
822 | */ | ||
823 | EClass getGroundStationNetwork(); | ||
824 | |||
825 | /** | ||
826 | * Returns the meta object for class '{@link satellite.Spacecraft <em>Spacecraft</em>}'. | ||
827 | * <!-- begin-user-doc --> | ||
828 | * <!-- end-user-doc --> | ||
829 | * @return the meta object for class '<em>Spacecraft</em>'. | ||
830 | * @see satellite.Spacecraft | ||
831 | * @generated | ||
832 | */ | ||
833 | EClass getSpacecraft(); | ||
834 | |||
835 | /** | ||
836 | * Returns the meta object for the containment reference '{@link satellite.Spacecraft#getPayload <em>Payload</em>}'. | ||
837 | * <!-- begin-user-doc --> | ||
838 | * <!-- end-user-doc --> | ||
839 | * @return the meta object for the containment reference '<em>Payload</em>'. | ||
840 | * @see satellite.Spacecraft#getPayload() | ||
841 | * @see #getSpacecraft() | ||
842 | * @generated | ||
843 | */ | ||
844 | EReference getSpacecraft_Payload(); | ||
845 | |||
846 | /** | ||
847 | * Returns the meta object for class '{@link satellite.CommSubsystem <em>Comm Subsystem</em>}'. | ||
848 | * <!-- begin-user-doc --> | ||
849 | * <!-- end-user-doc --> | ||
850 | * @return the meta object for class '<em>Comm Subsystem</em>'. | ||
851 | * @see satellite.CommSubsystem | ||
852 | * @generated | ||
853 | */ | ||
854 | EClass getCommSubsystem(); | ||
855 | |||
856 | /** | ||
857 | * Returns the meta object for the reference '{@link satellite.CommSubsystem#getTarget <em>Target</em>}'. | ||
858 | * <!-- begin-user-doc --> | ||
859 | * <!-- end-user-doc --> | ||
860 | * @return the meta object for the reference '<em>Target</em>'. | ||
861 | * @see satellite.CommSubsystem#getTarget() | ||
862 | * @see #getCommSubsystem() | ||
863 | * @generated | ||
864 | */ | ||
865 | EReference getCommSubsystem_Target(); | ||
866 | |||
867 | /** | ||
868 | * Returns the meta object for the attribute '{@link satellite.CommSubsystem#getFrequency <em>Frequency</em>}'. | ||
869 | * <!-- begin-user-doc --> | ||
870 | * <!-- end-user-doc --> | ||
871 | * @return the meta object for the attribute '<em>Frequency</em>'. | ||
872 | * @see satellite.CommSubsystem#getFrequency() | ||
873 | * @see #getCommSubsystem() | ||
874 | * @generated | ||
875 | */ | ||
876 | EAttribute getCommSubsystem_Frequency(); | ||
877 | |||
878 | /** | ||
879 | * Returns the meta object for the attribute '{@link satellite.CommSubsystem#getPathLength <em>Path Length</em>}'. | ||
880 | * <!-- begin-user-doc --> | ||
881 | * <!-- end-user-doc --> | ||
882 | * @return the meta object for the attribute '<em>Path Length</em>'. | ||
883 | * @see satellite.CommSubsystem#getPathLength() | ||
884 | * @see #getCommSubsystem() | ||
885 | * @generated | ||
886 | */ | ||
887 | EAttribute getCommSubsystem_PathLength(); | ||
888 | |||
889 | /** | ||
890 | * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. | ||
891 | * <!-- begin-user-doc --> | ||
892 | * <!-- end-user-doc --> | ||
893 | * @return the meta object for class '<em>Payload</em>'. | ||
894 | * @see satellite.Payload | ||
895 | * @generated | ||
896 | */ | ||
897 | EClass getPayload(); | ||
898 | |||
899 | /** | ||
900 | * Returns the meta object for class '{@link satellite.InterferometryPayload <em>Interferometry Payload</em>}'. | ||
901 | * <!-- begin-user-doc --> | ||
902 | * <!-- end-user-doc --> | ||
903 | * @return the meta object for class '<em>Interferometry Payload</em>'. | ||
904 | * @see satellite.InterferometryPayload | ||
905 | * @generated | ||
906 | */ | ||
907 | EClass getInterferometryPayload(); | ||
908 | |||
909 | /** | ||
910 | * Returns the meta object for class '{@link satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
911 | * <!-- begin-user-doc --> | ||
912 | * <!-- end-user-doc --> | ||
913 | * @return the meta object for class '<em>Cube Sat3 U</em>'. | ||
914 | * @see satellite.CubeSat3U | ||
915 | * @generated | ||
916 | */ | ||
917 | EClass getCubeSat3U(); | ||
918 | |||
919 | /** | ||
920 | * Returns the meta object for class '{@link satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
921 | * <!-- begin-user-doc --> | ||
922 | * <!-- end-user-doc --> | ||
923 | * @return the meta object for class '<em>Cube Sat6 U</em>'. | ||
924 | * @see satellite.CubeSat6U | ||
925 | * @generated | ||
926 | */ | ||
927 | EClass getCubeSat6U(); | ||
928 | |||
929 | /** | ||
930 | * Returns the meta object for class '{@link satellite.SmallSat <em>Small Sat</em>}'. | ||
931 | * <!-- begin-user-doc --> | ||
932 | * <!-- end-user-doc --> | ||
933 | * @return the meta object for class '<em>Small Sat</em>'. | ||
934 | * @see satellite.SmallSat | ||
935 | * @generated | ||
936 | */ | ||
937 | EClass getSmallSat(); | ||
938 | |||
939 | /** | ||
940 | * Returns the meta object for class '{@link satellite.CubeSat <em>Cube Sat</em>}'. | ||
941 | * <!-- begin-user-doc --> | ||
942 | * <!-- end-user-doc --> | ||
943 | * @return the meta object for class '<em>Cube Sat</em>'. | ||
944 | * @see satellite.CubeSat | ||
945 | * @generated | ||
946 | */ | ||
947 | EClass getCubeSat(); | ||
948 | |||
949 | /** | ||
950 | * Returns the meta object for class '{@link satellite.UHFCommSubsystem <em>UHF Comm Subsystem</em>}'. | ||
951 | * <!-- begin-user-doc --> | ||
952 | * <!-- end-user-doc --> | ||
953 | * @return the meta object for class '<em>UHF Comm Subsystem</em>'. | ||
954 | * @see satellite.UHFCommSubsystem | ||
955 | * @generated | ||
956 | */ | ||
957 | EClass getUHFCommSubsystem(); | ||
958 | |||
959 | /** | ||
960 | * Returns the meta object for class '{@link satellite.XCommSubsystem <em>XComm Subsystem</em>}'. | ||
961 | * <!-- begin-user-doc --> | ||
962 | * <!-- end-user-doc --> | ||
963 | * @return the meta object for class '<em>XComm Subsystem</em>'. | ||
964 | * @see satellite.XCommSubsystem | ||
965 | * @generated | ||
966 | */ | ||
967 | EClass getXCommSubsystem(); | ||
968 | |||
969 | /** | ||
970 | * Returns the meta object for class '{@link satellite.KaCommSubsystem <em>Ka Comm Subsystem</em>}'. | ||
971 | * <!-- begin-user-doc --> | ||
972 | * <!-- end-user-doc --> | ||
973 | * @return the meta object for class '<em>Ka Comm Subsystem</em>'. | ||
974 | * @see satellite.KaCommSubsystem | ||
975 | * @generated | ||
976 | */ | ||
977 | EClass getKaCommSubsystem(); | ||
978 | |||
979 | /** | ||
980 | * Returns the factory that creates the instances of the model. | ||
981 | * <!-- begin-user-doc --> | ||
982 | * <!-- end-user-doc --> | ||
983 | * @return the factory that creates the instances of the model. | ||
984 | * @generated | ||
985 | */ | ||
986 | SatelliteFactory getSatelliteFactory(); | ||
987 | |||
988 | /** | ||
989 | * <!-- begin-user-doc --> | ||
990 | * Defines literals for the meta objects that represent | ||
991 | * <ul> | ||
992 | * <li>each class,</li> | ||
993 | * <li>each feature of each class,</li> | ||
994 | * <li>each operation of each class,</li> | ||
995 | * <li>each enum,</li> | ||
996 | * <li>and each data type</li> | ||
997 | * </ul> | ||
998 | * <!-- end-user-doc --> | ||
999 | * @generated | ||
1000 | */ | ||
1001 | interface Literals { | ||
1002 | /** | ||
1003 | * The meta object literal for the '{@link satellite.impl.ConstellationMissionImpl <em>Constellation Mission</em>}' class. | ||
1004 | * <!-- begin-user-doc --> | ||
1005 | * <!-- end-user-doc --> | ||
1006 | * @see satellite.impl.ConstellationMissionImpl | ||
1007 | * @see satellite.impl.SatellitePackageImpl#getConstellationMission() | ||
1008 | * @generated | ||
1009 | */ | ||
1010 | EClass CONSTELLATION_MISSION = eINSTANCE.getConstellationMission(); | ||
1011 | |||
1012 | /** | ||
1013 | * The meta object literal for the '<em><b>Ground Station Network</b></em>' containment reference feature. | ||
1014 | * <!-- begin-user-doc --> | ||
1015 | * <!-- end-user-doc --> | ||
1016 | * @generated | ||
1017 | */ | ||
1018 | EReference CONSTELLATION_MISSION__GROUND_STATION_NETWORK = eINSTANCE.getConstellationMission_GroundStationNetwork(); | ||
1019 | |||
1020 | /** | ||
1021 | * The meta object literal for the '<em><b>Spacecraft</b></em>' containment reference list feature. | ||
1022 | * <!-- begin-user-doc --> | ||
1023 | * <!-- end-user-doc --> | ||
1024 | * @generated | ||
1025 | */ | ||
1026 | EReference CONSTELLATION_MISSION__SPACECRAFT = eINSTANCE.getConstellationMission_Spacecraft(); | ||
1027 | |||
1028 | /** | ||
1029 | * The meta object literal for the '{@link satellite.impl.InterferometryMissionImpl <em>Interferometry Mission</em>}' class. | ||
1030 | * <!-- begin-user-doc --> | ||
1031 | * <!-- end-user-doc --> | ||
1032 | * @see satellite.impl.InterferometryMissionImpl | ||
1033 | * @see satellite.impl.SatellitePackageImpl#getInterferometryMission() | ||
1034 | * @generated | ||
1035 | */ | ||
1036 | EClass INTERFEROMETRY_MISSION = eINSTANCE.getInterferometryMission(); | ||
1037 | |||
1038 | /** | ||
1039 | * The meta object literal for the '<em><b>Observation Time</b></em>' attribute feature. | ||
1040 | * <!-- begin-user-doc --> | ||
1041 | * <!-- end-user-doc --> | ||
1042 | * @generated | ||
1043 | */ | ||
1044 | EAttribute INTERFEROMETRY_MISSION__OBSERVATION_TIME = eINSTANCE.getInterferometryMission_ObservationTime(); | ||
1045 | |||
1046 | /** | ||
1047 | * The meta object literal for the '{@link satellite.impl.CommunicatingElementImpl <em>Communicating Element</em>}' class. | ||
1048 | * <!-- begin-user-doc --> | ||
1049 | * <!-- end-user-doc --> | ||
1050 | * @see satellite.impl.CommunicatingElementImpl | ||
1051 | * @see satellite.impl.SatellitePackageImpl#getCommunicatingElement() | ||
1052 | * @generated | ||
1053 | */ | ||
1054 | EClass COMMUNICATING_ELEMENT = eINSTANCE.getCommunicatingElement(); | ||
1055 | |||
1056 | /** | ||
1057 | * The meta object literal for the '<em><b>Comm Subsystem</b></em>' containment reference list feature. | ||
1058 | * <!-- begin-user-doc --> | ||
1059 | * <!-- end-user-doc --> | ||
1060 | * @generated | ||
1061 | */ | ||
1062 | EReference COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = eINSTANCE.getCommunicatingElement_CommSubsystem(); | ||
1063 | |||
1064 | /** | ||
1065 | * The meta object literal for the '{@link satellite.impl.GroundStationNetworkImpl <em>Ground Station Network</em>}' class. | ||
1066 | * <!-- begin-user-doc --> | ||
1067 | * <!-- end-user-doc --> | ||
1068 | * @see satellite.impl.GroundStationNetworkImpl | ||
1069 | * @see satellite.impl.SatellitePackageImpl#getGroundStationNetwork() | ||
1070 | * @generated | ||
1071 | */ | ||
1072 | EClass GROUND_STATION_NETWORK = eINSTANCE.getGroundStationNetwork(); | ||
1073 | |||
1074 | /** | ||
1075 | * The meta object literal for the '{@link satellite.impl.SpacecraftImpl <em>Spacecraft</em>}' class. | ||
1076 | * <!-- begin-user-doc --> | ||
1077 | * <!-- end-user-doc --> | ||
1078 | * @see satellite.impl.SpacecraftImpl | ||
1079 | * @see satellite.impl.SatellitePackageImpl#getSpacecraft() | ||
1080 | * @generated | ||
1081 | */ | ||
1082 | EClass SPACECRAFT = eINSTANCE.getSpacecraft(); | ||
1083 | |||
1084 | /** | ||
1085 | * The meta object literal for the '<em><b>Payload</b></em>' containment reference feature. | ||
1086 | * <!-- begin-user-doc --> | ||
1087 | * <!-- end-user-doc --> | ||
1088 | * @generated | ||
1089 | */ | ||
1090 | EReference SPACECRAFT__PAYLOAD = eINSTANCE.getSpacecraft_Payload(); | ||
1091 | |||
1092 | /** | ||
1093 | * The meta object literal for the '{@link satellite.impl.CommSubsystemImpl <em>Comm Subsystem</em>}' class. | ||
1094 | * <!-- begin-user-doc --> | ||
1095 | * <!-- end-user-doc --> | ||
1096 | * @see satellite.impl.CommSubsystemImpl | ||
1097 | * @see satellite.impl.SatellitePackageImpl#getCommSubsystem() | ||
1098 | * @generated | ||
1099 | */ | ||
1100 | EClass COMM_SUBSYSTEM = eINSTANCE.getCommSubsystem(); | ||
1101 | |||
1102 | /** | ||
1103 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * <!-- end-user-doc --> | ||
1106 | * @generated | ||
1107 | */ | ||
1108 | EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); | ||
1109 | |||
1110 | /** | ||
1111 | * The meta object literal for the '<em><b>Frequency</b></em>' attribute feature. | ||
1112 | * <!-- begin-user-doc --> | ||
1113 | * <!-- end-user-doc --> | ||
1114 | * @generated | ||
1115 | */ | ||
1116 | EAttribute COMM_SUBSYSTEM__FREQUENCY = eINSTANCE.getCommSubsystem_Frequency(); | ||
1117 | |||
1118 | /** | ||
1119 | * The meta object literal for the '<em><b>Path Length</b></em>' attribute feature. | ||
1120 | * <!-- begin-user-doc --> | ||
1121 | * <!-- end-user-doc --> | ||
1122 | * @generated | ||
1123 | */ | ||
1124 | EAttribute COMM_SUBSYSTEM__PATH_LENGTH = eINSTANCE.getCommSubsystem_PathLength(); | ||
1125 | |||
1126 | /** | ||
1127 | * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. | ||
1128 | * <!-- begin-user-doc --> | ||
1129 | * <!-- end-user-doc --> | ||
1130 | * @see satellite.impl.PayloadImpl | ||
1131 | * @see satellite.impl.SatellitePackageImpl#getPayload() | ||
1132 | * @generated | ||
1133 | */ | ||
1134 | EClass PAYLOAD = eINSTANCE.getPayload(); | ||
1135 | |||
1136 | /** | ||
1137 | * The meta object literal for the '{@link satellite.impl.InterferometryPayloadImpl <em>Interferometry Payload</em>}' class. | ||
1138 | * <!-- begin-user-doc --> | ||
1139 | * <!-- end-user-doc --> | ||
1140 | * @see satellite.impl.InterferometryPayloadImpl | ||
1141 | * @see satellite.impl.SatellitePackageImpl#getInterferometryPayload() | ||
1142 | * @generated | ||
1143 | */ | ||
1144 | EClass INTERFEROMETRY_PAYLOAD = eINSTANCE.getInterferometryPayload(); | ||
1145 | |||
1146 | /** | ||
1147 | * The meta object literal for the '{@link satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class. | ||
1148 | * <!-- begin-user-doc --> | ||
1149 | * <!-- end-user-doc --> | ||
1150 | * @see satellite.impl.CubeSat3UImpl | ||
1151 | * @see satellite.impl.SatellitePackageImpl#getCubeSat3U() | ||
1152 | * @generated | ||
1153 | */ | ||
1154 | EClass CUBE_SAT3_U = eINSTANCE.getCubeSat3U(); | ||
1155 | |||
1156 | /** | ||
1157 | * The meta object literal for the '{@link satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class. | ||
1158 | * <!-- begin-user-doc --> | ||
1159 | * <!-- end-user-doc --> | ||
1160 | * @see satellite.impl.CubeSat6UImpl | ||
1161 | * @see satellite.impl.SatellitePackageImpl#getCubeSat6U() | ||
1162 | * @generated | ||
1163 | */ | ||
1164 | EClass CUBE_SAT6_U = eINSTANCE.getCubeSat6U(); | ||
1165 | |||
1166 | /** | ||
1167 | * The meta object literal for the '{@link satellite.impl.SmallSatImpl <em>Small Sat</em>}' class. | ||
1168 | * <!-- begin-user-doc --> | ||
1169 | * <!-- end-user-doc --> | ||
1170 | * @see satellite.impl.SmallSatImpl | ||
1171 | * @see satellite.impl.SatellitePackageImpl#getSmallSat() | ||
1172 | * @generated | ||
1173 | */ | ||
1174 | EClass SMALL_SAT = eINSTANCE.getSmallSat(); | ||
1175 | |||
1176 | /** | ||
1177 | * The meta object literal for the '{@link satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class. | ||
1178 | * <!-- begin-user-doc --> | ||
1179 | * <!-- end-user-doc --> | ||
1180 | * @see satellite.impl.CubeSatImpl | ||
1181 | * @see satellite.impl.SatellitePackageImpl#getCubeSat() | ||
1182 | * @generated | ||
1183 | */ | ||
1184 | EClass CUBE_SAT = eINSTANCE.getCubeSat(); | ||
1185 | |||
1186 | /** | ||
1187 | * The meta object literal for the '{@link satellite.impl.UHFCommSubsystemImpl <em>UHF Comm Subsystem</em>}' class. | ||
1188 | * <!-- begin-user-doc --> | ||
1189 | * <!-- end-user-doc --> | ||
1190 | * @see satellite.impl.UHFCommSubsystemImpl | ||
1191 | * @see satellite.impl.SatellitePackageImpl#getUHFCommSubsystem() | ||
1192 | * @generated | ||
1193 | */ | ||
1194 | EClass UHF_COMM_SUBSYSTEM = eINSTANCE.getUHFCommSubsystem(); | ||
1195 | |||
1196 | /** | ||
1197 | * The meta object literal for the '{@link satellite.impl.XCommSubsystemImpl <em>XComm Subsystem</em>}' class. | ||
1198 | * <!-- begin-user-doc --> | ||
1199 | * <!-- end-user-doc --> | ||
1200 | * @see satellite.impl.XCommSubsystemImpl | ||
1201 | * @see satellite.impl.SatellitePackageImpl#getXCommSubsystem() | ||
1202 | * @generated | ||
1203 | */ | ||
1204 | EClass XCOMM_SUBSYSTEM = eINSTANCE.getXCommSubsystem(); | ||
1205 | |||
1206 | /** | ||
1207 | * The meta object literal for the '{@link satellite.impl.KaCommSubsystemImpl <em>Ka Comm Subsystem</em>}' class. | ||
1208 | * <!-- begin-user-doc --> | ||
1209 | * <!-- end-user-doc --> | ||
1210 | * @see satellite.impl.KaCommSubsystemImpl | ||
1211 | * @see satellite.impl.SatellitePackageImpl#getKaCommSubsystem() | ||
1212 | * @generated | ||
1213 | */ | ||
1214 | EClass KA_COMM_SUBSYSTEM = eINSTANCE.getKaCommSubsystem(); | ||
1215 | |||
1216 | } | ||
1217 | |||
1218 | } //SatellitePackage | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SmallSat.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SmallSat.java new file mode 100644 index 00000000..4925ff12 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/SmallSat.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Small Sat</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getSmallSat() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface SmallSat extends Spacecraft { | ||
17 | } // SmallSat | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/Spacecraft.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/Spacecraft.java new file mode 100644 index 00000000..4dd77329 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/Spacecraft.java | |||
@@ -0,0 +1,45 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Spacecraft</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link satellite.Spacecraft#getPayload <em>Payload</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see satellite.SatellitePackage#getSpacecraft() | ||
19 | * @model abstract="true" | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface Spacecraft extends CommunicatingElement { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Payload</b></em>' containment reference. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @return the value of the '<em>Payload</em>' containment reference. | ||
28 | * @see #setPayload(Payload) | ||
29 | * @see satellite.SatellitePackage#getSpacecraft_Payload() | ||
30 | * @model containment="true" | ||
31 | * @generated | ||
32 | */ | ||
33 | Payload getPayload(); | ||
34 | |||
35 | /** | ||
36 | * Sets the value of the '{@link satellite.Spacecraft#getPayload <em>Payload</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @param value the new value of the '<em>Payload</em>' containment reference. | ||
40 | * @see #getPayload() | ||
41 | * @generated | ||
42 | */ | ||
43 | void setPayload(Payload value); | ||
44 | |||
45 | } // Spacecraft | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/UHFCommSubsystem.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/UHFCommSubsystem.java new file mode 100644 index 00000000..01f95ad5 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/UHFCommSubsystem.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>UHF Comm Subsystem</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getUHFCommSubsystem() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface UHFCommSubsystem extends CommSubsystem { | ||
17 | } // UHFCommSubsystem | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/XCommSubsystem.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/XCommSubsystem.java new file mode 100644 index 00000000..8e388d38 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/XCommSubsystem.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>XComm Subsystem</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see satellite.SatellitePackage#getXCommSubsystem() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface XCommSubsystem extends CommSubsystem { | ||
17 | } // XCommSubsystem | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CommSubsystemImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CommSubsystemImpl.java new file mode 100644 index 00000000..564e9dcb --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CommSubsystemImpl.java | |||
@@ -0,0 +1,284 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.InternalEObject; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | import satellite.CommSubsystem; | ||
14 | import satellite.SatellitePackage; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Comm Subsystem</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li> | ||
25 | * <li>{@link satellite.impl.CommSubsystemImpl#getFrequency <em>Frequency</em>}</li> | ||
26 | * <li>{@link satellite.impl.CommSubsystemImpl#getPathLength <em>Path Length</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container implements CommSubsystem { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getTarget() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected CommSubsystem target; | ||
41 | |||
42 | /** | ||
43 | * The default value of the '{@link #getFrequency() <em>Frequency</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getFrequency() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected static final int FREQUENCY_EDEFAULT = 0; | ||
51 | |||
52 | /** | ||
53 | * The cached value of the '{@link #getFrequency() <em>Frequency</em>}' attribute. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getFrequency() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected int frequency = FREQUENCY_EDEFAULT; | ||
61 | |||
62 | /** | ||
63 | * The default value of the '{@link #getPathLength() <em>Path Length</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #getPathLength() | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | protected static final int PATH_LENGTH_EDEFAULT = 0; | ||
71 | |||
72 | /** | ||
73 | * The cached value of the '{@link #getPathLength() <em>Path Length</em>}' attribute. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #getPathLength() | ||
77 | * @generated | ||
78 | * @ordered | ||
79 | */ | ||
80 | protected int pathLength = PATH_LENGTH_EDEFAULT; | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | protected CommSubsystemImpl() { | ||
88 | super(); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | protected EClass eStaticClass() { | ||
98 | return SatellitePackage.Literals.COMM_SUBSYSTEM; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | @Override | ||
107 | public CommSubsystem getTarget() { | ||
108 | if (target != null && target.eIsProxy()) { | ||
109 | InternalEObject oldTarget = (InternalEObject)target; | ||
110 | target = (CommSubsystem)eResolveProxy(oldTarget); | ||
111 | if (target != oldTarget) { | ||
112 | if (eNotificationRequired()) | ||
113 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, target)); | ||
114 | } | ||
115 | } | ||
116 | return target; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | public CommSubsystem basicGetTarget() { | ||
125 | return target; | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public void setTarget(CommSubsystem newTarget) { | ||
135 | CommSubsystem oldTarget = target; | ||
136 | target = newTarget; | ||
137 | if (eNotificationRequired()) | ||
138 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, target)); | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @Override | ||
147 | public int getFrequency() { | ||
148 | return frequency; | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public void setFrequency(int newFrequency) { | ||
158 | int oldFrequency = frequency; | ||
159 | frequency = newFrequency; | ||
160 | if (eNotificationRequired()) | ||
161 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__FREQUENCY, oldFrequency, frequency)); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | @Override | ||
170 | public int getPathLength() { | ||
171 | return pathLength; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @Override | ||
180 | public void setPathLength(int newPathLength) { | ||
181 | int oldPathLength = pathLength; | ||
182 | pathLength = newPathLength; | ||
183 | if (eNotificationRequired()) | ||
184 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH, oldPathLength, pathLength)); | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
193 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
194 | switch (featureID) { | ||
195 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
196 | if (resolve) return getTarget(); | ||
197 | return basicGetTarget(); | ||
198 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
199 | return getFrequency(); | ||
200 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
201 | return getPathLength(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) { | ||
213 | switch (featureID) { | ||
214 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
215 | setTarget((CommSubsystem)newValue); | ||
216 | return; | ||
217 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
218 | setFrequency((Integer)newValue); | ||
219 | return; | ||
220 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
221 | setPathLength((Integer)newValue); | ||
222 | return; | ||
223 | } | ||
224 | super.eSet(featureID, newValue); | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | @Override | ||
233 | public void eUnset(int featureID) { | ||
234 | switch (featureID) { | ||
235 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
236 | setTarget((CommSubsystem)null); | ||
237 | return; | ||
238 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
239 | setFrequency(FREQUENCY_EDEFAULT); | ||
240 | return; | ||
241 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
242 | setPathLength(PATH_LENGTH_EDEFAULT); | ||
243 | return; | ||
244 | } | ||
245 | super.eUnset(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public boolean eIsSet(int featureID) { | ||
255 | switch (featureID) { | ||
256 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
257 | return target != null; | ||
258 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
259 | return frequency != FREQUENCY_EDEFAULT; | ||
260 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
261 | return pathLength != PATH_LENGTH_EDEFAULT; | ||
262 | } | ||
263 | return super.eIsSet(featureID); | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * <!-- begin-user-doc --> | ||
268 | * <!-- end-user-doc --> | ||
269 | * @generated | ||
270 | */ | ||
271 | @Override | ||
272 | public String toString() { | ||
273 | if (eIsProxy()) return super.toString(); | ||
274 | |||
275 | StringBuilder result = new StringBuilder(super.toString()); | ||
276 | result.append(" (frequency: "); | ||
277 | result.append(frequency); | ||
278 | result.append(", pathLength: "); | ||
279 | result.append(pathLength); | ||
280 | result.append(')'); | ||
281 | return result.toString(); | ||
282 | } | ||
283 | |||
284 | } //CommSubsystemImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CommunicatingElementImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CommunicatingElementImpl.java new file mode 100644 index 00000000..318f3ac0 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CommunicatingElementImpl.java | |||
@@ -0,0 +1,153 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import java.util.Collection; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.common.util.EList; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
15 | |||
16 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
17 | import org.eclipse.emf.ecore.util.InternalEList; | ||
18 | |||
19 | import satellite.CommSubsystem; | ||
20 | import satellite.CommunicatingElement; | ||
21 | import satellite.SatellitePackage; | ||
22 | |||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * An implementation of the model object '<em><b>Communicating Element</b></em>'. | ||
26 | * <!-- end-user-doc --> | ||
27 | * <p> | ||
28 | * The following features are implemented: | ||
29 | * </p> | ||
30 | * <ul> | ||
31 | * <li>{@link satellite.impl.CommunicatingElementImpl#getCommSubsystem <em>Comm Subsystem</em>}</li> | ||
32 | * </ul> | ||
33 | * | ||
34 | * @generated | ||
35 | */ | ||
36 | public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Container implements CommunicatingElement { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getCommSubsystem() <em>Comm Subsystem</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getCommSubsystem() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<CommSubsystem> commSubsystem; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected CommunicatingElementImpl() { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() { | ||
63 | return SatellitePackage.Literals.COMMUNICATING_ELEMENT; | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | public EList<CommSubsystem> getCommSubsystem() { | ||
73 | if (commSubsystem == null) { | ||
74 | commSubsystem = new EObjectContainmentEList<CommSubsystem>(CommSubsystem.class, this, SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); | ||
75 | } | ||
76 | return commSubsystem; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | @Override | ||
85 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
86 | switch (featureID) { | ||
87 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
88 | return ((InternalEList<?>)getCommSubsystem()).basicRemove(otherEnd, msgs); | ||
89 | } | ||
90 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
100 | switch (featureID) { | ||
101 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
102 | return getCommSubsystem(); | ||
103 | } | ||
104 | return super.eGet(featureID, resolve, coreType); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | @SuppressWarnings("unchecked") | ||
113 | @Override | ||
114 | public void eSet(int featureID, Object newValue) { | ||
115 | switch (featureID) { | ||
116 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
117 | getCommSubsystem().clear(); | ||
118 | getCommSubsystem().addAll((Collection<? extends CommSubsystem>)newValue); | ||
119 | return; | ||
120 | } | ||
121 | super.eSet(featureID, newValue); | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | @Override | ||
130 | public void eUnset(int featureID) { | ||
131 | switch (featureID) { | ||
132 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
133 | getCommSubsystem().clear(); | ||
134 | return; | ||
135 | } | ||
136 | super.eUnset(featureID); | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public boolean eIsSet(int featureID) { | ||
146 | switch (featureID) { | ||
147 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
148 | return commSubsystem != null && !commSubsystem.isEmpty(); | ||
149 | } | ||
150 | return super.eIsSet(featureID); | ||
151 | } | ||
152 | |||
153 | } //CommunicatingElementImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/ConstellationMissionImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/ConstellationMissionImpl.java new file mode 100644 index 00000000..3b70f35f --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/ConstellationMissionImpl.java | |||
@@ -0,0 +1,224 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import java.util.Collection; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Notification; | ||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | import satellite.ConstellationMission; | ||
22 | import satellite.GroundStationNetwork; | ||
23 | import satellite.SatellitePackage; | ||
24 | import satellite.Spacecraft; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>Constellation Mission</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link satellite.impl.ConstellationMissionImpl#getGroundStationNetwork <em>Ground Station Network</em>}</li> | ||
35 | * <li>{@link satellite.impl.ConstellationMissionImpl#getSpacecraft <em>Spacecraft</em>}</li> | ||
36 | * </ul> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public abstract class ConstellationMissionImpl extends MinimalEObjectImpl.Container implements ConstellationMission { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getGroundStationNetwork() <em>Ground Station Network</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getGroundStationNetwork() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected GroundStationNetwork groundStationNetwork; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getSpacecraft() <em>Spacecraft</em>}' containment reference list. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getSpacecraft() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected EList<Spacecraft> spacecraft; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected ConstellationMissionImpl() { | ||
67 | super(); | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | protected EClass eStaticClass() { | ||
77 | return SatellitePackage.Literals.CONSTELLATION_MISSION; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public GroundStationNetwork getGroundStationNetwork() { | ||
87 | return groundStationNetwork; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public NotificationChain basicSetGroundStationNetwork(GroundStationNetwork newGroundStationNetwork, NotificationChain msgs) { | ||
96 | GroundStationNetwork oldGroundStationNetwork = groundStationNetwork; | ||
97 | groundStationNetwork = newGroundStationNetwork; | ||
98 | if (eNotificationRequired()) { | ||
99 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, oldGroundStationNetwork, newGroundStationNetwork); | ||
100 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
101 | } | ||
102 | return msgs; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void setGroundStationNetwork(GroundStationNetwork newGroundStationNetwork) { | ||
112 | if (newGroundStationNetwork != groundStationNetwork) { | ||
113 | NotificationChain msgs = null; | ||
114 | if (groundStationNetwork != null) | ||
115 | msgs = ((InternalEObject)groundStationNetwork).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, null, msgs); | ||
116 | if (newGroundStationNetwork != null) | ||
117 | msgs = ((InternalEObject)newGroundStationNetwork).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, null, msgs); | ||
118 | msgs = basicSetGroundStationNetwork(newGroundStationNetwork, msgs); | ||
119 | if (msgs != null) msgs.dispatch(); | ||
120 | } | ||
121 | else if (eNotificationRequired()) | ||
122 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, newGroundStationNetwork, newGroundStationNetwork)); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @Override | ||
131 | public EList<Spacecraft> getSpacecraft() { | ||
132 | if (spacecraft == null) { | ||
133 | spacecraft = new EObjectContainmentEList<Spacecraft>(Spacecraft.class, this, SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT); | ||
134 | } | ||
135 | return spacecraft; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
145 | switch (featureID) { | ||
146 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
147 | return basicSetGroundStationNetwork(null, msgs); | ||
148 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
149 | return ((InternalEList<?>)getSpacecraft()).basicRemove(otherEnd, msgs); | ||
150 | } | ||
151 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
152 | } | ||
153 | |||
154 | /** | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | */ | ||
159 | @Override | ||
160 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
161 | switch (featureID) { | ||
162 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
163 | return getGroundStationNetwork(); | ||
164 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
165 | return getSpacecraft(); | ||
166 | } | ||
167 | return super.eGet(featureID, resolve, coreType); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @SuppressWarnings("unchecked") | ||
176 | @Override | ||
177 | public void eSet(int featureID, Object newValue) { | ||
178 | switch (featureID) { | ||
179 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
180 | setGroundStationNetwork((GroundStationNetwork)newValue); | ||
181 | return; | ||
182 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
183 | getSpacecraft().clear(); | ||
184 | getSpacecraft().addAll((Collection<? extends Spacecraft>)newValue); | ||
185 | return; | ||
186 | } | ||
187 | super.eSet(featureID, newValue); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eUnset(int featureID) { | ||
197 | switch (featureID) { | ||
198 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
199 | setGroundStationNetwork((GroundStationNetwork)null); | ||
200 | return; | ||
201 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
202 | getSpacecraft().clear(); | ||
203 | return; | ||
204 | } | ||
205 | super.eUnset(featureID); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | @Override | ||
214 | public boolean eIsSet(int featureID) { | ||
215 | switch (featureID) { | ||
216 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
217 | return groundStationNetwork != null; | ||
218 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
219 | return spacecraft != null && !spacecraft.isEmpty(); | ||
220 | } | ||
221 | return super.eIsSet(featureID); | ||
222 | } | ||
223 | |||
224 | } //ConstellationMissionImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSat3UImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSat3UImpl.java new file mode 100644 index 00000000..2b12336a --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSat3UImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.CubeSat3U; | ||
8 | import satellite.SatellitePackage; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat3 U</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class CubeSat3UImpl extends CubeSatImpl implements CubeSat3U { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSat3UImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT3_U; | ||
35 | } | ||
36 | |||
37 | } //CubeSat3UImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSat6UImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSat6UImpl.java new file mode 100644 index 00000000..e2490a39 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSat6UImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.CubeSat6U; | ||
8 | import satellite.SatellitePackage; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat6 U</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class CubeSat6UImpl extends CubeSatImpl implements CubeSat6U { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSat6UImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT6_U; | ||
35 | } | ||
36 | |||
37 | } //CubeSat6UImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSatImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSatImpl.java new file mode 100644 index 00000000..5ca34ee5 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/CubeSatImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.CubeSat; | ||
8 | import satellite.SatellitePackage; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class CubeSatImpl extends SpacecraftImpl implements CubeSat { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSatImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT; | ||
35 | } | ||
36 | |||
37 | } //CubeSatImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/GroundStationNetworkImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/GroundStationNetworkImpl.java new file mode 100644 index 00000000..3bb8604b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/GroundStationNetworkImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.GroundStationNetwork; | ||
8 | import satellite.SatellitePackage; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Ground Station Network</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class GroundStationNetworkImpl extends CommunicatingElementImpl implements GroundStationNetwork { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected GroundStationNetworkImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.GROUND_STATION_NETWORK; | ||
35 | } | ||
36 | |||
37 | } //GroundStationNetworkImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/InterferometryMissionImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/InterferometryMissionImpl.java new file mode 100644 index 00000000..e588be96 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/InterferometryMissionImpl.java | |||
@@ -0,0 +1,164 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | |||
9 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
10 | |||
11 | import satellite.InterferometryMission; | ||
12 | import satellite.SatellitePackage; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Interferometry Mission</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link satellite.impl.InterferometryMissionImpl#getObservationTime <em>Observation Time</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class InterferometryMissionImpl extends ConstellationMissionImpl implements InterferometryMission { | ||
28 | /** | ||
29 | * The default value of the '{@link #getObservationTime() <em>Observation Time</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getObservationTime() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final int OBSERVATION_TIME_EDEFAULT = 0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getObservationTime() <em>Observation Time</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getObservationTime() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected int observationTime = OBSERVATION_TIME_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected InterferometryMissionImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return SatellitePackage.Literals.INTERFEROMETRY_MISSION; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public int getObservationTime() { | ||
74 | return observationTime; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public void setObservationTime(int newObservationTime) { | ||
84 | int oldObservationTime = observationTime; | ||
85 | observationTime = newObservationTime; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME, oldObservationTime, observationTime)); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
99 | return getObservationTime(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eSet(int featureID, Object newValue) { | ||
111 | switch (featureID) { | ||
112 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
113 | setObservationTime((Integer)newValue); | ||
114 | return; | ||
115 | } | ||
116 | super.eSet(featureID, newValue); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void eUnset(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
128 | setObservationTime(OBSERVATION_TIME_EDEFAULT); | ||
129 | return; | ||
130 | } | ||
131 | super.eUnset(featureID); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public boolean eIsSet(int featureID) { | ||
141 | switch (featureID) { | ||
142 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
143 | return observationTime != OBSERVATION_TIME_EDEFAULT; | ||
144 | } | ||
145 | return super.eIsSet(featureID); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public String toString() { | ||
155 | if (eIsProxy()) return super.toString(); | ||
156 | |||
157 | StringBuilder result = new StringBuilder(super.toString()); | ||
158 | result.append(" (observationTime: "); | ||
159 | result.append(observationTime); | ||
160 | result.append(')'); | ||
161 | return result.toString(); | ||
162 | } | ||
163 | |||
164 | } //InterferometryMissionImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/InterferometryPayloadImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/InterferometryPayloadImpl.java new file mode 100644 index 00000000..2612e617 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/InterferometryPayloadImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.InterferometryPayload; | ||
8 | import satellite.SatellitePackage; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Interferometry Payload</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class InterferometryPayloadImpl extends PayloadImpl implements InterferometryPayload { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected InterferometryPayloadImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.INTERFEROMETRY_PAYLOAD; | ||
35 | } | ||
36 | |||
37 | } //InterferometryPayloadImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/KaCommSubsystemImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/KaCommSubsystemImpl.java new file mode 100644 index 00000000..da3338be --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/KaCommSubsystemImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.KaCommSubsystem; | ||
8 | import satellite.SatellitePackage; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Ka Comm Subsystem</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class KaCommSubsystemImpl extends CommSubsystemImpl implements KaCommSubsystem { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected KaCommSubsystemImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.KA_COMM_SUBSYSTEM; | ||
35 | } | ||
36 | |||
37 | } //KaCommSubsystemImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/PayloadImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/PayloadImpl.java new file mode 100644 index 00000000..5ec893e2 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/PayloadImpl.java | |||
@@ -0,0 +1,39 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
8 | |||
9 | import satellite.Payload; | ||
10 | import satellite.SatellitePackage; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>Payload</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public abstract class PayloadImpl extends MinimalEObjectImpl.Container implements Payload { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected PayloadImpl() { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() { | ||
36 | return SatellitePackage.Literals.PAYLOAD; | ||
37 | } | ||
38 | |||
39 | } //PayloadImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SatelliteFactoryImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SatelliteFactoryImpl.java new file mode 100644 index 00000000..8d9faa3c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SatelliteFactoryImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | |||
9 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
10 | |||
11 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
12 | |||
13 | import satellite.*; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFactory { | ||
22 | /** | ||
23 | * Creates the default factory implementation. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | public static SatelliteFactory init() { | ||
29 | try { | ||
30 | SatelliteFactory theSatelliteFactory = (SatelliteFactory)EPackage.Registry.INSTANCE.getEFactory(SatellitePackage.eNS_URI); | ||
31 | if (theSatelliteFactory != null) { | ||
32 | return theSatelliteFactory; | ||
33 | } | ||
34 | } | ||
35 | catch (Exception exception) { | ||
36 | EcorePlugin.INSTANCE.log(exception); | ||
37 | } | ||
38 | return new SatelliteFactoryImpl(); | ||
39 | } | ||
40 | |||
41 | /** | ||
42 | * Creates an instance of the factory. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | public SatelliteFactoryImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | public EObject create(EClass eClass) { | ||
58 | switch (eClass.getClassifierID()) { | ||
59 | case SatellitePackage.INTERFEROMETRY_MISSION: return createInterferometryMission(); | ||
60 | case SatellitePackage.GROUND_STATION_NETWORK: return createGroundStationNetwork(); | ||
61 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: return createInterferometryPayload(); | ||
62 | case SatellitePackage.CUBE_SAT3_U: return createCubeSat3U(); | ||
63 | case SatellitePackage.CUBE_SAT6_U: return createCubeSat6U(); | ||
64 | case SatellitePackage.SMALL_SAT: return createSmallSat(); | ||
65 | case SatellitePackage.UHF_COMM_SUBSYSTEM: return createUHFCommSubsystem(); | ||
66 | case SatellitePackage.XCOMM_SUBSYSTEM: return createXCommSubsystem(); | ||
67 | case SatellitePackage.KA_COMM_SUBSYSTEM: return createKaCommSubsystem(); | ||
68 | default: | ||
69 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
70 | } | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | public InterferometryMission createInterferometryMission() { | ||
80 | InterferometryMissionImpl interferometryMission = new InterferometryMissionImpl(); | ||
81 | return interferometryMission; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | @Override | ||
90 | public GroundStationNetwork createGroundStationNetwork() { | ||
91 | GroundStationNetworkImpl groundStationNetwork = new GroundStationNetworkImpl(); | ||
92 | return groundStationNetwork; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | @Override | ||
101 | public InterferometryPayload createInterferometryPayload() { | ||
102 | InterferometryPayloadImpl interferometryPayload = new InterferometryPayloadImpl(); | ||
103 | return interferometryPayload; | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public CubeSat3U createCubeSat3U() { | ||
113 | CubeSat3UImpl cubeSat3U = new CubeSat3UImpl(); | ||
114 | return cubeSat3U; | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public CubeSat6U createCubeSat6U() { | ||
124 | CubeSat6UImpl cubeSat6U = new CubeSat6UImpl(); | ||
125 | return cubeSat6U; | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public SmallSat createSmallSat() { | ||
135 | SmallSatImpl smallSat = new SmallSatImpl(); | ||
136 | return smallSat; | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public UHFCommSubsystem createUHFCommSubsystem() { | ||
146 | UHFCommSubsystemImpl uhfCommSubsystem = new UHFCommSubsystemImpl(); | ||
147 | return uhfCommSubsystem; | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public XCommSubsystem createXCommSubsystem() { | ||
157 | XCommSubsystemImpl xCommSubsystem = new XCommSubsystemImpl(); | ||
158 | return xCommSubsystem; | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public KaCommSubsystem createKaCommSubsystem() { | ||
168 | KaCommSubsystemImpl kaCommSubsystem = new KaCommSubsystemImpl(); | ||
169 | return kaCommSubsystem; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | @Override | ||
178 | public SatellitePackage getSatellitePackage() { | ||
179 | return (SatellitePackage)getEPackage(); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @deprecated | ||
186 | * @generated | ||
187 | */ | ||
188 | @Deprecated | ||
189 | public static SatellitePackage getPackage() { | ||
190 | return SatellitePackage.eINSTANCE; | ||
191 | } | ||
192 | |||
193 | } //SatelliteFactoryImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SatellitePackageImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SatellitePackageImpl.java new file mode 100644 index 00000000..d34429d2 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SatellitePackageImpl.java | |||
@@ -0,0 +1,584 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | import org.eclipse.emf.ecore.EReference; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
11 | |||
12 | import satellite.CommSubsystem; | ||
13 | import satellite.CommunicatingElement; | ||
14 | import satellite.ConstellationMission; | ||
15 | import satellite.CubeSat; | ||
16 | import satellite.CubeSat3U; | ||
17 | import satellite.CubeSat6U; | ||
18 | import satellite.GroundStationNetwork; | ||
19 | import satellite.InterferometryMission; | ||
20 | import satellite.InterferometryPayload; | ||
21 | import satellite.KaCommSubsystem; | ||
22 | import satellite.Payload; | ||
23 | import satellite.SatelliteFactory; | ||
24 | import satellite.SatellitePackage; | ||
25 | import satellite.SmallSat; | ||
26 | import satellite.Spacecraft; | ||
27 | import satellite.UHFCommSubsystem; | ||
28 | import satellite.XCommSubsystem; | ||
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 SatellitePackageImpl extends EPackageImpl implements SatellitePackage { | ||
37 | /** | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | private EClass constellationMissionEClass = null; | ||
43 | |||
44 | /** | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | private EClass interferometryMissionEClass = null; | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | private EClass communicatingElementEClass = null; | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | private EClass groundStationNetworkEClass = null; | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | private EClass spacecraftEClass = null; | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | private EClass commSubsystemEClass = null; | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | private EClass payloadEClass = null; | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | private EClass interferometryPayloadEClass = null; | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | private EClass cubeSat3UEClass = null; | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | private EClass cubeSat6UEClass = null; | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | private EClass smallSatEClass = null; | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | private EClass cubeSatEClass = null; | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | private EClass uhfCommSubsystemEClass = null; | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | private EClass xCommSubsystemEClass = null; | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | private EClass kaCommSubsystemEClass = null; | ||
141 | |||
142 | /** | ||
143 | * Creates an instance of the model <b>Package</b>, registered with | ||
144 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
145 | * package URI value. | ||
146 | * <p>Note: the correct way to create the package is via the static | ||
147 | * factory method {@link #init init()}, which also performs | ||
148 | * initialization of the package, or returns the registered package, | ||
149 | * if one already exists. | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
153 | * @see satellite.SatellitePackage#eNS_URI | ||
154 | * @see #init() | ||
155 | * @generated | ||
156 | */ | ||
157 | private SatellitePackageImpl() { | ||
158 | super(eNS_URI, SatelliteFactory.eINSTANCE); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | private static boolean isInited = false; | ||
167 | |||
168 | /** | ||
169 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
170 | * | ||
171 | * <p>This method is used to initialize {@link SatellitePackage#eINSTANCE} when that field is accessed. | ||
172 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @see #eNS_URI | ||
176 | * @see #createPackageContents() | ||
177 | * @see #initializePackageContents() | ||
178 | * @generated | ||
179 | */ | ||
180 | public static SatellitePackage init() { | ||
181 | if (isInited) return (SatellitePackage)EPackage.Registry.INSTANCE.getEPackage(SatellitePackage.eNS_URI); | ||
182 | |||
183 | // Obtain or create and register package | ||
184 | Object registeredSatellitePackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
185 | SatellitePackageImpl theSatellitePackage = registeredSatellitePackage instanceof SatellitePackageImpl ? (SatellitePackageImpl)registeredSatellitePackage : new SatellitePackageImpl(); | ||
186 | |||
187 | isInited = true; | ||
188 | |||
189 | // Create package meta-data objects | ||
190 | theSatellitePackage.createPackageContents(); | ||
191 | |||
192 | // Initialize created meta-data | ||
193 | theSatellitePackage.initializePackageContents(); | ||
194 | |||
195 | // Mark meta-data to indicate it can't be changed | ||
196 | theSatellitePackage.freeze(); | ||
197 | |||
198 | // Update the registry and return the package | ||
199 | EPackage.Registry.INSTANCE.put(SatellitePackage.eNS_URI, theSatellitePackage); | ||
200 | return theSatellitePackage; | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public EClass getConstellationMission() { | ||
210 | return constellationMissionEClass; | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | @Override | ||
219 | public EReference getConstellationMission_GroundStationNetwork() { | ||
220 | return (EReference)constellationMissionEClass.getEStructuralFeatures().get(0); | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public EReference getConstellationMission_Spacecraft() { | ||
230 | return (EReference)constellationMissionEClass.getEStructuralFeatures().get(1); | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @generated | ||
237 | */ | ||
238 | @Override | ||
239 | public EClass getInterferometryMission() { | ||
240 | return interferometryMissionEClass; | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | */ | ||
248 | @Override | ||
249 | public EAttribute getInterferometryMission_ObservationTime() { | ||
250 | return (EAttribute)interferometryMissionEClass.getEStructuralFeatures().get(0); | ||
251 | } | ||
252 | |||
253 | /** | ||
254 | * <!-- begin-user-doc --> | ||
255 | * <!-- end-user-doc --> | ||
256 | * @generated | ||
257 | */ | ||
258 | @Override | ||
259 | public EClass getCommunicatingElement() { | ||
260 | return communicatingElementEClass; | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | @Override | ||
269 | public EReference getCommunicatingElement_CommSubsystem() { | ||
270 | return (EReference)communicatingElementEClass.getEStructuralFeatures().get(0); | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | */ | ||
278 | @Override | ||
279 | public EClass getGroundStationNetwork() { | ||
280 | return groundStationNetworkEClass; | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | @Override | ||
289 | public EClass getSpacecraft() { | ||
290 | return spacecraftEClass; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | @Override | ||
299 | public EReference getSpacecraft_Payload() { | ||
300 | return (EReference)spacecraftEClass.getEStructuralFeatures().get(0); | ||
301 | } | ||
302 | |||
303 | /** | ||
304 | * <!-- begin-user-doc --> | ||
305 | * <!-- end-user-doc --> | ||
306 | * @generated | ||
307 | */ | ||
308 | @Override | ||
309 | public EClass getCommSubsystem() { | ||
310 | return commSubsystemEClass; | ||
311 | } | ||
312 | |||
313 | /** | ||
314 | * <!-- begin-user-doc --> | ||
315 | * <!-- end-user-doc --> | ||
316 | * @generated | ||
317 | */ | ||
318 | @Override | ||
319 | public EReference getCommSubsystem_Target() { | ||
320 | return (EReference)commSubsystemEClass.getEStructuralFeatures().get(0); | ||
321 | } | ||
322 | |||
323 | /** | ||
324 | * <!-- begin-user-doc --> | ||
325 | * <!-- end-user-doc --> | ||
326 | * @generated | ||
327 | */ | ||
328 | @Override | ||
329 | public EAttribute getCommSubsystem_Frequency() { | ||
330 | return (EAttribute)commSubsystemEClass.getEStructuralFeatures().get(1); | ||
331 | } | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | @Override | ||
339 | public EAttribute getCommSubsystem_PathLength() { | ||
340 | return (EAttribute)commSubsystemEClass.getEStructuralFeatures().get(2); | ||
341 | } | ||
342 | |||
343 | /** | ||
344 | * <!-- begin-user-doc --> | ||
345 | * <!-- end-user-doc --> | ||
346 | * @generated | ||
347 | */ | ||
348 | @Override | ||
349 | public EClass getPayload() { | ||
350 | return payloadEClass; | ||
351 | } | ||
352 | |||
353 | /** | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | */ | ||
358 | @Override | ||
359 | public EClass getInterferometryPayload() { | ||
360 | return interferometryPayloadEClass; | ||
361 | } | ||
362 | |||
363 | /** | ||
364 | * <!-- begin-user-doc --> | ||
365 | * <!-- end-user-doc --> | ||
366 | * @generated | ||
367 | */ | ||
368 | @Override | ||
369 | public EClass getCubeSat3U() { | ||
370 | return cubeSat3UEClass; | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * <!-- begin-user-doc --> | ||
375 | * <!-- end-user-doc --> | ||
376 | * @generated | ||
377 | */ | ||
378 | @Override | ||
379 | public EClass getCubeSat6U() { | ||
380 | return cubeSat6UEClass; | ||
381 | } | ||
382 | |||
383 | /** | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | @Override | ||
389 | public EClass getSmallSat() { | ||
390 | return smallSatEClass; | ||
391 | } | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | @Override | ||
399 | public EClass getCubeSat() { | ||
400 | return cubeSatEClass; | ||
401 | } | ||
402 | |||
403 | /** | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @generated | ||
407 | */ | ||
408 | @Override | ||
409 | public EClass getUHFCommSubsystem() { | ||
410 | return uhfCommSubsystemEClass; | ||
411 | } | ||
412 | |||
413 | /** | ||
414 | * <!-- begin-user-doc --> | ||
415 | * <!-- end-user-doc --> | ||
416 | * @generated | ||
417 | */ | ||
418 | @Override | ||
419 | public EClass getXCommSubsystem() { | ||
420 | return xCommSubsystemEClass; | ||
421 | } | ||
422 | |||
423 | /** | ||
424 | * <!-- begin-user-doc --> | ||
425 | * <!-- end-user-doc --> | ||
426 | * @generated | ||
427 | */ | ||
428 | @Override | ||
429 | public EClass getKaCommSubsystem() { | ||
430 | return kaCommSubsystemEClass; | ||
431 | } | ||
432 | |||
433 | /** | ||
434 | * <!-- begin-user-doc --> | ||
435 | * <!-- end-user-doc --> | ||
436 | * @generated | ||
437 | */ | ||
438 | @Override | ||
439 | public SatelliteFactory getSatelliteFactory() { | ||
440 | return (SatelliteFactory)getEFactoryInstance(); | ||
441 | } | ||
442 | |||
443 | /** | ||
444 | * <!-- begin-user-doc --> | ||
445 | * <!-- end-user-doc --> | ||
446 | * @generated | ||
447 | */ | ||
448 | private boolean isCreated = false; | ||
449 | |||
450 | /** | ||
451 | * Creates the meta-model objects for the package. This method is | ||
452 | * guarded to have no affect on any invocation but its first. | ||
453 | * <!-- begin-user-doc --> | ||
454 | * <!-- end-user-doc --> | ||
455 | * @generated | ||
456 | */ | ||
457 | public void createPackageContents() { | ||
458 | if (isCreated) return; | ||
459 | isCreated = true; | ||
460 | |||
461 | // Create classes and their features | ||
462 | constellationMissionEClass = createEClass(CONSTELLATION_MISSION); | ||
463 | createEReference(constellationMissionEClass, CONSTELLATION_MISSION__GROUND_STATION_NETWORK); | ||
464 | createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT); | ||
465 | |||
466 | interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION); | ||
467 | createEAttribute(interferometryMissionEClass, INTERFEROMETRY_MISSION__OBSERVATION_TIME); | ||
468 | |||
469 | communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); | ||
470 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); | ||
471 | |||
472 | groundStationNetworkEClass = createEClass(GROUND_STATION_NETWORK); | ||
473 | |||
474 | spacecraftEClass = createEClass(SPACECRAFT); | ||
475 | createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD); | ||
476 | |||
477 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); | ||
478 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); | ||
479 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__FREQUENCY); | ||
480 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__PATH_LENGTH); | ||
481 | |||
482 | payloadEClass = createEClass(PAYLOAD); | ||
483 | |||
484 | interferometryPayloadEClass = createEClass(INTERFEROMETRY_PAYLOAD); | ||
485 | |||
486 | cubeSat3UEClass = createEClass(CUBE_SAT3_U); | ||
487 | |||
488 | cubeSat6UEClass = createEClass(CUBE_SAT6_U); | ||
489 | |||
490 | smallSatEClass = createEClass(SMALL_SAT); | ||
491 | |||
492 | cubeSatEClass = createEClass(CUBE_SAT); | ||
493 | |||
494 | uhfCommSubsystemEClass = createEClass(UHF_COMM_SUBSYSTEM); | ||
495 | |||
496 | xCommSubsystemEClass = createEClass(XCOMM_SUBSYSTEM); | ||
497 | |||
498 | kaCommSubsystemEClass = createEClass(KA_COMM_SUBSYSTEM); | ||
499 | } | ||
500 | |||
501 | /** | ||
502 | * <!-- begin-user-doc --> | ||
503 | * <!-- end-user-doc --> | ||
504 | * @generated | ||
505 | */ | ||
506 | private boolean isInitialized = false; | ||
507 | |||
508 | /** | ||
509 | * Complete the initialization of the package and its meta-model. This | ||
510 | * method is guarded to have no affect on any invocation but its first. | ||
511 | * <!-- begin-user-doc --> | ||
512 | * <!-- end-user-doc --> | ||
513 | * @generated | ||
514 | */ | ||
515 | public void initializePackageContents() { | ||
516 | if (isInitialized) return; | ||
517 | isInitialized = true; | ||
518 | |||
519 | // Initialize package | ||
520 | setName(eNAME); | ||
521 | setNsPrefix(eNS_PREFIX); | ||
522 | setNsURI(eNS_URI); | ||
523 | |||
524 | // Create type parameters | ||
525 | |||
526 | // Set bounds for type parameters | ||
527 | |||
528 | // Add supertypes to classes | ||
529 | interferometryMissionEClass.getESuperTypes().add(this.getConstellationMission()); | ||
530 | groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); | ||
531 | spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); | ||
532 | interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); | ||
533 | cubeSat3UEClass.getESuperTypes().add(this.getCubeSat()); | ||
534 | cubeSat6UEClass.getESuperTypes().add(this.getCubeSat()); | ||
535 | smallSatEClass.getESuperTypes().add(this.getSpacecraft()); | ||
536 | cubeSatEClass.getESuperTypes().add(this.getSpacecraft()); | ||
537 | uhfCommSubsystemEClass.getESuperTypes().add(this.getCommSubsystem()); | ||
538 | xCommSubsystemEClass.getESuperTypes().add(this.getCommSubsystem()); | ||
539 | kaCommSubsystemEClass.getESuperTypes().add(this.getCommSubsystem()); | ||
540 | |||
541 | // Initialize classes, features, and operations; add parameters | ||
542 | initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
543 | initEReference(getConstellationMission_GroundStationNetwork(), this.getGroundStationNetwork(), null, "groundStationNetwork", null, 1, 1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
544 | initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, -1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
545 | |||
546 | initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
547 | initEAttribute(getInterferometryMission_ObservationTime(), ecorePackage.getEInt(), "observationTime", null, 1, 1, InterferometryMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
548 | |||
549 | initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
550 | initEReference(getCommunicatingElement_CommSubsystem(), this.getCommSubsystem(), null, "commSubsystem", null, 1, 2, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
551 | |||
552 | initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
553 | |||
554 | initEClass(spacecraftEClass, Spacecraft.class, "Spacecraft", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
555 | initEReference(getSpacecraft_Payload(), this.getPayload(), null, "payload", null, 0, 1, Spacecraft.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
556 | |||
557 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
558 | initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
559 | initEAttribute(getCommSubsystem_Frequency(), ecorePackage.getEInt(), "frequency", null, 1, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
560 | initEAttribute(getCommSubsystem_PathLength(), ecorePackage.getEInt(), "pathLength", null, 1, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
561 | |||
562 | initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
563 | |||
564 | initEClass(interferometryPayloadEClass, InterferometryPayload.class, "InterferometryPayload", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
565 | |||
566 | initEClass(cubeSat3UEClass, CubeSat3U.class, "CubeSat3U", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
567 | |||
568 | initEClass(cubeSat6UEClass, CubeSat6U.class, "CubeSat6U", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
569 | |||
570 | initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
571 | |||
572 | initEClass(cubeSatEClass, CubeSat.class, "CubeSat", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
573 | |||
574 | initEClass(uhfCommSubsystemEClass, UHFCommSubsystem.class, "UHFCommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
575 | |||
576 | initEClass(xCommSubsystemEClass, XCommSubsystem.class, "XCommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
577 | |||
578 | initEClass(kaCommSubsystemEClass, KaCommSubsystem.class, "KaCommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
579 | |||
580 | // Create resource | ||
581 | createResource(eNS_URI); | ||
582 | } | ||
583 | |||
584 | } //SatellitePackageImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SmallSatImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SmallSatImpl.java new file mode 100644 index 00000000..504df64c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SmallSatImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.SatellitePackage; | ||
8 | import satellite.SmallSat; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Small Sat</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class SmallSatImpl extends SpacecraftImpl implements SmallSat { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected SmallSatImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.SMALL_SAT; | ||
35 | } | ||
36 | |||
37 | } //SmallSatImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SpacecraftImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SpacecraftImpl.java new file mode 100644 index 00000000..c7dff706 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/SpacecraftImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | import org.eclipse.emf.common.notify.NotificationChain; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import satellite.Payload; | ||
14 | import satellite.SatellitePackage; | ||
15 | import satellite.Spacecraft; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Spacecraft</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link satellite.impl.SpacecraftImpl#getPayload <em>Payload</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public abstract class SpacecraftImpl extends CommunicatingElementImpl implements Spacecraft { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getPayload() <em>Payload</em>}' containment reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getPayload() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected Payload payload; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected SpacecraftImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return SatellitePackage.Literals.SPACECRAFT; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public Payload getPayload() { | ||
67 | return payload; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public NotificationChain basicSetPayload(Payload newPayload, NotificationChain msgs) { | ||
76 | Payload oldPayload = payload; | ||
77 | payload = newPayload; | ||
78 | if (eNotificationRequired()) { | ||
79 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SatellitePackage.SPACECRAFT__PAYLOAD, oldPayload, newPayload); | ||
80 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
81 | } | ||
82 | return msgs; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | @Override | ||
91 | public void setPayload(Payload newPayload) { | ||
92 | if (newPayload != payload) { | ||
93 | NotificationChain msgs = null; | ||
94 | if (payload != null) | ||
95 | msgs = ((InternalEObject)payload).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SatellitePackage.SPACECRAFT__PAYLOAD, null, msgs); | ||
96 | if (newPayload != null) | ||
97 | msgs = ((InternalEObject)newPayload).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SatellitePackage.SPACECRAFT__PAYLOAD, null, msgs); | ||
98 | msgs = basicSetPayload(newPayload, msgs); | ||
99 | if (msgs != null) msgs.dispatch(); | ||
100 | } | ||
101 | else if (eNotificationRequired()) | ||
102 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.SPACECRAFT__PAYLOAD, newPayload, newPayload)); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
112 | switch (featureID) { | ||
113 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
114 | return basicSetPayload(null, msgs); | ||
115 | } | ||
116 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
126 | switch (featureID) { | ||
127 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
128 | return getPayload(); | ||
129 | } | ||
130 | return super.eGet(featureID, resolve, coreType); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eSet(int featureID, Object newValue) { | ||
140 | switch (featureID) { | ||
141 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
142 | setPayload((Payload)newValue); | ||
143 | return; | ||
144 | } | ||
145 | super.eSet(featureID, newValue); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public void eUnset(int featureID) { | ||
155 | switch (featureID) { | ||
156 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
157 | setPayload((Payload)null); | ||
158 | return; | ||
159 | } | ||
160 | super.eUnset(featureID); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public boolean eIsSet(int featureID) { | ||
170 | switch (featureID) { | ||
171 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
172 | return payload != null; | ||
173 | } | ||
174 | return super.eIsSet(featureID); | ||
175 | } | ||
176 | |||
177 | } //SpacecraftImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/UHFCommSubsystemImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/UHFCommSubsystemImpl.java new file mode 100644 index 00000000..cc2fe056 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/UHFCommSubsystemImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.SatellitePackage; | ||
8 | import satellite.UHFCommSubsystem; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>UHF Comm Subsystem</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class UHFCommSubsystemImpl extends CommSubsystemImpl implements UHFCommSubsystem { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected UHFCommSubsystemImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.UHF_COMM_SUBSYSTEM; | ||
35 | } | ||
36 | |||
37 | } //UHFCommSubsystemImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/XCommSubsystemImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/XCommSubsystemImpl.java new file mode 100644 index 00000000..df9a491f --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/impl/XCommSubsystemImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.SatellitePackage; | ||
8 | import satellite.XCommSubsystem; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>XComm Subsystem</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class XCommSubsystemImpl extends CommSubsystemImpl implements XCommSubsystem { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected XCommSubsystemImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.XCOMM_SUBSYSTEM; | ||
35 | } | ||
36 | |||
37 | } //XCommSubsystemImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/util/SatelliteAdapterFactory.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/util/SatelliteAdapterFactory.java new file mode 100644 index 00000000..1e06efde --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/util/SatelliteAdapterFactory.java | |||
@@ -0,0 +1,372 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.util; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Adapter; | ||
6 | import org.eclipse.emf.common.notify.Notifier; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EObject; | ||
11 | |||
12 | import satellite.*; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see satellite.SatellitePackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class SatelliteAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static SatellitePackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public SatelliteAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = SatellitePackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected SatelliteSwitch<Adapter> modelSwitch = | ||
69 | new SatelliteSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseConstellationMission(ConstellationMission object) { | ||
72 | return createConstellationMissionAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseInterferometryMission(InterferometryMission object) { | ||
76 | return createInterferometryMissionAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseCommunicatingElement(CommunicatingElement object) { | ||
80 | return createCommunicatingElementAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseGroundStationNetwork(GroundStationNetwork object) { | ||
84 | return createGroundStationNetworkAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseSpacecraft(Spacecraft object) { | ||
88 | return createSpacecraftAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseCommSubsystem(CommSubsystem object) { | ||
92 | return createCommSubsystemAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter casePayload(Payload object) { | ||
96 | return createPayloadAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseInterferometryPayload(InterferometryPayload object) { | ||
100 | return createInterferometryPayloadAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseCubeSat3U(CubeSat3U object) { | ||
104 | return createCubeSat3UAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseCubeSat6U(CubeSat6U object) { | ||
108 | return createCubeSat6UAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter caseSmallSat(SmallSat object) { | ||
112 | return createSmallSatAdapter(); | ||
113 | } | ||
114 | @Override | ||
115 | public Adapter caseCubeSat(CubeSat object) { | ||
116 | return createCubeSatAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseUHFCommSubsystem(UHFCommSubsystem object) { | ||
120 | return createUHFCommSubsystemAdapter(); | ||
121 | } | ||
122 | @Override | ||
123 | public Adapter caseXCommSubsystem(XCommSubsystem object) { | ||
124 | return createXCommSubsystemAdapter(); | ||
125 | } | ||
126 | @Override | ||
127 | public Adapter caseKaCommSubsystem(KaCommSubsystem object) { | ||
128 | return createKaCommSubsystemAdapter(); | ||
129 | } | ||
130 | @Override | ||
131 | public Adapter defaultCase(EObject object) { | ||
132 | return createEObjectAdapter(); | ||
133 | } | ||
134 | }; | ||
135 | |||
136 | /** | ||
137 | * Creates an adapter for the <code>target</code>. | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @param target the object to adapt. | ||
141 | * @return the adapter for the <code>target</code>. | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public Adapter createAdapter(Notifier target) { | ||
146 | return modelSwitch.doSwitch((EObject)target); | ||
147 | } | ||
148 | |||
149 | |||
150 | /** | ||
151 | * Creates a new adapter for an object of class '{@link satellite.ConstellationMission <em>Constellation Mission</em>}'. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * This default implementation returns null so that we can easily ignore cases; | ||
154 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
155 | * <!-- end-user-doc --> | ||
156 | * @return the new adapter. | ||
157 | * @see satellite.ConstellationMission | ||
158 | * @generated | ||
159 | */ | ||
160 | public Adapter createConstellationMissionAdapter() { | ||
161 | return null; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * Creates a new adapter for an object of class '{@link satellite.InterferometryMission <em>Interferometry Mission</em>}'. | ||
166 | * <!-- begin-user-doc --> | ||
167 | * This default implementation returns null so that we can easily ignore cases; | ||
168 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
169 | * <!-- end-user-doc --> | ||
170 | * @return the new adapter. | ||
171 | * @see satellite.InterferometryMission | ||
172 | * @generated | ||
173 | */ | ||
174 | public Adapter createInterferometryMissionAdapter() { | ||
175 | return null; | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * Creates a new adapter for an object of class '{@link satellite.CommunicatingElement <em>Communicating Element</em>}'. | ||
180 | * <!-- begin-user-doc --> | ||
181 | * This default implementation returns null so that we can easily ignore cases; | ||
182 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
183 | * <!-- end-user-doc --> | ||
184 | * @return the new adapter. | ||
185 | * @see satellite.CommunicatingElement | ||
186 | * @generated | ||
187 | */ | ||
188 | public Adapter createCommunicatingElementAdapter() { | ||
189 | return null; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * Creates a new adapter for an object of class '{@link satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | ||
194 | * <!-- begin-user-doc --> | ||
195 | * This default implementation returns null so that we can easily ignore cases; | ||
196 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
197 | * <!-- end-user-doc --> | ||
198 | * @return the new adapter. | ||
199 | * @see satellite.GroundStationNetwork | ||
200 | * @generated | ||
201 | */ | ||
202 | public Adapter createGroundStationNetworkAdapter() { | ||
203 | return null; | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * Creates a new adapter for an object of class '{@link satellite.Spacecraft <em>Spacecraft</em>}'. | ||
208 | * <!-- begin-user-doc --> | ||
209 | * This default implementation returns null so that we can easily ignore cases; | ||
210 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
211 | * <!-- end-user-doc --> | ||
212 | * @return the new adapter. | ||
213 | * @see satellite.Spacecraft | ||
214 | * @generated | ||
215 | */ | ||
216 | public Adapter createSpacecraftAdapter() { | ||
217 | return null; | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * Creates a new adapter for an object of class '{@link satellite.CommSubsystem <em>Comm Subsystem</em>}'. | ||
222 | * <!-- begin-user-doc --> | ||
223 | * This default implementation returns null so that we can easily ignore cases; | ||
224 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
225 | * <!-- end-user-doc --> | ||
226 | * @return the new adapter. | ||
227 | * @see satellite.CommSubsystem | ||
228 | * @generated | ||
229 | */ | ||
230 | public Adapter createCommSubsystemAdapter() { | ||
231 | return null; | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * Creates a new adapter for an object of class '{@link satellite.Payload <em>Payload</em>}'. | ||
236 | * <!-- begin-user-doc --> | ||
237 | * This default implementation returns null so that we can easily ignore cases; | ||
238 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
239 | * <!-- end-user-doc --> | ||
240 | * @return the new adapter. | ||
241 | * @see satellite.Payload | ||
242 | * @generated | ||
243 | */ | ||
244 | public Adapter createPayloadAdapter() { | ||
245 | return null; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * Creates a new adapter for an object of class '{@link satellite.InterferometryPayload <em>Interferometry Payload</em>}'. | ||
250 | * <!-- begin-user-doc --> | ||
251 | * This default implementation returns null so that we can easily ignore cases; | ||
252 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
253 | * <!-- end-user-doc --> | ||
254 | * @return the new adapter. | ||
255 | * @see satellite.InterferometryPayload | ||
256 | * @generated | ||
257 | */ | ||
258 | public Adapter createInterferometryPayloadAdapter() { | ||
259 | return null; | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * Creates a new adapter for an object of class '{@link satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * This default implementation returns null so that we can easily ignore cases; | ||
266 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
267 | * <!-- end-user-doc --> | ||
268 | * @return the new adapter. | ||
269 | * @see satellite.CubeSat3U | ||
270 | * @generated | ||
271 | */ | ||
272 | public Adapter createCubeSat3UAdapter() { | ||
273 | return null; | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * Creates a new adapter for an object of class '{@link satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
278 | * <!-- begin-user-doc --> | ||
279 | * This default implementation returns null so that we can easily ignore cases; | ||
280 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
281 | * <!-- end-user-doc --> | ||
282 | * @return the new adapter. | ||
283 | * @see satellite.CubeSat6U | ||
284 | * @generated | ||
285 | */ | ||
286 | public Adapter createCubeSat6UAdapter() { | ||
287 | return null; | ||
288 | } | ||
289 | |||
290 | /** | ||
291 | * Creates a new adapter for an object of class '{@link satellite.SmallSat <em>Small Sat</em>}'. | ||
292 | * <!-- begin-user-doc --> | ||
293 | * This default implementation returns null so that we can easily ignore cases; | ||
294 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
295 | * <!-- end-user-doc --> | ||
296 | * @return the new adapter. | ||
297 | * @see satellite.SmallSat | ||
298 | * @generated | ||
299 | */ | ||
300 | public Adapter createSmallSatAdapter() { | ||
301 | return null; | ||
302 | } | ||
303 | |||
304 | /** | ||
305 | * Creates a new adapter for an object of class '{@link satellite.CubeSat <em>Cube Sat</em>}'. | ||
306 | * <!-- begin-user-doc --> | ||
307 | * This default implementation returns null so that we can easily ignore cases; | ||
308 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
309 | * <!-- end-user-doc --> | ||
310 | * @return the new adapter. | ||
311 | * @see satellite.CubeSat | ||
312 | * @generated | ||
313 | */ | ||
314 | public Adapter createCubeSatAdapter() { | ||
315 | return null; | ||
316 | } | ||
317 | |||
318 | /** | ||
319 | * Creates a new adapter for an object of class '{@link satellite.UHFCommSubsystem <em>UHF Comm Subsystem</em>}'. | ||
320 | * <!-- begin-user-doc --> | ||
321 | * This default implementation returns null so that we can easily ignore cases; | ||
322 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
323 | * <!-- end-user-doc --> | ||
324 | * @return the new adapter. | ||
325 | * @see satellite.UHFCommSubsystem | ||
326 | * @generated | ||
327 | */ | ||
328 | public Adapter createUHFCommSubsystemAdapter() { | ||
329 | return null; | ||
330 | } | ||
331 | |||
332 | /** | ||
333 | * Creates a new adapter for an object of class '{@link satellite.XCommSubsystem <em>XComm Subsystem</em>}'. | ||
334 | * <!-- begin-user-doc --> | ||
335 | * This default implementation returns null so that we can easily ignore cases; | ||
336 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
337 | * <!-- end-user-doc --> | ||
338 | * @return the new adapter. | ||
339 | * @see satellite.XCommSubsystem | ||
340 | * @generated | ||
341 | */ | ||
342 | public Adapter createXCommSubsystemAdapter() { | ||
343 | return null; | ||
344 | } | ||
345 | |||
346 | /** | ||
347 | * Creates a new adapter for an object of class '{@link satellite.KaCommSubsystem <em>Ka Comm Subsystem</em>}'. | ||
348 | * <!-- begin-user-doc --> | ||
349 | * This default implementation returns null so that we can easily ignore cases; | ||
350 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
351 | * <!-- end-user-doc --> | ||
352 | * @return the new adapter. | ||
353 | * @see satellite.KaCommSubsystem | ||
354 | * @generated | ||
355 | */ | ||
356 | public Adapter createKaCommSubsystemAdapter() { | ||
357 | return null; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * Creates a new adapter for the default case. | ||
362 | * <!-- begin-user-doc --> | ||
363 | * This default implementation returns null. | ||
364 | * <!-- end-user-doc --> | ||
365 | * @return the new adapter. | ||
366 | * @generated | ||
367 | */ | ||
368 | public Adapter createEObjectAdapter() { | ||
369 | return null; | ||
370 | } | ||
371 | |||
372 | } //SatelliteAdapterFactory | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/util/SatelliteSwitch.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/util/SatelliteSwitch.java new file mode 100644 index 00000000..a380d3f6 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/satellite/util/SatelliteSwitch.java | |||
@@ -0,0 +1,421 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.util; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.util.Switch; | ||
9 | |||
10 | import satellite.*; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see satellite.SatellitePackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class SatelliteSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static SatellitePackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public SatelliteSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = SatellitePackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case SatellitePackage.CONSTELLATION_MISSION: { | ||
70 | ConstellationMission constellationMission = (ConstellationMission)theEObject; | ||
71 | T result = caseConstellationMission(constellationMission); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case SatellitePackage.INTERFEROMETRY_MISSION: { | ||
76 | InterferometryMission interferometryMission = (InterferometryMission)theEObject; | ||
77 | T result = caseInterferometryMission(interferometryMission); | ||
78 | if (result == null) result = caseConstellationMission(interferometryMission); | ||
79 | if (result == null) result = defaultCase(theEObject); | ||
80 | return result; | ||
81 | } | ||
82 | case SatellitePackage.COMMUNICATING_ELEMENT: { | ||
83 | CommunicatingElement communicatingElement = (CommunicatingElement)theEObject; | ||
84 | T result = caseCommunicatingElement(communicatingElement); | ||
85 | if (result == null) result = defaultCase(theEObject); | ||
86 | return result; | ||
87 | } | ||
88 | case SatellitePackage.GROUND_STATION_NETWORK: { | ||
89 | GroundStationNetwork groundStationNetwork = (GroundStationNetwork)theEObject; | ||
90 | T result = caseGroundStationNetwork(groundStationNetwork); | ||
91 | if (result == null) result = caseCommunicatingElement(groundStationNetwork); | ||
92 | if (result == null) result = defaultCase(theEObject); | ||
93 | return result; | ||
94 | } | ||
95 | case SatellitePackage.SPACECRAFT: { | ||
96 | Spacecraft spacecraft = (Spacecraft)theEObject; | ||
97 | T result = caseSpacecraft(spacecraft); | ||
98 | if (result == null) result = caseCommunicatingElement(spacecraft); | ||
99 | if (result == null) result = defaultCase(theEObject); | ||
100 | return result; | ||
101 | } | ||
102 | case SatellitePackage.COMM_SUBSYSTEM: { | ||
103 | CommSubsystem commSubsystem = (CommSubsystem)theEObject; | ||
104 | T result = caseCommSubsystem(commSubsystem); | ||
105 | if (result == null) result = defaultCase(theEObject); | ||
106 | return result; | ||
107 | } | ||
108 | case SatellitePackage.PAYLOAD: { | ||
109 | Payload payload = (Payload)theEObject; | ||
110 | T result = casePayload(payload); | ||
111 | if (result == null) result = defaultCase(theEObject); | ||
112 | return result; | ||
113 | } | ||
114 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: { | ||
115 | InterferometryPayload interferometryPayload = (InterferometryPayload)theEObject; | ||
116 | T result = caseInterferometryPayload(interferometryPayload); | ||
117 | if (result == null) result = casePayload(interferometryPayload); | ||
118 | if (result == null) result = defaultCase(theEObject); | ||
119 | return result; | ||
120 | } | ||
121 | case SatellitePackage.CUBE_SAT3_U: { | ||
122 | CubeSat3U cubeSat3U = (CubeSat3U)theEObject; | ||
123 | T result = caseCubeSat3U(cubeSat3U); | ||
124 | if (result == null) result = caseCubeSat(cubeSat3U); | ||
125 | if (result == null) result = caseSpacecraft(cubeSat3U); | ||
126 | if (result == null) result = caseCommunicatingElement(cubeSat3U); | ||
127 | if (result == null) result = defaultCase(theEObject); | ||
128 | return result; | ||
129 | } | ||
130 | case SatellitePackage.CUBE_SAT6_U: { | ||
131 | CubeSat6U cubeSat6U = (CubeSat6U)theEObject; | ||
132 | T result = caseCubeSat6U(cubeSat6U); | ||
133 | if (result == null) result = caseCubeSat(cubeSat6U); | ||
134 | if (result == null) result = caseSpacecraft(cubeSat6U); | ||
135 | if (result == null) result = caseCommunicatingElement(cubeSat6U); | ||
136 | if (result == null) result = defaultCase(theEObject); | ||
137 | return result; | ||
138 | } | ||
139 | case SatellitePackage.SMALL_SAT: { | ||
140 | SmallSat smallSat = (SmallSat)theEObject; | ||
141 | T result = caseSmallSat(smallSat); | ||
142 | if (result == null) result = caseSpacecraft(smallSat); | ||
143 | if (result == null) result = caseCommunicatingElement(smallSat); | ||
144 | if (result == null) result = defaultCase(theEObject); | ||
145 | return result; | ||
146 | } | ||
147 | case SatellitePackage.CUBE_SAT: { | ||
148 | CubeSat cubeSat = (CubeSat)theEObject; | ||
149 | T result = caseCubeSat(cubeSat); | ||
150 | if (result == null) result = caseSpacecraft(cubeSat); | ||
151 | if (result == null) result = caseCommunicatingElement(cubeSat); | ||
152 | if (result == null) result = defaultCase(theEObject); | ||
153 | return result; | ||
154 | } | ||
155 | case SatellitePackage.UHF_COMM_SUBSYSTEM: { | ||
156 | UHFCommSubsystem uhfCommSubsystem = (UHFCommSubsystem)theEObject; | ||
157 | T result = caseUHFCommSubsystem(uhfCommSubsystem); | ||
158 | if (result == null) result = caseCommSubsystem(uhfCommSubsystem); | ||
159 | if (result == null) result = defaultCase(theEObject); | ||
160 | return result; | ||
161 | } | ||
162 | case SatellitePackage.XCOMM_SUBSYSTEM: { | ||
163 | XCommSubsystem xCommSubsystem = (XCommSubsystem)theEObject; | ||
164 | T result = caseXCommSubsystem(xCommSubsystem); | ||
165 | if (result == null) result = caseCommSubsystem(xCommSubsystem); | ||
166 | if (result == null) result = defaultCase(theEObject); | ||
167 | return result; | ||
168 | } | ||
169 | case SatellitePackage.KA_COMM_SUBSYSTEM: { | ||
170 | KaCommSubsystem kaCommSubsystem = (KaCommSubsystem)theEObject; | ||
171 | T result = caseKaCommSubsystem(kaCommSubsystem); | ||
172 | if (result == null) result = caseCommSubsystem(kaCommSubsystem); | ||
173 | if (result == null) result = defaultCase(theEObject); | ||
174 | return result; | ||
175 | } | ||
176 | default: return defaultCase(theEObject); | ||
177 | } | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * Returns the result of interpreting the object as an instance of '<em>Constellation Mission</em>'. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * This implementation returns null; | ||
184 | * returning a non-null result will terminate the switch. | ||
185 | * <!-- end-user-doc --> | ||
186 | * @param object the target of the switch. | ||
187 | * @return the result of interpreting the object as an instance of '<em>Constellation Mission</em>'. | ||
188 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
189 | * @generated | ||
190 | */ | ||
191 | public T caseConstellationMission(ConstellationMission object) { | ||
192 | return null; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * Returns the result of interpreting the object as an instance of '<em>Interferometry Mission</em>'. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * This implementation returns null; | ||
199 | * returning a non-null result will terminate the switch. | ||
200 | * <!-- end-user-doc --> | ||
201 | * @param object the target of the switch. | ||
202 | * @return the result of interpreting the object as an instance of '<em>Interferometry Mission</em>'. | ||
203 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
204 | * @generated | ||
205 | */ | ||
206 | public T caseInterferometryMission(InterferometryMission object) { | ||
207 | return null; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * Returns the result of interpreting the object as an instance of '<em>Communicating Element</em>'. | ||
212 | * <!-- begin-user-doc --> | ||
213 | * This implementation returns null; | ||
214 | * returning a non-null result will terminate the switch. | ||
215 | * <!-- end-user-doc --> | ||
216 | * @param object the target of the switch. | ||
217 | * @return the result of interpreting the object as an instance of '<em>Communicating Element</em>'. | ||
218 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
219 | * @generated | ||
220 | */ | ||
221 | public T caseCommunicatingElement(CommunicatingElement object) { | ||
222 | return null; | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * Returns the result of interpreting the object as an instance of '<em>Ground Station Network</em>'. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * This implementation returns null; | ||
229 | * returning a non-null result will terminate the switch. | ||
230 | * <!-- end-user-doc --> | ||
231 | * @param object the target of the switch. | ||
232 | * @return the result of interpreting the object as an instance of '<em>Ground Station Network</em>'. | ||
233 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
234 | * @generated | ||
235 | */ | ||
236 | public T caseGroundStationNetwork(GroundStationNetwork object) { | ||
237 | return null; | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * Returns the result of interpreting the object as an instance of '<em>Spacecraft</em>'. | ||
242 | * <!-- begin-user-doc --> | ||
243 | * This implementation returns null; | ||
244 | * returning a non-null result will terminate the switch. | ||
245 | * <!-- end-user-doc --> | ||
246 | * @param object the target of the switch. | ||
247 | * @return the result of interpreting the object as an instance of '<em>Spacecraft</em>'. | ||
248 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
249 | * @generated | ||
250 | */ | ||
251 | public T caseSpacecraft(Spacecraft object) { | ||
252 | return null; | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * Returns the result of interpreting the object as an instance of '<em>Comm Subsystem</em>'. | ||
257 | * <!-- begin-user-doc --> | ||
258 | * This implementation returns null; | ||
259 | * returning a non-null result will terminate the switch. | ||
260 | * <!-- end-user-doc --> | ||
261 | * @param object the target of the switch. | ||
262 | * @return the result of interpreting the object as an instance of '<em>Comm Subsystem</em>'. | ||
263 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
264 | * @generated | ||
265 | */ | ||
266 | public T caseCommSubsystem(CommSubsystem object) { | ||
267 | return null; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * Returns the result of interpreting the object as an instance of '<em>Payload</em>'. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * This implementation returns null; | ||
274 | * returning a non-null result will terminate the switch. | ||
275 | * <!-- end-user-doc --> | ||
276 | * @param object the target of the switch. | ||
277 | * @return the result of interpreting the object as an instance of '<em>Payload</em>'. | ||
278 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
279 | * @generated | ||
280 | */ | ||
281 | public T casePayload(Payload object) { | ||
282 | return null; | ||
283 | } | ||
284 | |||
285 | /** | ||
286 | * Returns the result of interpreting the object as an instance of '<em>Interferometry Payload</em>'. | ||
287 | * <!-- begin-user-doc --> | ||
288 | * This implementation returns null; | ||
289 | * returning a non-null result will terminate the switch. | ||
290 | * <!-- end-user-doc --> | ||
291 | * @param object the target of the switch. | ||
292 | * @return the result of interpreting the object as an instance of '<em>Interferometry Payload</em>'. | ||
293 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
294 | * @generated | ||
295 | */ | ||
296 | public T caseInterferometryPayload(InterferometryPayload object) { | ||
297 | return null; | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat3 U</em>'. | ||
302 | * <!-- begin-user-doc --> | ||
303 | * This implementation returns null; | ||
304 | * returning a non-null result will terminate the switch. | ||
305 | * <!-- end-user-doc --> | ||
306 | * @param object the target of the switch. | ||
307 | * @return the result of interpreting the object as an instance of '<em>Cube Sat3 U</em>'. | ||
308 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
309 | * @generated | ||
310 | */ | ||
311 | public T caseCubeSat3U(CubeSat3U object) { | ||
312 | return null; | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat6 U</em>'. | ||
317 | * <!-- begin-user-doc --> | ||
318 | * This implementation returns null; | ||
319 | * returning a non-null result will terminate the switch. | ||
320 | * <!-- end-user-doc --> | ||
321 | * @param object the target of the switch. | ||
322 | * @return the result of interpreting the object as an instance of '<em>Cube Sat6 U</em>'. | ||
323 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
324 | * @generated | ||
325 | */ | ||
326 | public T caseCubeSat6U(CubeSat6U object) { | ||
327 | return null; | ||
328 | } | ||
329 | |||
330 | /** | ||
331 | * Returns the result of interpreting the object as an instance of '<em>Small Sat</em>'. | ||
332 | * <!-- begin-user-doc --> | ||
333 | * This implementation returns null; | ||
334 | * returning a non-null result will terminate the switch. | ||
335 | * <!-- end-user-doc --> | ||
336 | * @param object the target of the switch. | ||
337 | * @return the result of interpreting the object as an instance of '<em>Small Sat</em>'. | ||
338 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
339 | * @generated | ||
340 | */ | ||
341 | public T caseSmallSat(SmallSat object) { | ||
342 | return null; | ||
343 | } | ||
344 | |||
345 | /** | ||
346 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat</em>'. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * This implementation returns null; | ||
349 | * returning a non-null result will terminate the switch. | ||
350 | * <!-- end-user-doc --> | ||
351 | * @param object the target of the switch. | ||
352 | * @return the result of interpreting the object as an instance of '<em>Cube Sat</em>'. | ||
353 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
354 | * @generated | ||
355 | */ | ||
356 | public T caseCubeSat(CubeSat object) { | ||
357 | return null; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * Returns the result of interpreting the object as an instance of '<em>UHF Comm Subsystem</em>'. | ||
362 | * <!-- begin-user-doc --> | ||
363 | * This implementation returns null; | ||
364 | * returning a non-null result will terminate the switch. | ||
365 | * <!-- end-user-doc --> | ||
366 | * @param object the target of the switch. | ||
367 | * @return the result of interpreting the object as an instance of '<em>UHF Comm Subsystem</em>'. | ||
368 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
369 | * @generated | ||
370 | */ | ||
371 | public T caseUHFCommSubsystem(UHFCommSubsystem object) { | ||
372 | return null; | ||
373 | } | ||
374 | |||
375 | /** | ||
376 | * Returns the result of interpreting the object as an instance of '<em>XComm Subsystem</em>'. | ||
377 | * <!-- begin-user-doc --> | ||
378 | * This implementation returns null; | ||
379 | * returning a non-null result will terminate the switch. | ||
380 | * <!-- end-user-doc --> | ||
381 | * @param object the target of the switch. | ||
382 | * @return the result of interpreting the object as an instance of '<em>XComm Subsystem</em>'. | ||
383 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
384 | * @generated | ||
385 | */ | ||
386 | public T caseXCommSubsystem(XCommSubsystem object) { | ||
387 | return null; | ||
388 | } | ||
389 | |||
390 | /** | ||
391 | * Returns the result of interpreting the object as an instance of '<em>Ka Comm Subsystem</em>'. | ||
392 | * <!-- begin-user-doc --> | ||
393 | * This implementation returns null; | ||
394 | * returning a non-null result will terminate the switch. | ||
395 | * <!-- end-user-doc --> | ||
396 | * @param object the target of the switch. | ||
397 | * @return the result of interpreting the object as an instance of '<em>Ka Comm Subsystem</em>'. | ||
398 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
399 | * @generated | ||
400 | */ | ||
401 | public T caseKaCommSubsystem(KaCommSubsystem object) { | ||
402 | return null; | ||
403 | } | ||
404 | |||
405 | /** | ||
406 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
407 | * <!-- begin-user-doc --> | ||
408 | * This implementation returns null; | ||
409 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
410 | * <!-- end-user-doc --> | ||
411 | * @param object the target of the switch. | ||
412 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
413 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
414 | * @generated | ||
415 | */ | ||
416 | @Override | ||
417 | public T defaultCase(EObject object) { | ||
418 | return null; | ||
419 | } | ||
420 | |||
421 | } //SatelliteSwitch | ||