diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java index 73609fbd..ef98fb07 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java | |||
@@ -6,7 +6,6 @@ import org.eclipse.emf.common.notify.Notification; | |||
6 | import org.eclipse.emf.common.notify.NotificationChain; | 6 | import org.eclipse.emf.common.notify.NotificationChain; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | import org.eclipse.emf.ecore.EStructuralFeature; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | 9 | import org.eclipse.emf.ecore.InternalEObject; |
11 | 10 | ||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
@@ -42,15 +41,14 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
42 | protected Payload payload; | 41 | protected Payload payload; |
43 | 42 | ||
44 | /** | 43 | /** |
45 | * The cached setting delegate for the '{@link #getKind() <em>Kind</em>}' attribute. | 44 | * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. |
46 | * <!-- begin-user-doc --> | 45 | * <!-- begin-user-doc --> |
47 | * <!-- end-user-doc --> | 46 | * <!-- end-user-doc --> |
48 | * @see #getKind() | 47 | * @see #getKind() |
49 | * @generated | 48 | * @generated |
50 | * @ordered | 49 | * @ordered |
51 | */ | 50 | */ |
52 | protected EStructuralFeature.Internal.SettingDelegate KIND__ESETTING_DELEGATE = ((EStructuralFeature.Internal) SatellitePackage.Literals.SPACECRAFT__KIND) | 51 | protected static final SpacecraftKind KIND_EDEFAULT = SpacecraftKind.CUBE_SAT3_U; |
53 | .getSettingDelegate(); | ||
54 | 52 | ||
55 | /** | 53 | /** |
56 | * <!-- begin-user-doc --> | 54 | * <!-- begin-user-doc --> |
@@ -130,7 +128,9 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
130 | */ | 128 | */ |
131 | @Override | 129 | @Override |
132 | public SpacecraftKind getKind() { | 130 | public SpacecraftKind getKind() { |
133 | return (SpacecraftKind) KIND__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | 131 | // TODO: implement this method to return the 'Kind' attribute |
132 | // Ensure that you remove @generated or mark it @generated NOT | ||
133 | throw new UnsupportedOperationException(); | ||
134 | } | 134 | } |
135 | 135 | ||
136 | /** | 136 | /** |
@@ -204,7 +204,7 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
204 | case SatellitePackage.SPACECRAFT__PAYLOAD: | 204 | case SatellitePackage.SPACECRAFT__PAYLOAD: |
205 | return payload != null; | 205 | return payload != null; |
206 | case SatellitePackage.SPACECRAFT__KIND: | 206 | case SatellitePackage.SPACECRAFT__KIND: |
207 | return KIND__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); | 207 | return getKind() != KIND_EDEFAULT; |
208 | } | 208 | } |
209 | return super.eIsSet(featureID); | 209 | return super.eIsSet(featureID); |
210 | } | 210 | } |