diff options
author | 2019-05-07 11:54:19 -0400 | |
---|---|---|
committer | 2019-05-07 11:54:19 -0400 | |
commit | 436ec038c24c42e615feb22a0fed029494bc74ea (patch) | |
tree | f3783961c521b73201a9d079be78feb26e8a285c /Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java | |
parent | Try to restructure satellite case study (diff) | |
download | VIATRA-Generator-436ec038c24c42e615feb22a0fed029494bc74ea.tar.gz VIATRA-Generator-436ec038c24c42e615feb22a0fed029494bc74ea.tar.zst VIATRA-Generator-436ec038c24c42e615feb22a0fed029494bc74ea.zip |
Revert "Try to restructure satellite case study"
This reverts commit 9b83e33c055660f6de218d1b672f67734675f1f6.
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 ef98fb07..73609fbd 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,6 +6,7 @@ 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; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | 10 | import org.eclipse.emf.ecore.InternalEObject; |
10 | 11 | ||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
@@ -41,14 +42,15 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
41 | protected Payload payload; | 42 | protected Payload payload; |
42 | 43 | ||
43 | /** | 44 | /** |
44 | * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. | 45 | * The cached setting delegate for the '{@link #getKind() <em>Kind</em>}' attribute. |
45 | * <!-- begin-user-doc --> | 46 | * <!-- begin-user-doc --> |
46 | * <!-- end-user-doc --> | 47 | * <!-- end-user-doc --> |
47 | * @see #getKind() | 48 | * @see #getKind() |
48 | * @generated | 49 | * @generated |
49 | * @ordered | 50 | * @ordered |
50 | */ | 51 | */ |
51 | protected static final SpacecraftKind KIND_EDEFAULT = SpacecraftKind.CUBE_SAT3_U; | 52 | protected EStructuralFeature.Internal.SettingDelegate KIND__ESETTING_DELEGATE = ((EStructuralFeature.Internal) SatellitePackage.Literals.SPACECRAFT__KIND) |
53 | .getSettingDelegate(); | ||
52 | 54 | ||
53 | /** | 55 | /** |
54 | * <!-- begin-user-doc --> | 56 | * <!-- begin-user-doc --> |
@@ -128,9 +130,7 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
128 | */ | 130 | */ |
129 | @Override | 131 | @Override |
130 | public SpacecraftKind getKind() { | 132 | public SpacecraftKind getKind() { |
131 | // TODO: implement this method to return the 'Kind' attribute | 133 | return (SpacecraftKind) KIND__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); |
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 getKind() != KIND_EDEFAULT; | 207 | return KIND__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); |
208 | } | 208 | } |
209 | return super.eIsSet(featureID); | 209 | return super.eIsSet(featureID); |
210 | } | 210 | } |