From b21af04ea821c3daa9ce8a6d26c63e9cd198f9a5 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 8 Jun 2019 19:17:34 -0400 Subject: Trying to simplify Satellite case study --- .../dslreasoner/domains/satellite/AntennaGain.java | 242 ---- .../domains/satellite/CommSubsystem.java | 83 -- .../domains/satellite/CommunicatingElement.java | 69 -- .../domains/satellite/ConstellationMission.java | 69 -- .../inf/dslreasoner/domains/satellite/CubeSat.java | 16 - .../dslreasoner/domains/satellite/CubeSat3U.java | 16 - .../dslreasoner/domains/satellite/CubeSat6U.java | 16 - .../satellite/DirectedCommunicationLink.java | 77 -- .../domains/satellite/GroundStationNetwork.java | 16 - .../domains/satellite/InterferometryMission.java | 49 - .../domains/satellite/InterferometryPayload.java | 16 - .../inf/dslreasoner/domains/satellite/Payload.java | 18 - .../domains/satellite/SatelliteFactory.java | 105 -- .../domains/satellite/SatellitePackage.java | 1306 -------------------- .../dslreasoner/domains/satellite/SmallSat.java | 16 - .../dslreasoner/domains/satellite/Spacecraft.java | 66 - .../domains/satellite/SpacecraftKind.java | 241 ---- .../domains/satellite/TransceiverBand.java | 242 ---- .../domains/satellite/impl/CommSubsystemImpl.java | 226 ---- .../satellite/impl/CommunicatingElementImpl.java | 237 ---- .../satellite/impl/ConstellationMissionImpl.java | 237 ---- .../domains/satellite/impl/CubeSat3UImpl.java | 37 - .../domains/satellite/impl/CubeSat6UImpl.java | 37 - .../domains/satellite/impl/CubeSatImpl.java | 37 - .../impl/DirectedCommunicationLinkImpl.java | 227 ---- .../satellite/impl/GroundStationNetworkImpl.java | 37 - .../satellite/impl/InterferometryMissionImpl.java | 166 --- .../satellite/impl/InterferometryPayloadImpl.java | 37 - .../domains/satellite/impl/PayloadImpl.java | 39 - .../satellite/impl/SatelliteFactoryImpl.java | 294 ----- .../satellite/impl/SatellitePackageImpl.java | 684 ---------- .../domains/satellite/impl/SmallSatImpl.java | 37 - .../domains/satellite/impl/SpacecraftImpl.java | 212 ---- .../satellite/util/SatelliteAdapterFactory.java | 347 ------ .../domains/satellite/util/SatelliteSwitch.java | 404 ------ 35 files changed, 5958 deletions(-) delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/AntennaGain.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommSubsystem.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommunicatingElement.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/ConstellationMission.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/DirectedCommunicationLink.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/GroundStationNetwork.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryMission.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryPayload.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Payload.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SmallSat.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/TransceiverBand.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommSubsystemImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommunicatingElementImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/ConstellationMissionImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/DirectedCommunicationLinkImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/GroundStationNetworkImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryMissionImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryPayloadImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/PayloadImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite') diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/AntennaGain.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/AntennaGain.java deleted file mode 100644 index 20a2c59f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/AntennaGain.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * - * A representation of the literals of the enumeration 'Antenna Gain', - * and utility methods for working with them. - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getAntennaGain() - * @model - * @generated - */ -public enum AntennaGain implements Enumerator { - /** - * The 'LOW' literal object. - * - * - * @see #LOW_VALUE - * @generated - * @ordered - */ - LOW(0, "LOW", "LOW"), - - /** - * The 'MEDIUM' literal object. - * - * - * @see #MEDIUM_VALUE - * @generated - * @ordered - */ - MEDIUM(1, "MEDIUM", "MEDIUM"), - - /** - * The 'HIGH' literal object. - * - * - * @see #HIGH_VALUE - * @generated - * @ordered - */ - HIGH(2, "HIGH", "HIGH"); - - /** - * The 'LOW' literal value. - * - *

- * If the meaning of 'LOW' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #LOW - * @model - * @generated - * @ordered - */ - public static final int LOW_VALUE = 0; - - /** - * The 'MEDIUM' literal value. - * - *

- * If the meaning of 'MEDIUM' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #MEDIUM - * @model - * @generated - * @ordered - */ - public static final int MEDIUM_VALUE = 1; - - /** - * The 'HIGH' literal value. - * - *

- * If the meaning of 'HIGH' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #HIGH - * @model - * @generated - * @ordered - */ - public static final int HIGH_VALUE = 2; - - /** - * An array of all the 'Antenna Gain' enumerators. - * - * - * @generated - */ - private static final AntennaGain[] VALUES_ARRAY = new AntennaGain[] { LOW, MEDIUM, HIGH, }; - - /** - * A public read-only list of all the 'Antenna Gain' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Antenna Gain' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static AntennaGain get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - AntennaGain result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Antenna Gain' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static AntennaGain getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - AntennaGain result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Antenna Gain' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static AntennaGain get(int value) { - switch (value) { - case LOW_VALUE: - return LOW; - case MEDIUM_VALUE: - return MEDIUM; - case HIGH_VALUE: - return HIGH; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private AntennaGain(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //AntennaGain diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommSubsystem.java deleted file mode 100644 index 255bfc4e..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommSubsystem.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Comm Subsystem'. - * - * - *

- * The following features are supported: - *

- * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommSubsystem() - * @model - * @generated - */ -public interface CommSubsystem extends EObject { - /** - * Returns the value of the 'Band' attribute. - * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand}. - * - *

- * If the meaning of the 'Band' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Band' attribute. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand - * @see #setBand(TransceiverBand) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommSubsystem_Band() - * @model required="true" - * @generated - */ - TransceiverBand getBand(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getBand Band}' attribute. - * - * - * @param value the new value of the 'Band' attribute. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand - * @see #getBand() - * @generated - */ - void setBand(TransceiverBand value); - - /** - * Returns the value of the 'Gain' attribute. - * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain}. - * - *

- * If the meaning of the 'Gain' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Gain' attribute. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain - * @see #setGain(AntennaGain) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommSubsystem_Gain() - * @model required="true" - * @generated - */ - AntennaGain getGain(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getGain Gain}' attribute. - * - * - * @param value the new value of the 'Gain' attribute. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain - * @see #getGain() - * @generated - */ - void setGain(AntennaGain value); - -} // CommSubsystem diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommunicatingElement.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommunicatingElement.java deleted file mode 100644 index 3a4224cd..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommunicatingElement.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Communicating Element'. - * - * - *

- * The following features are supported: - *

- * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommunicatingElement() - * @model abstract="true" - * @generated - */ -public interface CommunicatingElement extends EObject { - /** - * Returns the value of the 'Comm Subsystem' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem}. - * - *

- * If the meaning of the 'Comm Subsystem' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Comm Subsystem' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommunicatingElement_CommSubsystem() - * @model containment="true" required="true" upper="2" - * @generated - */ - EList getCommSubsystem(); - - /** - * Returns the value of the 'Communication Link' containment reference. - * - *

- * If the meaning of the 'Communication Link' containment reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Communication Link' containment reference. - * @see #setCommunicationLink(DirectedCommunicationLink) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommunicatingElement_CommunicationLink() - * @model containment="true" - * @generated - */ - DirectedCommunicationLink getCommunicationLink(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommunicationLink Communication Link}' containment reference. - * - * - * @param value the new value of the 'Communication Link' containment reference. - * @see #getCommunicationLink() - * @generated - */ - void setCommunicationLink(DirectedCommunicationLink value); - -} // CommunicatingElement diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/ConstellationMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/ConstellationMission.java deleted file mode 100644 index 82fb5971..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/ConstellationMission.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Constellation Mission'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork Ground Station Network}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getSpacecraft Spacecraft}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getConstellationMission() - * @model abstract="true" - * @generated - */ -public interface ConstellationMission extends EObject { - /** - * Returns the value of the 'Ground Station Network' containment reference. - * - *

- * If the meaning of the 'Ground Station Network' containment reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Ground Station Network' containment reference. - * @see #setGroundStationNetwork(GroundStationNetwork) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getConstellationMission_GroundStationNetwork() - * @model containment="true" required="true" - * @generated - */ - GroundStationNetwork getGroundStationNetwork(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork Ground Station Network}' containment reference. - * - * - * @param value the new value of the 'Ground Station Network' containment reference. - * @see #getGroundStationNetwork() - * @generated - */ - void setGroundStationNetwork(GroundStationNetwork value); - - /** - * Returns the value of the 'Spacecraft' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft}. - * - *

- * If the meaning of the 'Spacecraft' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Spacecraft' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getConstellationMission_Spacecraft() - * @model containment="true" lower="2" upper="50" - * @generated - */ - EList getSpacecraft(); - -} // ConstellationMission diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java deleted file mode 100644 index ef66dce5..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Cube Sat'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCubeSat() - * @model abstract="true" - * @generated - */ -public interface CubeSat extends Spacecraft { -} // CubeSat diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java deleted file mode 100644 index 98dea285..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Cube Sat3 U'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCubeSat3U() - * @model - * @generated - */ -public interface CubeSat3U extends CubeSat { -} // CubeSat3U diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java deleted file mode 100644 index eb64fe33..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Cube Sat6 U'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCubeSat6U() - * @model - * @generated - */ -public interface CubeSat6U extends CubeSat { -} // CubeSat6U diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/DirectedCommunicationLink.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/DirectedCommunicationLink.java deleted file mode 100644 index b4eb1a82..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/DirectedCommunicationLink.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Directed Communication Link'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource Source}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget Target}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getDirectedCommunicationLink() - * @model - * @generated - */ -public interface DirectedCommunicationLink extends EObject { - /** - * Returns the value of the 'Source' reference. - * - *

- * If the meaning of the 'Source' reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Source' reference. - * @see #setSource(CommSubsystem) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getDirectedCommunicationLink_Source() - * @model required="true" - * @generated - */ - CommSubsystem getSource(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource Source}' reference. - * - * - * @param value the new value of the 'Source' reference. - * @see #getSource() - * @generated - */ - void setSource(CommSubsystem value); - - /** - * Returns the value of the 'Target' reference. - * - *

- * If the meaning of the 'Target' reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Target' reference. - * @see #setTarget(CommSubsystem) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getDirectedCommunicationLink_Target() - * @model required="true" - * @generated - */ - CommSubsystem getTarget(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget Target}' reference. - * - * - * @param value the new value of the 'Target' reference. - * @see #getTarget() - * @generated - */ - void setTarget(CommSubsystem value); - -} // DirectedCommunicationLink diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/GroundStationNetwork.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/GroundStationNetwork.java deleted file mode 100644 index e256d24d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/GroundStationNetwork.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Ground Station Network'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getGroundStationNetwork() - * @model - * @generated - */ -public interface GroundStationNetwork extends CommunicatingElement { -} // GroundStationNetwork diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryMission.java deleted file mode 100644 index 976ba160..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryMission.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Interferometry Mission'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime Observation Time}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getInterferometryMission() - * @model - * @generated - */ -public interface InterferometryMission extends ConstellationMission { - /** - * Returns the value of the 'Observation Time' attribute. - * The default value is "2.0". - * - *

- * If the meaning of the 'Observation Time' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Observation Time' attribute. - * @see #setObservationTime(float) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getInterferometryMission_ObservationTime() - * @model default="2.0" required="true" - * @generated - */ - float getObservationTime(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime Observation Time}' attribute. - * - * - * @param value the new value of the 'Observation Time' attribute. - * @see #getObservationTime() - * @generated - */ - void setObservationTime(float value); - -} // InterferometryMission diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryPayload.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryPayload.java deleted file mode 100644 index 06b47f38..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryPayload.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Interferometry Payload'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getInterferometryPayload() - * @model - * @generated - */ -public interface InterferometryPayload extends Payload { -} // InterferometryPayload diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Payload.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Payload.java deleted file mode 100644 index 6f7f1418..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Payload.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Payload'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getPayload() - * @model abstract="true" - * @generated - */ -public interface Payload extends EObject { -} // Payload diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java deleted file mode 100644 index 3b2bc48a..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java +++ /dev/null @@ -1,105 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage - * @generated - */ -public interface SatelliteFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - SatelliteFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatelliteFactoryImpl.init(); - - /** - * Returns a new object of class 'Interferometry Mission'. - * - * - * @return a new object of class 'Interferometry Mission'. - * @generated - */ - InterferometryMission createInterferometryMission(); - - /** - * Returns a new object of class 'Ground Station Network'. - * - * - * @return a new object of class 'Ground Station Network'. - * @generated - */ - GroundStationNetwork createGroundStationNetwork(); - - /** - * Returns a new object of class 'Comm Subsystem'. - * - * - * @return a new object of class 'Comm Subsystem'. - * @generated - */ - CommSubsystem createCommSubsystem(); - - /** - * Returns a new object of class 'Directed Communication Link'. - * - * - * @return a new object of class 'Directed Communication Link'. - * @generated - */ - DirectedCommunicationLink createDirectedCommunicationLink(); - - /** - * Returns a new object of class 'Interferometry Payload'. - * - * - * @return a new object of class 'Interferometry Payload'. - * @generated - */ - InterferometryPayload createInterferometryPayload(); - - /** - * Returns a new object of class 'Cube Sat3 U'. - * - * - * @return a new object of class 'Cube Sat3 U'. - * @generated - */ - CubeSat3U createCubeSat3U(); - - /** - * Returns a new object of class 'Cube Sat6 U'. - * - * - * @return a new object of class 'Cube Sat6 U'. - * @generated - */ - CubeSat6U createCubeSat6U(); - - /** - * Returns a new object of class 'Small Sat'. - * - * - * @return a new object of class 'Small Sat'. - * @generated - */ - SmallSat createSmallSat(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - SatellitePackage getSatellitePackage(); - -} //SatelliteFactory diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java deleted file mode 100644 index 1e129422..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java +++ /dev/null @@ -1,1306 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatelliteFactory - * @model kind="package" - * @generated - */ -public interface SatellitePackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "satellite"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.example.org/satellite"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "satellite"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - SatellitePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl.init(); - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl Constellation Mission}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getConstellationMission() - * @generated - */ - int CONSTELLATION_MISSION = 0; - - /** - * The feature id for the 'Ground Station Network' containment reference. - * - * - * @generated - * @ordered - */ - int CONSTELLATION_MISSION__GROUND_STATION_NETWORK = 0; - - /** - * The feature id for the 'Spacecraft' containment reference list. - * - * - * @generated - * @ordered - */ - int CONSTELLATION_MISSION__SPACECRAFT = 1; - - /** - * The number of structural features of the 'Constellation Mission' class. - * - * - * @generated - * @ordered - */ - int CONSTELLATION_MISSION_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Constellation Mission' class. - * - * - * @generated - * @ordered - */ - int CONSTELLATION_MISSION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl Interferometry Mission}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryMission() - * @generated - */ - int INTERFEROMETRY_MISSION = 1; - - /** - * The feature id for the 'Ground Station Network' containment reference. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_MISSION__GROUND_STATION_NETWORK = CONSTELLATION_MISSION__GROUND_STATION_NETWORK; - - /** - * The feature id for the 'Spacecraft' containment reference list. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_MISSION__SPACECRAFT = CONSTELLATION_MISSION__SPACECRAFT; - - /** - * The feature id for the 'Observation Time' attribute. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_MISSION__OBSERVATION_TIME = CONSTELLATION_MISSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Interferometry Mission' class. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Interferometry Mission' class. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_MISSION_OPERATION_COUNT = CONSTELLATION_MISSION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl Communicating Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommunicatingElement() - * @generated - */ - int COMMUNICATING_ELEMENT = 2; - - /** - * The feature id for the 'Comm Subsystem' containment reference list. - * - * - * @generated - * @ordered - */ - int COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = 0; - - /** - * The feature id for the 'Communication Link' containment reference. - * - * - * @generated - * @ordered - */ - int COMMUNICATING_ELEMENT__COMMUNICATION_LINK = 1; - - /** - * The number of structural features of the 'Communicating Element' class. - * - * - * @generated - * @ordered - */ - int COMMUNICATING_ELEMENT_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Communicating Element' class. - * - * - * @generated - * @ordered - */ - int COMMUNICATING_ELEMENT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl Ground Station Network}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getGroundStationNetwork() - * @generated - */ - int GROUND_STATION_NETWORK = 3; - - /** - * The feature id for the 'Comm Subsystem' containment reference list. - * - * - * @generated - * @ordered - */ - int GROUND_STATION_NETWORK__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; - - /** - * The feature id for the 'Communication Link' containment reference. - * - * - * @generated - * @ordered - */ - int GROUND_STATION_NETWORK__COMMUNICATION_LINK = COMMUNICATING_ELEMENT__COMMUNICATION_LINK; - - /** - * The number of structural features of the 'Ground Station Network' class. - * - * - * @generated - * @ordered - */ - int GROUND_STATION_NETWORK_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Ground Station Network' class. - * - * - * @generated - * @ordered - */ - int GROUND_STATION_NETWORK_OPERATION_COUNT = COMMUNICATING_ELEMENT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl Spacecraft}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraft() - * @generated - */ - int SPACECRAFT = 4; - - /** - * The feature id for the 'Comm Subsystem' containment reference list. - * - * - * @generated - * @ordered - */ - int SPACECRAFT__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; - - /** - * The feature id for the 'Communication Link' containment reference. - * - * - * @generated - * @ordered - */ - int SPACECRAFT__COMMUNICATION_LINK = COMMUNICATING_ELEMENT__COMMUNICATION_LINK; - - /** - * The feature id for the 'Payload' containment reference. - * - * - * @generated - * @ordered - */ - int SPACECRAFT__PAYLOAD = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Kind' attribute. - * - * - * @generated - * @ordered - */ - int SPACECRAFT__KIND = COMMUNICATING_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Spacecraft' class. - * - * - * @generated - * @ordered - */ - int SPACECRAFT_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 2; - - /** - * The number of operations of the 'Spacecraft' class. - * - * - * @generated - * @ordered - */ - int SPACECRAFT_OPERATION_COUNT = COMMUNICATING_ELEMENT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl Comm Subsystem}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommSubsystem() - * @generated - */ - int COMM_SUBSYSTEM = 5; - - /** - * The feature id for the 'Band' attribute. - * - * - * @generated - * @ordered - */ - int COMM_SUBSYSTEM__BAND = 0; - - /** - * The feature id for the 'Gain' attribute. - * - * - * @generated - * @ordered - */ - int COMM_SUBSYSTEM__GAIN = 1; - - /** - * The number of structural features of the 'Comm Subsystem' class. - * - * - * @generated - * @ordered - */ - int COMM_SUBSYSTEM_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Comm Subsystem' class. - * - * - * @generated - * @ordered - */ - int COMM_SUBSYSTEM_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl Directed Communication Link}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getDirectedCommunicationLink() - * @generated - */ - int DIRECTED_COMMUNICATION_LINK = 6; - - /** - * The feature id for the 'Source' reference. - * - * - * @generated - * @ordered - */ - int DIRECTED_COMMUNICATION_LINK__SOURCE = 0; - - /** - * The feature id for the 'Target' reference. - * - * - * @generated - * @ordered - */ - int DIRECTED_COMMUNICATION_LINK__TARGET = 1; - - /** - * The number of structural features of the 'Directed Communication Link' class. - * - * - * @generated - * @ordered - */ - int DIRECTED_COMMUNICATION_LINK_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Directed Communication Link' class. - * - * - * @generated - * @ordered - */ - int DIRECTED_COMMUNICATION_LINK_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl Payload}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getPayload() - * @generated - */ - int PAYLOAD = 7; - - /** - * The number of structural features of the 'Payload' class. - * - * - * @generated - * @ordered - */ - int PAYLOAD_FEATURE_COUNT = 0; - - /** - * The number of operations of the 'Payload' class. - * - * - * @generated - * @ordered - */ - int PAYLOAD_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl Interferometry Payload}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryPayload() - * @generated - */ - int INTERFEROMETRY_PAYLOAD = 8; - - /** - * The number of structural features of the 'Interferometry Payload' class. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_PAYLOAD_FEATURE_COUNT = PAYLOAD_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Interferometry Payload' class. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_PAYLOAD_OPERATION_COUNT = PAYLOAD_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl Cube Sat}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat() - * @generated - */ - int CUBE_SAT = 12; - - /** - * The feature id for the 'Comm Subsystem' containment reference list. - * - * - * @generated - * @ordered - */ - int CUBE_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; - - /** - * The feature id for the 'Communication Link' containment reference. - * - * - * @generated - * @ordered - */ - int CUBE_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; - - /** - * The feature id for the 'Payload' containment reference. - * - * - * @generated - * @ordered - */ - int CUBE_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; - - /** - * The feature id for the 'Kind' attribute. - * - * - * @generated - * @ordered - */ - int CUBE_SAT__KIND = SPACECRAFT__KIND; - - /** - * The number of structural features of the 'Cube Sat' class. - * - * - * @generated - * @ordered - */ - int CUBE_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Cube Sat' class. - * - * - * @generated - * @ordered - */ - int CUBE_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl Cube Sat3 U}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat3U() - * @generated - */ - int CUBE_SAT3_U = 9; - - /** - * The feature id for the 'Comm Subsystem' containment reference list. - * - * - * @generated - * @ordered - */ - int CUBE_SAT3_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; - - /** - * The feature id for the 'Communication Link' containment reference. - * - * - * @generated - * @ordered - */ - int CUBE_SAT3_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; - - /** - * The feature id for the 'Payload' containment reference. - * - * - * @generated - * @ordered - */ - int CUBE_SAT3_U__PAYLOAD = CUBE_SAT__PAYLOAD; - - /** - * The feature id for the 'Kind' attribute. - * - * - * @generated - * @ordered - */ - int CUBE_SAT3_U__KIND = CUBE_SAT__KIND; - - /** - * The number of structural features of the 'Cube Sat3 U' class. - * - * - * @generated - * @ordered - */ - int CUBE_SAT3_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Cube Sat3 U' class. - * - * - * @generated - * @ordered - */ - int CUBE_SAT3_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl Cube Sat6 U}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat6U() - * @generated - */ - int CUBE_SAT6_U = 10; - - /** - * The feature id for the 'Comm Subsystem' containment reference list. - * - * - * @generated - * @ordered - */ - int CUBE_SAT6_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; - - /** - * The feature id for the 'Communication Link' containment reference. - * - * - * @generated - * @ordered - */ - int CUBE_SAT6_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; - - /** - * The feature id for the 'Payload' containment reference. - * - * - * @generated - * @ordered - */ - int CUBE_SAT6_U__PAYLOAD = CUBE_SAT__PAYLOAD; - - /** - * The feature id for the 'Kind' attribute. - * - * - * @generated - * @ordered - */ - int CUBE_SAT6_U__KIND = CUBE_SAT__KIND; - - /** - * The number of structural features of the 'Cube Sat6 U' class. - * - * - * @generated - * @ordered - */ - int CUBE_SAT6_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Cube Sat6 U' class. - * - * - * @generated - * @ordered - */ - int CUBE_SAT6_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl Small Sat}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSmallSat() - * @generated - */ - int SMALL_SAT = 11; - - /** - * The feature id for the 'Comm Subsystem' containment reference list. - * - * - * @generated - * @ordered - */ - int SMALL_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; - - /** - * The feature id for the 'Communication Link' containment reference. - * - * - * @generated - * @ordered - */ - int SMALL_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; - - /** - * The feature id for the 'Payload' containment reference. - * - * - * @generated - * @ordered - */ - int SMALL_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; - - /** - * The feature id for the 'Kind' attribute. - * - * - * @generated - * @ordered - */ - int SMALL_SAT__KIND = SPACECRAFT__KIND; - - /** - * The number of structural features of the 'Small Sat' class. - * - * - * @generated - * @ordered - */ - int SMALL_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Small Sat' class. - * - * - * @generated - * @ordered - */ - int SMALL_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand Transceiver Band}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getTransceiverBand() - * @generated - */ - int TRANSCEIVER_BAND = 13; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain Antenna Gain}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getAntennaGain() - * @generated - */ - int ANTENNA_GAIN = 14; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind Spacecraft Kind}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraftKind() - * @generated - */ - int SPACECRAFT_KIND = 15; - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission Constellation Mission}'. - * - * - * @return the meta object for class 'Constellation Mission'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission - * @generated - */ - EClass getConstellationMission(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork Ground Station Network}'. - * - * - * @return the meta object for the containment reference 'Ground Station Network'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork() - * @see #getConstellationMission() - * @generated - */ - EReference getConstellationMission_GroundStationNetwork(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getSpacecraft Spacecraft}'. - * - * - * @return the meta object for the containment reference list 'Spacecraft'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getSpacecraft() - * @see #getConstellationMission() - * @generated - */ - EReference getConstellationMission_Spacecraft(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission Interferometry Mission}'. - * - * - * @return the meta object for class 'Interferometry Mission'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission - * @generated - */ - EClass getInterferometryMission(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime Observation Time}'. - * - * - * @return the meta object for the attribute 'Observation Time'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime() - * @see #getInterferometryMission() - * @generated - */ - EAttribute getInterferometryMission_ObservationTime(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement Communicating Element}'. - * - * - * @return the meta object for class 'Communicating Element'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement - * @generated - */ - EClass getCommunicatingElement(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommSubsystem Comm Subsystem}'. - * - * - * @return the meta object for the containment reference list 'Comm Subsystem'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommSubsystem() - * @see #getCommunicatingElement() - * @generated - */ - EReference getCommunicatingElement_CommSubsystem(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommunicationLink Communication Link}'. - * - * - * @return the meta object for the containment reference 'Communication Link'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommunicationLink() - * @see #getCommunicatingElement() - * @generated - */ - EReference getCommunicatingElement_CommunicationLink(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork Ground Station Network}'. - * - * - * @return the meta object for class 'Ground Station Network'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork - * @generated - */ - EClass getGroundStationNetwork(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft Spacecraft}'. - * - * - * @return the meta object for class 'Spacecraft'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft - * @generated - */ - EClass getSpacecraft(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload Payload}'. - * - * - * @return the meta object for the containment reference 'Payload'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload() - * @see #getSpacecraft() - * @generated - */ - EReference getSpacecraft_Payload(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getKind Kind}'. - * - * - * @return the meta object for the attribute 'Kind'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getKind() - * @see #getSpacecraft() - * @generated - */ - EAttribute getSpacecraft_Kind(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem Comm Subsystem}'. - * - * - * @return the meta object for class 'Comm Subsystem'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem - * @generated - */ - EClass getCommSubsystem(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getBand Band}'. - * - * - * @return the meta object for the attribute 'Band'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getBand() - * @see #getCommSubsystem() - * @generated - */ - EAttribute getCommSubsystem_Band(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getGain Gain}'. - * - * - * @return the meta object for the attribute 'Gain'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getGain() - * @see #getCommSubsystem() - * @generated - */ - EAttribute getCommSubsystem_Gain(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink Directed Communication Link}'. - * - * - * @return the meta object for class 'Directed Communication Link'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink - * @generated - */ - EClass getDirectedCommunicationLink(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource Source}'. - * - * - * @return the meta object for the reference 'Source'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource() - * @see #getDirectedCommunicationLink() - * @generated - */ - EReference getDirectedCommunicationLink_Source(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget Target}'. - * - * - * @return the meta object for the reference 'Target'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget() - * @see #getDirectedCommunicationLink() - * @generated - */ - EReference getDirectedCommunicationLink_Target(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Payload Payload}'. - * - * - * @return the meta object for class 'Payload'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Payload - * @generated - */ - EClass getPayload(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload Interferometry Payload}'. - * - * - * @return the meta object for class 'Interferometry Payload'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload - * @generated - */ - EClass getInterferometryPayload(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U Cube Sat3 U}'. - * - * - * @return the meta object for class 'Cube Sat3 U'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U - * @generated - */ - EClass getCubeSat3U(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U Cube Sat6 U}'. - * - * - * @return the meta object for class 'Cube Sat6 U'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U - * @generated - */ - EClass getCubeSat6U(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat Small Sat}'. - * - * - * @return the meta object for class 'Small Sat'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat - * @generated - */ - EClass getSmallSat(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat Cube Sat}'. - * - * - * @return the meta object for class 'Cube Sat'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat - * @generated - */ - EClass getCubeSat(); - - /** - * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand Transceiver Band}'. - * - * - * @return the meta object for enum 'Transceiver Band'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand - * @generated - */ - EEnum getTransceiverBand(); - - /** - * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain Antenna Gain}'. - * - * - * @return the meta object for enum 'Antenna Gain'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain - * @generated - */ - EEnum getAntennaGain(); - - /** - * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind Spacecraft Kind}'. - * - * - * @return the meta object for enum 'Spacecraft Kind'. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind - * @generated - */ - EEnum getSpacecraftKind(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - SatelliteFactory getSatelliteFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl Constellation Mission}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getConstellationMission() - * @generated - */ - EClass CONSTELLATION_MISSION = eINSTANCE.getConstellationMission(); - - /** - * The meta object literal for the 'Ground Station Network' containment reference feature. - * - * - * @generated - */ - EReference CONSTELLATION_MISSION__GROUND_STATION_NETWORK = eINSTANCE - .getConstellationMission_GroundStationNetwork(); - - /** - * The meta object literal for the 'Spacecraft' containment reference list feature. - * - * - * @generated - */ - EReference CONSTELLATION_MISSION__SPACECRAFT = eINSTANCE.getConstellationMission_Spacecraft(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl Interferometry Mission}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryMission() - * @generated - */ - EClass INTERFEROMETRY_MISSION = eINSTANCE.getInterferometryMission(); - - /** - * The meta object literal for the 'Observation Time' attribute feature. - * - * - * @generated - */ - EAttribute INTERFEROMETRY_MISSION__OBSERVATION_TIME = eINSTANCE.getInterferometryMission_ObservationTime(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl Communicating Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommunicatingElement() - * @generated - */ - EClass COMMUNICATING_ELEMENT = eINSTANCE.getCommunicatingElement(); - - /** - * The meta object literal for the 'Comm Subsystem' containment reference list feature. - * - * - * @generated - */ - EReference COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = eINSTANCE.getCommunicatingElement_CommSubsystem(); - - /** - * The meta object literal for the 'Communication Link' containment reference feature. - * - * - * @generated - */ - EReference COMMUNICATING_ELEMENT__COMMUNICATION_LINK = eINSTANCE.getCommunicatingElement_CommunicationLink(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl Ground Station Network}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getGroundStationNetwork() - * @generated - */ - EClass GROUND_STATION_NETWORK = eINSTANCE.getGroundStationNetwork(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl Spacecraft}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraft() - * @generated - */ - EClass SPACECRAFT = eINSTANCE.getSpacecraft(); - - /** - * The meta object literal for the 'Payload' containment reference feature. - * - * - * @generated - */ - EReference SPACECRAFT__PAYLOAD = eINSTANCE.getSpacecraft_Payload(); - - /** - * The meta object literal for the 'Kind' attribute feature. - * - * - * @generated - */ - EAttribute SPACECRAFT__KIND = eINSTANCE.getSpacecraft_Kind(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl Comm Subsystem}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommSubsystem() - * @generated - */ - EClass COMM_SUBSYSTEM = eINSTANCE.getCommSubsystem(); - - /** - * The meta object literal for the 'Band' attribute feature. - * - * - * @generated - */ - EAttribute COMM_SUBSYSTEM__BAND = eINSTANCE.getCommSubsystem_Band(); - - /** - * The meta object literal for the 'Gain' attribute feature. - * - * - * @generated - */ - EAttribute COMM_SUBSYSTEM__GAIN = eINSTANCE.getCommSubsystem_Gain(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl Directed Communication Link}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getDirectedCommunicationLink() - * @generated - */ - EClass DIRECTED_COMMUNICATION_LINK = eINSTANCE.getDirectedCommunicationLink(); - - /** - * The meta object literal for the 'Source' reference feature. - * - * - * @generated - */ - EReference DIRECTED_COMMUNICATION_LINK__SOURCE = eINSTANCE.getDirectedCommunicationLink_Source(); - - /** - * The meta object literal for the 'Target' reference feature. - * - * - * @generated - */ - EReference DIRECTED_COMMUNICATION_LINK__TARGET = eINSTANCE.getDirectedCommunicationLink_Target(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl Payload}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getPayload() - * @generated - */ - EClass PAYLOAD = eINSTANCE.getPayload(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl Interferometry Payload}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryPayload() - * @generated - */ - EClass INTERFEROMETRY_PAYLOAD = eINSTANCE.getInterferometryPayload(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl Cube Sat3 U}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat3U() - * @generated - */ - EClass CUBE_SAT3_U = eINSTANCE.getCubeSat3U(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl Cube Sat6 U}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat6U() - * @generated - */ - EClass CUBE_SAT6_U = eINSTANCE.getCubeSat6U(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl Small Sat}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSmallSat() - * @generated - */ - EClass SMALL_SAT = eINSTANCE.getSmallSat(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl Cube Sat}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat() - * @generated - */ - EClass CUBE_SAT = eINSTANCE.getCubeSat(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand Transceiver Band}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getTransceiverBand() - * @generated - */ - EEnum TRANSCEIVER_BAND = eINSTANCE.getTransceiverBand(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain Antenna Gain}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getAntennaGain() - * @generated - */ - EEnum ANTENNA_GAIN = eINSTANCE.getAntennaGain(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind Spacecraft Kind}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraftKind() - * @generated - */ - EEnum SPACECRAFT_KIND = eINSTANCE.getSpacecraftKind(); - - } - -} //SatellitePackage diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SmallSat.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SmallSat.java deleted file mode 100644 index b3a3d63c..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SmallSat.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Small Sat'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSmallSat() - * @model - * @generated - */ -public interface SmallSat extends Spacecraft { -} // SmallSat diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java deleted file mode 100644 index 34f9750a..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -/** - * - * A representation of the model object 'Spacecraft'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload Payload}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getKind Kind}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft() - * @model abstract="true" - * @generated - */ -public interface Spacecraft extends CommunicatingElement { - /** - * Returns the value of the 'Payload' containment reference. - * - *

- * If the meaning of the 'Payload' containment reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Payload' containment reference. - * @see #setPayload(Payload) - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft_Payload() - * @model containment="true" - * @generated - */ - Payload getPayload(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload Payload}' containment reference. - * - * - * @param value the new value of the 'Payload' containment reference. - * @see #getPayload() - * @generated - */ - void setPayload(Payload value); - - /** - * Returns the value of the 'Kind' attribute. - * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind}. - * - *

- * If the meaning of the 'Kind' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Kind' attribute. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft_Kind() - * @model required="true" transient="true" changeable="false" volatile="true" derived="true" - * @generated - */ - SpacecraftKind getKind(); - -} // Spacecraft diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java deleted file mode 100644 index b0b6aede..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java +++ /dev/null @@ -1,241 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * - * A representation of the literals of the enumeration 'Spacecraft Kind', - * and utility methods for working with them. - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraftKind() - * @model - * @generated - */ -public enum SpacecraftKind implements Enumerator { - /** - * The 'Cube Sat3 U' literal object. - * - * - * @see #CUBE_SAT3_U_VALUE - * @generated - * @ordered - */ - CUBE_SAT3_U(0, "CubeSat3U", "CubeSat3U"), - - /** - * The 'Cube Sat6 U' literal object. - * - * - * @see #CUBE_SAT6_U_VALUE - * @generated - * @ordered - */ - CUBE_SAT6_U(1, "CubeSat6U", "CubeSat6U"), - /** - * The 'Small Sat' literal object. - * - * - * @see #SMALL_SAT_VALUE - * @generated - * @ordered - */ - SMALL_SAT(2, "SmallSat", "SmallSat"); - - /** - * The 'Cube Sat3 U' literal value. - * - *

- * If the meaning of 'Cube Sat3 U' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #CUBE_SAT3_U - * @model name="CubeSat3U" - * @generated - * @ordered - */ - public static final int CUBE_SAT3_U_VALUE = 0; - - /** - * The 'Cube Sat6 U' literal value. - * - *

- * If the meaning of 'Cube Sat6 U' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #CUBE_SAT6_U - * @model name="CubeSat6U" - * @generated - * @ordered - */ - public static final int CUBE_SAT6_U_VALUE = 1; - - /** - * The 'Small Sat' literal value. - * - *

- * If the meaning of 'Small Sat' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #SMALL_SAT - * @model name="SmallSat" - * @generated - * @ordered - */ - public static final int SMALL_SAT_VALUE = 2; - - /** - * An array of all the 'Spacecraft Kind' enumerators. - * - * - * @generated - */ - private static final SpacecraftKind[] VALUES_ARRAY = new SpacecraftKind[] { CUBE_SAT3_U, CUBE_SAT6_U, SMALL_SAT, }; - - /** - * A public read-only list of all the 'Spacecraft Kind' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Spacecraft Kind' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static SpacecraftKind get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - SpacecraftKind result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Spacecraft Kind' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static SpacecraftKind getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - SpacecraftKind result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Spacecraft Kind' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static SpacecraftKind get(int value) { - switch (value) { - case CUBE_SAT3_U_VALUE: - return CUBE_SAT3_U; - case CUBE_SAT6_U_VALUE: - return CUBE_SAT6_U; - case SMALL_SAT_VALUE: - return SMALL_SAT; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private SpacecraftKind(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //SpacecraftKind diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/TransceiverBand.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/TransceiverBand.java deleted file mode 100644 index 62aae5f7..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/TransceiverBand.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * - * A representation of the literals of the enumeration 'Transceiver Band', - * and utility methods for working with them. - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getTransceiverBand() - * @model - * @generated - */ -public enum TransceiverBand implements Enumerator { - /** - * The 'UHF' literal object. - * - * - * @see #UHF_VALUE - * @generated - * @ordered - */ - UHF(0, "UHF", "UHF"), - - /** - * The 'X' literal object. - * - * - * @see #X_VALUE - * @generated - * @ordered - */ - X(1, "X", "X"), - - /** - * The 'Ka' literal object. - * - * - * @see #KA_VALUE - * @generated - * @ordered - */ - KA(2, "Ka", "Ka"); - - /** - * The 'UHF' literal value. - * - *

- * If the meaning of 'UHF' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #UHF - * @model - * @generated - * @ordered - */ - public static final int UHF_VALUE = 0; - - /** - * The 'X' literal value. - * - *

- * If the meaning of 'X' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #X - * @model - * @generated - * @ordered - */ - public static final int X_VALUE = 1; - - /** - * The 'Ka' literal value. - * - *

- * If the meaning of 'Ka' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #KA - * @model name="Ka" - * @generated - * @ordered - */ - public static final int KA_VALUE = 2; - - /** - * An array of all the 'Transceiver Band' enumerators. - * - * - * @generated - */ - private static final TransceiverBand[] VALUES_ARRAY = new TransceiverBand[] { UHF, X, KA, }; - - /** - * A public read-only list of all the 'Transceiver Band' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Transceiver Band' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static TransceiverBand get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - TransceiverBand result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Transceiver Band' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static TransceiverBand getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - TransceiverBand result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Transceiver Band' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static TransceiverBand get(int value) { - switch (value) { - case UHF_VALUE: - return UHF; - case X_VALUE: - return X; - case KA_VALUE: - return KA; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private TransceiverBand(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //TransceiverBand diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommSubsystemImpl.java deleted file mode 100644 index fbde1603..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommSubsystemImpl.java +++ /dev/null @@ -1,226 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain; -import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; -import hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Comm Subsystem'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl#getBand Band}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl#getGain Gain}
  • - *
- * - * @generated - */ -public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements CommSubsystem { - /** - * The default value of the '{@link #getBand() Band}' attribute. - * - * - * @see #getBand() - * @generated - * @ordered - */ - protected static final TransceiverBand BAND_EDEFAULT = TransceiverBand.UHF; - - /** - * The cached value of the '{@link #getBand() Band}' attribute. - * - * - * @see #getBand() - * @generated - * @ordered - */ - protected TransceiverBand band = BAND_EDEFAULT; - - /** - * The default value of the '{@link #getGain() Gain}' attribute. - * - * - * @see #getGain() - * @generated - * @ordered - */ - protected static final AntennaGain GAIN_EDEFAULT = AntennaGain.LOW; - - /** - * The cached value of the '{@link #getGain() Gain}' attribute. - * - * - * @see #getGain() - * @generated - * @ordered - */ - protected AntennaGain gain = GAIN_EDEFAULT; - - /** - * - * - * @generated - */ - protected CommSubsystemImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.COMM_SUBSYSTEM; - } - - /** - * - * - * @generated - */ - @Override - public TransceiverBand getBand() { - return band; - } - - /** - * - * - * @generated - */ - @Override - public void setBand(TransceiverBand newBand) { - TransceiverBand oldBand = band; - band = newBand == null ? BAND_EDEFAULT : newBand; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__BAND, oldBand, - band)); - } - - /** - * - * - * @generated - */ - @Override - public AntennaGain getGain() { - return gain; - } - - /** - * - * - * @generated - */ - @Override - public void setGain(AntennaGain newGain) { - AntennaGain oldGain = gain; - gain = newGain == null ? GAIN_EDEFAULT : newGain; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__GAIN, oldGain, - gain)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SatellitePackage.COMM_SUBSYSTEM__BAND: - return getBand(); - case SatellitePackage.COMM_SUBSYSTEM__GAIN: - return getGain(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SatellitePackage.COMM_SUBSYSTEM__BAND: - setBand((TransceiverBand) newValue); - return; - case SatellitePackage.COMM_SUBSYSTEM__GAIN: - setGain((AntennaGain) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SatellitePackage.COMM_SUBSYSTEM__BAND: - setBand(BAND_EDEFAULT); - return; - case SatellitePackage.COMM_SUBSYSTEM__GAIN: - setGain(GAIN_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SatellitePackage.COMM_SUBSYSTEM__BAND: - return band != BAND_EDEFAULT; - case SatellitePackage.COMM_SUBSYSTEM__GAIN: - return gain != GAIN_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (band: "); - result.append(band); - result.append(", gain: "); - result.append(gain); - result.append(')'); - return result.toString(); - } - -} //CommSubsystemImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommunicatingElementImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommunicatingElementImpl.java deleted file mode 100644 index 4b51e52e..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommunicatingElementImpl.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; -import hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement; -import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Communicating Element'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl#getCommSubsystem Comm Subsystem}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl#getCommunicationLink Communication Link}
  • - *
- * - * @generated - */ -public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Container implements CommunicatingElement { - /** - * The cached value of the '{@link #getCommSubsystem() Comm Subsystem}' containment reference list. - * - * - * @see #getCommSubsystem() - * @generated - * @ordered - */ - protected EList commSubsystem; - - /** - * The cached value of the '{@link #getCommunicationLink() Communication Link}' containment reference. - * - * - * @see #getCommunicationLink() - * @generated - * @ordered - */ - protected DirectedCommunicationLink communicationLink; - - /** - * - * - * @generated - */ - protected CommunicatingElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.COMMUNICATING_ELEMENT; - } - - /** - * - * - * @generated - */ - @Override - public EList getCommSubsystem() { - if (commSubsystem == null) { - commSubsystem = new EObjectContainmentEList(CommSubsystem.class, this, - SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); - } - return commSubsystem; - } - - /** - * - * - * @generated - */ - @Override - public DirectedCommunicationLink getCommunicationLink() { - return communicationLink; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetCommunicationLink(DirectedCommunicationLink newCommunicationLink, - NotificationChain msgs) { - DirectedCommunicationLink oldCommunicationLink = communicationLink; - communicationLink = newCommunicationLink; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, oldCommunicationLink, - newCommunicationLink); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setCommunicationLink(DirectedCommunicationLink newCommunicationLink) { - if (newCommunicationLink != communicationLink) { - NotificationChain msgs = null; - if (communicationLink != null) - msgs = ((InternalEObject) communicationLink).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, null, - msgs); - if (newCommunicationLink != null) - msgs = ((InternalEObject) newCommunicationLink).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, null, - msgs); - msgs = basicSetCommunicationLink(newCommunicationLink, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, newCommunicationLink, - newCommunicationLink)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: - return ((InternalEList) getCommSubsystem()).basicRemove(otherEnd, msgs); - case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: - return basicSetCommunicationLink(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: - return getCommSubsystem(); - case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: - return getCommunicationLink(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: - getCommSubsystem().clear(); - getCommSubsystem().addAll((Collection) newValue); - return; - case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: - setCommunicationLink((DirectedCommunicationLink) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: - getCommSubsystem().clear(); - return; - case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: - setCommunicationLink((DirectedCommunicationLink) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: - return commSubsystem != null && !commSubsystem.isEmpty(); - case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: - return communicationLink != null; - } - return super.eIsSet(featureID); - } - -} //CommunicatingElementImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/ConstellationMissionImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/ConstellationMissionImpl.java deleted file mode 100644 index 710b5982..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/ConstellationMissionImpl.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission; -import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; -import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Constellation Mission'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl#getGroundStationNetwork Ground Station Network}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl#getSpacecraft Spacecraft}
  • - *
- * - * @generated - */ -public abstract class ConstellationMissionImpl extends MinimalEObjectImpl.Container implements ConstellationMission { - /** - * The cached value of the '{@link #getGroundStationNetwork() Ground Station Network}' containment reference. - * - * - * @see #getGroundStationNetwork() - * @generated - * @ordered - */ - protected GroundStationNetwork groundStationNetwork; - - /** - * The cached value of the '{@link #getSpacecraft() Spacecraft}' containment reference list. - * - * - * @see #getSpacecraft() - * @generated - * @ordered - */ - protected EList spacecraft; - - /** - * - * - * @generated - */ - protected ConstellationMissionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.CONSTELLATION_MISSION; - } - - /** - * - * - * @generated - */ - @Override - public GroundStationNetwork getGroundStationNetwork() { - return groundStationNetwork; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetGroundStationNetwork(GroundStationNetwork newGroundStationNetwork, - NotificationChain msgs) { - GroundStationNetwork oldGroundStationNetwork = groundStationNetwork; - groundStationNetwork = newGroundStationNetwork; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, oldGroundStationNetwork, - newGroundStationNetwork); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setGroundStationNetwork(GroundStationNetwork newGroundStationNetwork) { - if (newGroundStationNetwork != groundStationNetwork) { - NotificationChain msgs = null; - if (groundStationNetwork != null) - msgs = ((InternalEObject) groundStationNetwork).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, null, - msgs); - if (newGroundStationNetwork != null) - msgs = ((InternalEObject) newGroundStationNetwork).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, null, - msgs); - msgs = basicSetGroundStationNetwork(newGroundStationNetwork, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, newGroundStationNetwork, - newGroundStationNetwork)); - } - - /** - * - * - * @generated - */ - @Override - public EList getSpacecraft() { - if (spacecraft == null) { - spacecraft = new EObjectContainmentEList(Spacecraft.class, this, - SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT); - } - return spacecraft; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: - return basicSetGroundStationNetwork(null, msgs); - case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: - return ((InternalEList) getSpacecraft()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: - return getGroundStationNetwork(); - case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: - return getSpacecraft(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: - setGroundStationNetwork((GroundStationNetwork) newValue); - return; - case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: - getSpacecraft().clear(); - getSpacecraft().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: - setGroundStationNetwork((GroundStationNetwork) null); - return; - case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: - getSpacecraft().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: - return groundStationNetwork != null; - case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: - return spacecraft != null && !spacecraft.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ConstellationMissionImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java deleted file mode 100644 index 3e0d6f2c..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Cube Sat3 U'. - * - * - * @generated - */ -public class CubeSat3UImpl extends CubeSatImpl implements CubeSat3U { - /** - * - * - * @generated - */ - protected CubeSat3UImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.CUBE_SAT3_U; - } - -} //CubeSat3UImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java deleted file mode 100644 index 7ad2bc87..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Cube Sat6 U'. - * - * - * @generated - */ -public class CubeSat6UImpl extends CubeSatImpl implements CubeSat6U { - /** - * - * - * @generated - */ - protected CubeSat6UImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.CUBE_SAT6_U; - } - -} //CubeSat6UImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java deleted file mode 100644 index b8e364a3..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Cube Sat'. - * - * - * @generated - */ -public abstract class CubeSatImpl extends SpacecraftImpl implements CubeSat { - /** - * - * - * @generated - */ - protected CubeSatImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.CUBE_SAT; - } - -} //CubeSatImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/DirectedCommunicationLinkImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/DirectedCommunicationLinkImpl.java deleted file mode 100644 index b0338e2d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/DirectedCommunicationLinkImpl.java +++ /dev/null @@ -1,227 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; -import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Directed Communication Link'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl#getSource Source}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl#getTarget Target}
  • - *
- * - * @generated - */ -public class DirectedCommunicationLinkImpl extends MinimalEObjectImpl.Container implements DirectedCommunicationLink { - /** - * The cached value of the '{@link #getSource() Source}' reference. - * - * - * @see #getSource() - * @generated - * @ordered - */ - protected CommSubsystem source; - - /** - * The cached value of the '{@link #getTarget() Target}' reference. - * - * - * @see #getTarget() - * @generated - * @ordered - */ - protected CommSubsystem target; - - /** - * - * - * @generated - */ - protected DirectedCommunicationLinkImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.DIRECTED_COMMUNICATION_LINK; - } - - /** - * - * - * @generated - */ - @Override - public CommSubsystem getSource() { - if (source != null && source.eIsProxy()) { - InternalEObject oldSource = (InternalEObject) source; - source = (CommSubsystem) eResolveProxy(oldSource); - if (source != oldSource) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE, oldSource, source)); - } - } - return source; - } - - /** - * - * - * @generated - */ - public CommSubsystem basicGetSource() { - return source; - } - - /** - * - * - * @generated - */ - @Override - public void setSource(CommSubsystem newSource) { - CommSubsystem oldSource = source; - source = newSource; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE, - oldSource, source)); - } - - /** - * - * - * @generated - */ - @Override - public CommSubsystem getTarget() { - if (target != null && target.eIsProxy()) { - InternalEObject oldTarget = (InternalEObject) target; - target = (CommSubsystem) eResolveProxy(oldTarget); - if (target != oldTarget) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET, oldTarget, target)); - } - } - return target; - } - - /** - * - * - * @generated - */ - public CommSubsystem basicGetTarget() { - return target; - } - - /** - * - * - * @generated - */ - @Override - public void setTarget(CommSubsystem newTarget) { - CommSubsystem oldTarget = target; - target = newTarget; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET, - oldTarget, target)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: - if (resolve) - return getSource(); - return basicGetSource(); - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: - if (resolve) - return getTarget(); - return basicGetTarget(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: - setSource((CommSubsystem) newValue); - return; - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: - setTarget((CommSubsystem) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: - setSource((CommSubsystem) null); - return; - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: - setTarget((CommSubsystem) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: - return source != null; - case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: - return target != null; - } - return super.eIsSet(featureID); - } - -} //DirectedCommunicationLinkImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/GroundStationNetworkImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/GroundStationNetworkImpl.java deleted file mode 100644 index 890e807c..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/GroundStationNetworkImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Ground Station Network'. - * - * - * @generated - */ -public class GroundStationNetworkImpl extends CommunicatingElementImpl implements GroundStationNetwork { - /** - * - * - * @generated - */ - protected GroundStationNetworkImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.GROUND_STATION_NETWORK; - } - -} //GroundStationNetworkImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryMissionImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryMissionImpl.java deleted file mode 100644 index b2687ea3..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryMissionImpl.java +++ /dev/null @@ -1,166 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'Interferometry Mission'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl#getObservationTime Observation Time}
  • - *
- * - * @generated - */ -public class InterferometryMissionImpl extends ConstellationMissionImpl implements InterferometryMission { - /** - * The default value of the '{@link #getObservationTime() Observation Time}' attribute. - * - * - * @see #getObservationTime() - * @generated - * @ordered - */ - protected static final float OBSERVATION_TIME_EDEFAULT = 2.0F; - - /** - * The cached value of the '{@link #getObservationTime() Observation Time}' attribute. - * - * - * @see #getObservationTime() - * @generated - * @ordered - */ - protected float observationTime = OBSERVATION_TIME_EDEFAULT; - - /** - * - * - * @generated - */ - protected InterferometryMissionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.INTERFEROMETRY_MISSION; - } - - /** - * - * - * @generated - */ - @Override - public float getObservationTime() { - return observationTime; - } - - /** - * - * - * @generated - */ - @Override - public void setObservationTime(float newObservationTime) { - float oldObservationTime = observationTime; - observationTime = newObservationTime; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME, oldObservationTime, observationTime)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - return getObservationTime(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - setObservationTime((Float) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - setObservationTime(OBSERVATION_TIME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - return observationTime != OBSERVATION_TIME_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (observationTime: "); - result.append(observationTime); - result.append(')'); - return result.toString(); - } - -} //InterferometryMissionImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryPayloadImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryPayloadImpl.java deleted file mode 100644 index 5657c268..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryPayloadImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Interferometry Payload'. - * - * - * @generated - */ -public class InterferometryPayloadImpl extends PayloadImpl implements InterferometryPayload { - /** - * - * - * @generated - */ - protected InterferometryPayloadImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.INTERFEROMETRY_PAYLOAD; - } - -} //InterferometryPayloadImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/PayloadImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/PayloadImpl.java deleted file mode 100644 index 78625d22..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/PayloadImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Payload'. - * - * - * @generated - */ -public abstract class PayloadImpl extends MinimalEObjectImpl.Container implements Payload { - /** - * - * - * @generated - */ - protected PayloadImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.PAYLOAD; - } - -} //PayloadImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java deleted file mode 100644 index 028ba662..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java +++ /dev/null @@ -1,294 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.*; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static SatelliteFactory init() { - try { - SatelliteFactory theSatelliteFactory = (SatelliteFactory) EPackage.Registry.INSTANCE - .getEFactory(SatellitePackage.eNS_URI); - if (theSatelliteFactory != null) { - return theSatelliteFactory; - } - } catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new SatelliteFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public SatelliteFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case SatellitePackage.INTERFEROMETRY_MISSION: - return createInterferometryMission(); - case SatellitePackage.GROUND_STATION_NETWORK: - return createGroundStationNetwork(); - case SatellitePackage.COMM_SUBSYSTEM: - return createCommSubsystem(); - case SatellitePackage.DIRECTED_COMMUNICATION_LINK: - return createDirectedCommunicationLink(); - case SatellitePackage.INTERFEROMETRY_PAYLOAD: - return createInterferometryPayload(); - case SatellitePackage.CUBE_SAT3_U: - return createCubeSat3U(); - case SatellitePackage.CUBE_SAT6_U: - return createCubeSat6U(); - case SatellitePackage.SMALL_SAT: - return createSmallSat(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case SatellitePackage.TRANSCEIVER_BAND: - return createTransceiverBandFromString(eDataType, initialValue); - case SatellitePackage.ANTENNA_GAIN: - return createAntennaGainFromString(eDataType, initialValue); - case SatellitePackage.SPACECRAFT_KIND: - return createSpacecraftKindFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case SatellitePackage.TRANSCEIVER_BAND: - return convertTransceiverBandToString(eDataType, instanceValue); - case SatellitePackage.ANTENNA_GAIN: - return convertAntennaGainToString(eDataType, instanceValue); - case SatellitePackage.SPACECRAFT_KIND: - return convertSpacecraftKindToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public InterferometryMission createInterferometryMission() { - InterferometryMissionImpl interferometryMission = new InterferometryMissionImpl(); - return interferometryMission; - } - - /** - * - * - * @generated - */ - @Override - public GroundStationNetwork createGroundStationNetwork() { - GroundStationNetworkImpl groundStationNetwork = new GroundStationNetworkImpl(); - return groundStationNetwork; - } - - /** - * - * - * @generated - */ - @Override - public CommSubsystem createCommSubsystem() { - CommSubsystemImpl commSubsystem = new CommSubsystemImpl(); - return commSubsystem; - } - - /** - * - * - * @generated - */ - @Override - public DirectedCommunicationLink createDirectedCommunicationLink() { - DirectedCommunicationLinkImpl directedCommunicationLink = new DirectedCommunicationLinkImpl(); - return directedCommunicationLink; - } - - /** - * - * - * @generated - */ - @Override - public InterferometryPayload createInterferometryPayload() { - InterferometryPayloadImpl interferometryPayload = new InterferometryPayloadImpl(); - return interferometryPayload; - } - - /** - * - * - * @generated - */ - @Override - public CubeSat3U createCubeSat3U() { - CubeSat3UImpl cubeSat3U = new CubeSat3UImpl(); - return cubeSat3U; - } - - /** - * - * - * @generated - */ - @Override - public CubeSat6U createCubeSat6U() { - CubeSat6UImpl cubeSat6U = new CubeSat6UImpl(); - return cubeSat6U; - } - - /** - * - * - * @generated - */ - @Override - public SmallSat createSmallSat() { - SmallSatImpl smallSat = new SmallSatImpl(); - return smallSat; - } - - /** - * - * - * @generated - */ - public TransceiverBand createTransceiverBandFromString(EDataType eDataType, String initialValue) { - TransceiverBand result = TransceiverBand.get(initialValue); - if (result == null) - throw new IllegalArgumentException( - "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertTransceiverBandToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public AntennaGain createAntennaGainFromString(EDataType eDataType, String initialValue) { - AntennaGain result = AntennaGain.get(initialValue); - if (result == null) - throw new IllegalArgumentException( - "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertAntennaGainToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public SpacecraftKind createSpacecraftKindFromString(EDataType eDataType, String initialValue) { - SpacecraftKind result = SpacecraftKind.get(initialValue); - if (result == null) - throw new IllegalArgumentException( - "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertSpacecraftKindToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - @Override - public SatellitePackage getSatellitePackage() { - return (SatellitePackage) getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static SatellitePackage getPackage() { - return SatellitePackage.eINSTANCE; - } - -} //SatelliteFactoryImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java deleted file mode 100644 index bbe77e4d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java +++ /dev/null @@ -1,684 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain; -import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; -import hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement; -import hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission; -import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat; -import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U; -import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U; -import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; -import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; -import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission; -import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload; -import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatelliteFactory; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat; -import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind; -import hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class SatellitePackageImpl extends EPackageImpl implements SatellitePackage { - /** - * - * - * @generated - */ - private EClass constellationMissionEClass = null; - - /** - * - * - * @generated - */ - private EClass interferometryMissionEClass = null; - - /** - * - * - * @generated - */ - private EClass communicatingElementEClass = null; - - /** - * - * - * @generated - */ - private EClass groundStationNetworkEClass = null; - - /** - * - * - * @generated - */ - private EClass spacecraftEClass = null; - - /** - * - * - * @generated - */ - private EClass commSubsystemEClass = null; - - /** - * - * - * @generated - */ - private EClass directedCommunicationLinkEClass = null; - - /** - * - * - * @generated - */ - private EClass payloadEClass = null; - - /** - * - * - * @generated - */ - private EClass interferometryPayloadEClass = null; - - /** - * - * - * @generated - */ - private EClass cubeSat3UEClass = null; - - /** - * - * - * @generated - */ - private EClass cubeSat6UEClass = null; - - /** - * - * - * @generated - */ - private EClass smallSatEClass = null; - - /** - * - * - * @generated - */ - private EClass cubeSatEClass = null; - - /** - * - * - * @generated - */ - private EEnum transceiverBandEEnum = null; - - /** - * - * - * @generated - */ - private EEnum antennaGainEEnum = null; - - /** - * - * - * @generated - */ - private EEnum spacecraftKindEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#eNS_URI - * @see #init() - * @generated - */ - private SatellitePackageImpl() { - super(eNS_URI, SatelliteFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

This method is used to initialize {@link SatellitePackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static SatellitePackage init() { - if (isInited) - return (SatellitePackage) EPackage.Registry.INSTANCE.getEPackage(SatellitePackage.eNS_URI); - - // Obtain or create and register package - Object registeredSatellitePackage = EPackage.Registry.INSTANCE.get(eNS_URI); - SatellitePackageImpl theSatellitePackage = registeredSatellitePackage instanceof SatellitePackageImpl - ? (SatellitePackageImpl) registeredSatellitePackage - : new SatellitePackageImpl(); - - isInited = true; - - // Create package meta-data objects - theSatellitePackage.createPackageContents(); - - // Initialize created meta-data - theSatellitePackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theSatellitePackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(SatellitePackage.eNS_URI, theSatellitePackage); - return theSatellitePackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getConstellationMission() { - return constellationMissionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getConstellationMission_GroundStationNetwork() { - return (EReference) constellationMissionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getConstellationMission_Spacecraft() { - return (EReference) constellationMissionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInterferometryMission() { - return interferometryMissionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getInterferometryMission_ObservationTime() { - return (EAttribute) interferometryMissionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCommunicatingElement() { - return communicatingElementEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCommunicatingElement_CommSubsystem() { - return (EReference) communicatingElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCommunicatingElement_CommunicationLink() { - return (EReference) communicatingElementEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getGroundStationNetwork() { - return groundStationNetworkEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getSpacecraft() { - return spacecraftEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getSpacecraft_Payload() { - return (EReference) spacecraftEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getSpacecraft_Kind() { - return (EAttribute) spacecraftEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCommSubsystem() { - return commSubsystemEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getCommSubsystem_Band() { - return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getCommSubsystem_Gain() { - return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDirectedCommunicationLink() { - return directedCommunicationLinkEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getDirectedCommunicationLink_Source() { - return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getDirectedCommunicationLink_Target() { - return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getPayload() { - return payloadEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getInterferometryPayload() { - return interferometryPayloadEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getCubeSat3U() { - return cubeSat3UEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getCubeSat6U() { - return cubeSat6UEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getSmallSat() { - return smallSatEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getCubeSat() { - return cubeSatEClass; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getTransceiverBand() { - return transceiverBandEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getAntennaGain() { - return antennaGainEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getSpacecraftKind() { - return spacecraftKindEEnum; - } - - /** - * - * - * @generated - */ - @Override - public SatelliteFactory getSatelliteFactory() { - return (SatelliteFactory) getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) - return; - isCreated = true; - - // Create classes and their features - constellationMissionEClass = createEClass(CONSTELLATION_MISSION); - createEReference(constellationMissionEClass, CONSTELLATION_MISSION__GROUND_STATION_NETWORK); - createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT); - - interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION); - createEAttribute(interferometryMissionEClass, INTERFEROMETRY_MISSION__OBSERVATION_TIME); - - communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); - createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); - createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMMUNICATION_LINK); - - groundStationNetworkEClass = createEClass(GROUND_STATION_NETWORK); - - spacecraftEClass = createEClass(SPACECRAFT); - createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD); - createEAttribute(spacecraftEClass, SPACECRAFT__KIND); - - commSubsystemEClass = createEClass(COMM_SUBSYSTEM); - createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__BAND); - createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__GAIN); - - directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK); - createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE); - createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__TARGET); - - payloadEClass = createEClass(PAYLOAD); - - interferometryPayloadEClass = createEClass(INTERFEROMETRY_PAYLOAD); - - cubeSat3UEClass = createEClass(CUBE_SAT3_U); - - cubeSat6UEClass = createEClass(CUBE_SAT6_U); - - smallSatEClass = createEClass(SMALL_SAT); - - cubeSatEClass = createEClass(CUBE_SAT); - - // Create enums - transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); - antennaGainEEnum = createEEnum(ANTENNA_GAIN); - spacecraftKindEEnum = createEEnum(SPACECRAFT_KIND); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) - return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - interferometryMissionEClass.getESuperTypes().add(this.getConstellationMission()); - groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); - spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); - interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); - cubeSat3UEClass.getESuperTypes().add(this.getCubeSat()); - cubeSat6UEClass.getESuperTypes().add(this.getCubeSat()); - smallSatEClass.getESuperTypes().add(this.getSpacecraft()); - cubeSatEClass.getESuperTypes().add(this.getSpacecraft()); - - // Initialize classes, features, and operations; add parameters - initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - 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); - initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, 50, - ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, - !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getInterferometryMission_ObservationTime(), ecorePackage.getEFloat(), "observationTime", "2.0", - 1, 1, InterferometryMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - 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); - initEReference(getCommunicatingElement_CommunicationLink(), this.getDirectedCommunicationLink(), null, - "communicationLink", null, 0, 1, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(spacecraftEClass, Spacecraft.class, "Spacecraft", IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - 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); - initEAttribute(getSpacecraft_Kind(), this.getSpacecraftKind(), "kind", null, 1, 1, Spacecraft.class, - IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - - initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getCommSubsystem_Band(), this.getTransceiverBand(), "band", null, 1, 1, CommSubsystem.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCommSubsystem_Gain(), this.getAntennaGain(), "gain", null, 1, 1, CommSubsystem.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDirectedCommunicationLink_Source(), this.getCommSubsystem(), null, "source", null, 1, 1, - DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDirectedCommunicationLink_Target(), this.getCommSubsystem(), null, "target", null, 1, 1, - DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(interferometryPayloadEClass, InterferometryPayload.class, "InterferometryPayload", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(cubeSat3UEClass, CubeSat3U.class, "CubeSat3U", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - - initEClass(cubeSat6UEClass, CubeSat6U.class, "CubeSat6U", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - - initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - - initEClass(cubeSatEClass, CubeSat.class, "CubeSat", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - // Initialize enums and add enum literals - initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand"); - addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF); - addEEnumLiteral(transceiverBandEEnum, TransceiverBand.X); - addEEnumLiteral(transceiverBandEEnum, TransceiverBand.KA); - - initEEnum(antennaGainEEnum, AntennaGain.class, "AntennaGain"); - addEEnumLiteral(antennaGainEEnum, AntennaGain.LOW); - addEEnumLiteral(antennaGainEEnum, AntennaGain.MEDIUM); - addEEnumLiteral(antennaGainEEnum, AntennaGain.HIGH); - - initEEnum(spacecraftKindEEnum, SpacecraftKind.class, "SpacecraftKind"); - addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT3_U); - addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT6_U); - addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.SMALL_SAT); - - // Create resource - createResource(eNS_URI); - } - -} //SatellitePackageImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java deleted file mode 100644 index 522991ad..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Small Sat'. - * - * - * @generated - */ -public class SmallSatImpl extends SpacecraftImpl implements SmallSat { - /** - * - * - * @generated - */ - protected SmallSatImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.SMALL_SAT; - } - -} //SmallSatImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java deleted file mode 100644 index 9d74270a..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java +++ /dev/null @@ -1,212 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; -import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; -import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'Spacecraft'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl#getPayload Payload}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl#getKind Kind}
  • - *
- * - * @generated - */ -public abstract class SpacecraftImpl extends CommunicatingElementImpl implements Spacecraft { - /** - * The cached value of the '{@link #getPayload() Payload}' containment reference. - * - * - * @see #getPayload() - * @generated - * @ordered - */ - protected Payload payload; - - /** - * The default value of the '{@link #getKind() Kind}' attribute. - * - * - * @see #getKind() - * @generated - * @ordered - */ - protected static final SpacecraftKind KIND_EDEFAULT = SpacecraftKind.CUBE_SAT3_U; - - /** - * - * - * @generated - */ - protected SpacecraftImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SatellitePackage.Literals.SPACECRAFT; - } - - /** - * - * - * @generated - */ - @Override - public Payload getPayload() { - return payload; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetPayload(Payload newPayload, NotificationChain msgs) { - Payload oldPayload = payload; - payload = newPayload; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - SatellitePackage.SPACECRAFT__PAYLOAD, oldPayload, newPayload); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setPayload(Payload newPayload) { - if (newPayload != payload) { - NotificationChain msgs = null; - if (payload != null) - msgs = ((InternalEObject) payload).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - SatellitePackage.SPACECRAFT__PAYLOAD, null, msgs); - if (newPayload != null) - msgs = ((InternalEObject) newPayload).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - SatellitePackage.SPACECRAFT__PAYLOAD, null, msgs); - msgs = basicSetPayload(newPayload, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.SPACECRAFT__PAYLOAD, newPayload, - newPayload)); - } - - /** - * - * - * @generated - */ - @Override - public SpacecraftKind getKind() { - // TODO: implement this method to return the 'Kind' attribute - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SatellitePackage.SPACECRAFT__PAYLOAD: - return basicSetPayload(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SatellitePackage.SPACECRAFT__PAYLOAD: - return getPayload(); - case SatellitePackage.SPACECRAFT__KIND: - return getKind(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SatellitePackage.SPACECRAFT__PAYLOAD: - setPayload((Payload) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SatellitePackage.SPACECRAFT__PAYLOAD: - setPayload((Payload) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SatellitePackage.SPACECRAFT__PAYLOAD: - return payload != null; - case SatellitePackage.SPACECRAFT__KIND: - return getKind() != KIND_EDEFAULT; - } - return super.eIsSet(featureID); - } - -} //SpacecraftImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java deleted file mode 100644 index fd948334..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java +++ /dev/null @@ -1,347 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.util; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.*; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage - * @generated - */ -public class SatelliteAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static SatellitePackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public SatelliteAdapterFactory() { - if (modelPackage == null) { - modelPackage = SatellitePackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected SatelliteSwitch modelSwitch = new SatelliteSwitch() { - @Override - public Adapter caseConstellationMission(ConstellationMission object) { - return createConstellationMissionAdapter(); - } - - @Override - public Adapter caseInterferometryMission(InterferometryMission object) { - return createInterferometryMissionAdapter(); - } - - @Override - public Adapter caseCommunicatingElement(CommunicatingElement object) { - return createCommunicatingElementAdapter(); - } - - @Override - public Adapter caseGroundStationNetwork(GroundStationNetwork object) { - return createGroundStationNetworkAdapter(); - } - - @Override - public Adapter caseSpacecraft(Spacecraft object) { - return createSpacecraftAdapter(); - } - - @Override - public Adapter caseCommSubsystem(CommSubsystem object) { - return createCommSubsystemAdapter(); - } - - @Override - public Adapter caseDirectedCommunicationLink(DirectedCommunicationLink object) { - return createDirectedCommunicationLinkAdapter(); - } - - @Override - public Adapter casePayload(Payload object) { - return createPayloadAdapter(); - } - - @Override - public Adapter caseInterferometryPayload(InterferometryPayload object) { - return createInterferometryPayloadAdapter(); - } - - @Override - public Adapter caseCubeSat3U(CubeSat3U object) { - return createCubeSat3UAdapter(); - } - - @Override - public Adapter caseCubeSat6U(CubeSat6U object) { - return createCubeSat6UAdapter(); - } - - @Override - public Adapter caseSmallSat(SmallSat object) { - return createSmallSatAdapter(); - } - - @Override - public Adapter caseCubeSat(CubeSat object) { - return createCubeSatAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission Constellation Mission}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission - * @generated - */ - public Adapter createConstellationMissionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission Interferometry Mission}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission - * @generated - */ - public Adapter createInterferometryMissionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement Communicating Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement - * @generated - */ - public Adapter createCommunicatingElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork Ground Station Network}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork - * @generated - */ - public Adapter createGroundStationNetworkAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft Spacecraft}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft - * @generated - */ - public Adapter createSpacecraftAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem Comm Subsystem}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem - * @generated - */ - public Adapter createCommSubsystemAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink Directed Communication Link}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink - * @generated - */ - public Adapter createDirectedCommunicationLinkAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Payload Payload}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Payload - * @generated - */ - public Adapter createPayloadAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload Interferometry Payload}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload - * @generated - */ - public Adapter createInterferometryPayloadAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U Cube Sat3 U}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U - * @generated - */ - public Adapter createCubeSat3UAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U Cube Sat6 U}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U - * @generated - */ - public Adapter createCubeSat6UAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat Small Sat}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat - * @generated - */ - public Adapter createSmallSatAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat Cube Sat}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat - * @generated - */ - public Adapter createCubeSatAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //SatelliteAdapterFactory diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java deleted file mode 100644 index 08180b64..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java +++ /dev/null @@ -1,404 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.domains.satellite.util; - -import hu.bme.mit.inf.dslreasoner.domains.satellite.*; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage - * @generated - */ -public class SatelliteSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static SatellitePackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public SatelliteSwitch() { - if (modelPackage == null) { - modelPackage = SatellitePackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case SatellitePackage.CONSTELLATION_MISSION: { - ConstellationMission constellationMission = (ConstellationMission) theEObject; - T result = caseConstellationMission(constellationMission); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.INTERFEROMETRY_MISSION: { - InterferometryMission interferometryMission = (InterferometryMission) theEObject; - T result = caseInterferometryMission(interferometryMission); - if (result == null) - result = caseConstellationMission(interferometryMission); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.COMMUNICATING_ELEMENT: { - CommunicatingElement communicatingElement = (CommunicatingElement) theEObject; - T result = caseCommunicatingElement(communicatingElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.GROUND_STATION_NETWORK: { - GroundStationNetwork groundStationNetwork = (GroundStationNetwork) theEObject; - T result = caseGroundStationNetwork(groundStationNetwork); - if (result == null) - result = caseCommunicatingElement(groundStationNetwork); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.SPACECRAFT: { - Spacecraft spacecraft = (Spacecraft) theEObject; - T result = caseSpacecraft(spacecraft); - if (result == null) - result = caseCommunicatingElement(spacecraft); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.COMM_SUBSYSTEM: { - CommSubsystem commSubsystem = (CommSubsystem) theEObject; - T result = caseCommSubsystem(commSubsystem); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.DIRECTED_COMMUNICATION_LINK: { - DirectedCommunicationLink directedCommunicationLink = (DirectedCommunicationLink) theEObject; - T result = caseDirectedCommunicationLink(directedCommunicationLink); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.PAYLOAD: { - Payload payload = (Payload) theEObject; - T result = casePayload(payload); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.INTERFEROMETRY_PAYLOAD: { - InterferometryPayload interferometryPayload = (InterferometryPayload) theEObject; - T result = caseInterferometryPayload(interferometryPayload); - if (result == null) - result = casePayload(interferometryPayload); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.CUBE_SAT3_U: { - CubeSat3U cubeSat3U = (CubeSat3U) theEObject; - T result = caseCubeSat3U(cubeSat3U); - if (result == null) - result = caseCubeSat(cubeSat3U); - if (result == null) - result = caseSpacecraft(cubeSat3U); - if (result == null) - result = caseCommunicatingElement(cubeSat3U); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.CUBE_SAT6_U: { - CubeSat6U cubeSat6U = (CubeSat6U) theEObject; - T result = caseCubeSat6U(cubeSat6U); - if (result == null) - result = caseCubeSat(cubeSat6U); - if (result == null) - result = caseSpacecraft(cubeSat6U); - if (result == null) - result = caseCommunicatingElement(cubeSat6U); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.SMALL_SAT: { - SmallSat smallSat = (SmallSat) theEObject; - T result = caseSmallSat(smallSat); - if (result == null) - result = caseSpacecraft(smallSat); - if (result == null) - result = caseCommunicatingElement(smallSat); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case SatellitePackage.CUBE_SAT: { - CubeSat cubeSat = (CubeSat) theEObject; - T result = caseCubeSat(cubeSat); - if (result == null) - result = caseSpacecraft(cubeSat); - if (result == null) - result = caseCommunicatingElement(cubeSat); - if (result == null) - result = defaultCase(theEObject); - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Constellation Mission'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Constellation Mission'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConstellationMission(ConstellationMission object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Interferometry Mission'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Interferometry Mission'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInterferometryMission(InterferometryMission object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Communicating Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Communicating Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCommunicatingElement(CommunicatingElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Ground Station Network'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Ground Station Network'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGroundStationNetwork(GroundStationNetwork object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Spacecraft'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Spacecraft'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSpacecraft(Spacecraft object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Comm Subsystem'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Comm Subsystem'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCommSubsystem(CommSubsystem object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Directed Communication Link'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Directed Communication Link'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDirectedCommunicationLink(DirectedCommunicationLink object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Payload'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Payload'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePayload(Payload object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Interferometry Payload'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Interferometry Payload'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInterferometryPayload(InterferometryPayload object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Cube Sat3 U'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Cube Sat3 U'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCubeSat3U(CubeSat3U object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Cube Sat6 U'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Cube Sat6 U'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCubeSat6U(CubeSat6U object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Small Sat'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Small Sat'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSmallSat(SmallSat object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Cube Sat'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Cube Sat'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCubeSat(CubeSat object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //SatelliteSwitch -- cgit v1.2.3-54-g00ecf