diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl')
3 files changed, 1 insertions, 285 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CpsPackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CpsPackageImpl.java index 1f143a64..e29ccccd 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CpsPackageImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CpsPackageImpl.java | |||
@@ -193,26 +193,6 @@ public class CpsPackageImpl extends EPackageImpl implements CpsPackage { | |||
193 | * @generated | 193 | * @generated |
194 | */ | 194 | */ |
195 | @Override | 195 | @Override |
196 | public EReference getCyberPhysicalSystem_Hosts() { | ||
197 | return (EReference) cyberPhysicalSystemEClass.getEStructuralFeatures().get(3); | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | @Override | ||
206 | public EReference getCyberPhysicalSystem_Applications() { | ||
207 | return (EReference) cyberPhysicalSystemEClass.getEStructuralFeatures().get(4); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public EClass getApplicationType() { | 196 | public EClass getApplicationType() { |
217 | return applicationTypeEClass; | 197 | return applicationTypeEClass; |
218 | } | 198 | } |
@@ -463,48 +443,8 @@ public class CpsPackageImpl extends EPackageImpl implements CpsPackage { | |||
463 | * @generated | 443 | * @generated |
464 | */ | 444 | */ |
465 | @Override | 445 | @Override |
466 | public EAttribute getHostInstance_AvailableMemory() { | ||
467 | return (EAttribute) hostInstanceEClass.getEStructuralFeatures().get(1); | ||
468 | } | ||
469 | |||
470 | /** | ||
471 | * <!-- begin-user-doc --> | ||
472 | * <!-- end-user-doc --> | ||
473 | * @generated | ||
474 | */ | ||
475 | @Override | ||
476 | public EAttribute getHostInstance_AvailableHdd() { | ||
477 | return (EAttribute) hostInstanceEClass.getEStructuralFeatures().get(2); | ||
478 | } | ||
479 | |||
480 | /** | ||
481 | * <!-- begin-user-doc --> | ||
482 | * <!-- end-user-doc --> | ||
483 | * @generated | ||
484 | */ | ||
485 | @Override | ||
486 | public EAttribute getHostInstance_TotalMemory() { | ||
487 | return (EAttribute) hostInstanceEClass.getEStructuralFeatures().get(3); | ||
488 | } | ||
489 | |||
490 | /** | ||
491 | * <!-- begin-user-doc --> | ||
492 | * <!-- end-user-doc --> | ||
493 | * @generated | ||
494 | */ | ||
495 | @Override | ||
496 | public EAttribute getHostInstance_TotalHdd() { | ||
497 | return (EAttribute) hostInstanceEClass.getEStructuralFeatures().get(4); | ||
498 | } | ||
499 | |||
500 | /** | ||
501 | * <!-- begin-user-doc --> | ||
502 | * <!-- end-user-doc --> | ||
503 | * @generated | ||
504 | */ | ||
505 | @Override | ||
506 | public EReference getHostInstance_Applications() { | 446 | public EReference getHostInstance_Applications() { |
507 | return (EReference) hostInstanceEClass.getEStructuralFeatures().get(5); | 447 | return (EReference) hostInstanceEClass.getEStructuralFeatures().get(1); |
508 | } | 448 | } |
509 | 449 | ||
510 | /** | 450 | /** |
@@ -541,8 +481,6 @@ public class CpsPackageImpl extends EPackageImpl implements CpsPackage { | |||
541 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__REQUESTS); | 481 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__REQUESTS); |
542 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__APPLICATION_TYPES); | 482 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__APPLICATION_TYPES); |
543 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__HOST_TYPES); | 483 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__HOST_TYPES); |
544 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__HOSTS); | ||
545 | createEReference(cyberPhysicalSystemEClass, CYBER_PHYSICAL_SYSTEM__APPLICATIONS); | ||
546 | 484 | ||
547 | applicationTypeEClass = createEClass(APPLICATION_TYPE); | 485 | applicationTypeEClass = createEClass(APPLICATION_TYPE); |
548 | createEReference(applicationTypeEClass, APPLICATION_TYPE__INSTANCES); | 486 | createEReference(applicationTypeEClass, APPLICATION_TYPE__INSTANCES); |
@@ -575,10 +513,6 @@ public class CpsPackageImpl extends EPackageImpl implements CpsPackage { | |||
575 | 513 | ||
576 | hostInstanceEClass = createEClass(HOST_INSTANCE); | 514 | hostInstanceEClass = createEClass(HOST_INSTANCE); |
577 | createEReference(hostInstanceEClass, HOST_INSTANCE__TYPE); | 515 | createEReference(hostInstanceEClass, HOST_INSTANCE__TYPE); |
578 | createEAttribute(hostInstanceEClass, HOST_INSTANCE__AVAILABLE_MEMORY); | ||
579 | createEAttribute(hostInstanceEClass, HOST_INSTANCE__AVAILABLE_HDD); | ||
580 | createEAttribute(hostInstanceEClass, HOST_INSTANCE__TOTAL_MEMORY); | ||
581 | createEAttribute(hostInstanceEClass, HOST_INSTANCE__TOTAL_HDD); | ||
582 | createEReference(hostInstanceEClass, HOST_INSTANCE__APPLICATIONS); | 516 | createEReference(hostInstanceEClass, HOST_INSTANCE__APPLICATIONS); |
583 | } | 517 | } |
584 | 518 | ||
@@ -624,12 +558,6 @@ public class CpsPackageImpl extends EPackageImpl implements CpsPackage { | |||
624 | initEReference(getCyberPhysicalSystem_HostTypes(), this.getHostType(), null, "hostTypes", null, 0, -1, | 558 | initEReference(getCyberPhysicalSystem_HostTypes(), this.getHostType(), null, "hostTypes", null, 0, -1, |
625 | CyberPhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, | 559 | CyberPhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, |
626 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 560 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
627 | initEReference(getCyberPhysicalSystem_Hosts(), this.getHostInstance(), null, "hosts", null, 0, -1, | ||
628 | CyberPhysicalSystem.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, | ||
629 | !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
630 | initEReference(getCyberPhysicalSystem_Applications(), this.getApplicationInstance(), null, "applications", null, | ||
631 | 0, -1, CyberPhysicalSystem.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, | ||
632 | IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
633 | 561 | ||
634 | initEClass(applicationTypeEClass, ApplicationType.class, "ApplicationType", !IS_ABSTRACT, !IS_INTERFACE, | 562 | initEClass(applicationTypeEClass, ApplicationType.class, "ApplicationType", !IS_ABSTRACT, !IS_INTERFACE, |
635 | IS_GENERATED_INSTANCE_CLASS); | 563 | IS_GENERATED_INSTANCE_CLASS); |
@@ -703,17 +631,6 @@ public class CpsPackageImpl extends EPackageImpl implements CpsPackage { | |||
703 | initEReference(getHostInstance_Type(), this.getHostType(), this.getHostType_Instances(), "type", null, 1, 1, | 631 | initEReference(getHostInstance_Type(), this.getHostType(), this.getHostType_Instances(), "type", null, 1, 1, |
704 | HostInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, | 632 | HostInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, |
705 | !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 633 | !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
706 | initEAttribute(getHostInstance_AvailableMemory(), ecorePackage.getEInt(), "availableMemory", null, 0, 1, | ||
707 | HostInstance.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, | ||
708 | IS_DERIVED, IS_ORDERED); | ||
709 | initEAttribute(getHostInstance_AvailableHdd(), ecorePackage.getEInt(), "availableHdd", null, 0, 1, | ||
710 | HostInstance.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, | ||
711 | IS_DERIVED, IS_ORDERED); | ||
712 | initEAttribute(getHostInstance_TotalMemory(), ecorePackage.getEInt(), "totalMemory", null, 0, 1, | ||
713 | HostInstance.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, | ||
714 | IS_DERIVED, IS_ORDERED); | ||
715 | initEAttribute(getHostInstance_TotalHdd(), ecorePackage.getEInt(), "totalHdd", null, 0, 1, HostInstance.class, | ||
716 | IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
717 | initEReference(getHostInstance_Applications(), this.getApplicationInstance(), | 634 | initEReference(getHostInstance_Applications(), this.getApplicationInstance(), |
718 | this.getApplicationInstance_AllocatedTo(), "applications", null, 0, -1, HostInstance.class, | 635 | this.getApplicationInstance_AllocatedTo(), "applications", null, 0, -1, HostInstance.class, |
719 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, | 636 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, |
@@ -721,45 +638,6 @@ public class CpsPackageImpl extends EPackageImpl implements CpsPackage { | |||
721 | 638 | ||
722 | // Create resource | 639 | // Create resource |
723 | createResource(eNS_URI); | 640 | createResource(eNS_URI); |
724 | |||
725 | // Create annotations | ||
726 | // http://www.eclipse.org/emf/2002/Ecore | ||
727 | createEcoreAnnotations(); | ||
728 | // org.eclipse.viatra.query.querybasedfeature | ||
729 | createOrgAnnotations(); | ||
730 | } | ||
731 | |||
732 | /** | ||
733 | * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>. | ||
734 | * <!-- begin-user-doc --> | ||
735 | * <!-- end-user-doc --> | ||
736 | * @generated | ||
737 | */ | ||
738 | protected void createEcoreAnnotations() { | ||
739 | String source = "http://www.eclipse.org/emf/2002/Ecore"; | ||
740 | addAnnotation(this, source, new String[] { "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" }); | ||
741 | } | ||
742 | |||
743 | /** | ||
744 | * Initializes the annotations for <b>org.eclipse.viatra.query.querybasedfeature</b>. | ||
745 | * <!-- begin-user-doc --> | ||
746 | * <!-- end-user-doc --> | ||
747 | * @generated | ||
748 | */ | ||
749 | protected void createOrgAnnotations() { | ||
750 | String source = "org.eclipse.viatra.query.querybasedfeature"; | ||
751 | addAnnotation(getCyberPhysicalSystem_Hosts(), source, | ||
752 | new String[] { "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.cps.queries.cpsHosts" }); | ||
753 | addAnnotation(getCyberPhysicalSystem_Applications(), source, | ||
754 | new String[] { "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.cps.queries.cpsApplications" }); | ||
755 | addAnnotation(getHostInstance_AvailableMemory(), source, | ||
756 | new String[] { "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.cps.queries.availableMemory" }); | ||
757 | addAnnotation(getHostInstance_AvailableHdd(), source, | ||
758 | new String[] { "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.cps.queries.availableHdd" }); | ||
759 | addAnnotation(getHostInstance_TotalMemory(), source, | ||
760 | new String[] { "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.cps.queries.totalMemory" }); | ||
761 | addAnnotation(getHostInstance_TotalHdd(), source, | ||
762 | new String[] { "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.cps.queries.totalHdd" }); | ||
763 | } | 641 | } |
764 | 642 | ||
765 | } //CpsPackageImpl | 643 | } //CpsPackageImpl |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CyberPhysicalSystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CyberPhysicalSystemImpl.java index 4d254f25..3ba111af 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CyberPhysicalSystemImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CyberPhysicalSystemImpl.java | |||
@@ -2,11 +2,9 @@ | |||
2 | */ | 2 | */ |
3 | package hu.bme.mit.inf.dslreasoner.domains.cps.impl; | 3 | package hu.bme.mit.inf.dslreasoner.domains.cps.impl; |
4 | 4 | ||
5 | import hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationInstance; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationType; | 5 | import hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationType; |
7 | import hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage; | 6 | import hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage; |
8 | import hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem; | 7 | import hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem; |
9 | import hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance; | ||
10 | import hu.bme.mit.inf.dslreasoner.domains.cps.HostType; | 8 | import hu.bme.mit.inf.dslreasoner.domains.cps.HostType; |
11 | import hu.bme.mit.inf.dslreasoner.domains.cps.Request; | 9 | import hu.bme.mit.inf.dslreasoner.domains.cps.Request; |
12 | 10 | ||
@@ -17,7 +15,6 @@ import org.eclipse.emf.common.notify.NotificationChain; | |||
17 | import org.eclipse.emf.common.util.EList; | 15 | import org.eclipse.emf.common.util.EList; |
18 | 16 | ||
19 | import org.eclipse.emf.ecore.EClass; | 17 | import org.eclipse.emf.ecore.EClass; |
20 | import org.eclipse.emf.ecore.EStructuralFeature; | ||
21 | import org.eclipse.emf.ecore.InternalEObject; | 18 | import org.eclipse.emf.ecore.InternalEObject; |
22 | 19 | ||
23 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 20 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
@@ -36,8 +33,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getRequests <em>Requests</em>}</li> | 33 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getRequests <em>Requests</em>}</li> |
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getApplicationTypes <em>Application Types</em>}</li> | 34 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getApplicationTypes <em>Application Types</em>}</li> |
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getHostTypes <em>Host Types</em>}</li> | 35 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getHostTypes <em>Host Types</em>}</li> |
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getHosts <em>Hosts</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.CyberPhysicalSystemImpl#getApplications <em>Applications</em>}</li> | ||
41 | * </ul> | 36 | * </ul> |
42 | * | 37 | * |
43 | * @generated | 38 | * @generated |
@@ -74,28 +69,6 @@ public class CyberPhysicalSystemImpl extends MinimalEObjectImpl.Container implem | |||
74 | protected EList<HostType> hostTypes; | 69 | protected EList<HostType> hostTypes; |
75 | 70 | ||
76 | /** | 71 | /** |
77 | * The cached setting delegate for the '{@link #getHosts() <em>Hosts</em>}' reference list. | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @see #getHosts() | ||
81 | * @generated | ||
82 | * @ordered | ||
83 | */ | ||
84 | protected EStructuralFeature.Internal.SettingDelegate HOSTS__ESETTING_DELEGATE = ((EStructuralFeature.Internal) CpsPackage.Literals.CYBER_PHYSICAL_SYSTEM__HOSTS) | ||
85 | .getSettingDelegate(); | ||
86 | |||
87 | /** | ||
88 | * The cached setting delegate for the '{@link #getApplications() <em>Applications</em>}' reference list. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @see #getApplications() | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | protected EStructuralFeature.Internal.SettingDelegate APPLICATIONS__ESETTING_DELEGATE = ((EStructuralFeature.Internal) CpsPackage.Literals.CYBER_PHYSICAL_SYSTEM__APPLICATIONS) | ||
96 | .getSettingDelegate(); | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | 72 | * <!-- begin-user-doc --> |
100 | * <!-- end-user-doc --> | 73 | * <!-- end-user-doc --> |
101 | * @generated | 74 | * @generated |
@@ -161,28 +134,6 @@ public class CyberPhysicalSystemImpl extends MinimalEObjectImpl.Container implem | |||
161 | * <!-- end-user-doc --> | 134 | * <!-- end-user-doc --> |
162 | * @generated | 135 | * @generated |
163 | */ | 136 | */ |
164 | @SuppressWarnings("unchecked") | ||
165 | @Override | ||
166 | public EList<HostInstance> getHosts() { | ||
167 | return (EList<HostInstance>) HOSTS__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @SuppressWarnings("unchecked") | ||
176 | @Override | ||
177 | public EList<ApplicationInstance> getApplications() { | ||
178 | return (EList<ApplicationInstance>) APPLICATIONS__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | 137 | @Override |
187 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 138 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
188 | switch (featureID) { | 139 | switch (featureID) { |
@@ -210,10 +161,6 @@ public class CyberPhysicalSystemImpl extends MinimalEObjectImpl.Container implem | |||
210 | return getApplicationTypes(); | 161 | return getApplicationTypes(); |
211 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__HOST_TYPES: | 162 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__HOST_TYPES: |
212 | return getHostTypes(); | 163 | return getHostTypes(); |
213 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__HOSTS: | ||
214 | return getHosts(); | ||
215 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__APPLICATIONS: | ||
216 | return getApplications(); | ||
217 | } | 164 | } |
218 | return super.eGet(featureID, resolve, coreType); | 165 | return super.eGet(featureID, resolve, coreType); |
219 | } | 166 | } |
@@ -278,10 +225,6 @@ public class CyberPhysicalSystemImpl extends MinimalEObjectImpl.Container implem | |||
278 | return applicationTypes != null && !applicationTypes.isEmpty(); | 225 | return applicationTypes != null && !applicationTypes.isEmpty(); |
279 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__HOST_TYPES: | 226 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__HOST_TYPES: |
280 | return hostTypes != null && !hostTypes.isEmpty(); | 227 | return hostTypes != null && !hostTypes.isEmpty(); |
281 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__HOSTS: | ||
282 | return HOSTS__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); | ||
283 | case CpsPackage.CYBER_PHYSICAL_SYSTEM__APPLICATIONS: | ||
284 | return APPLICATIONS__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); | ||
285 | } | 228 | } |
286 | return super.eIsSet(featureID); | 229 | return super.eIsSet(featureID); |
287 | } | 230 | } |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/HostInstanceImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/HostInstanceImpl.java index bbaca59c..551f2ed6 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/HostInstanceImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/HostInstanceImpl.java | |||
@@ -15,7 +15,6 @@ import org.eclipse.emf.common.notify.NotificationChain; | |||
15 | import org.eclipse.emf.common.util.EList; | 15 | import org.eclipse.emf.common.util.EList; |
16 | 16 | ||
17 | import org.eclipse.emf.ecore.EClass; | 17 | import org.eclipse.emf.ecore.EClass; |
18 | import org.eclipse.emf.ecore.EStructuralFeature; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | 18 | import org.eclipse.emf.ecore.InternalEObject; |
20 | 19 | ||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
@@ -34,10 +33,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
34 | * </p> | 33 | * </p> |
35 | * <ul> | 34 | * <ul> |
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getType <em>Type</em>}</li> | 35 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getType <em>Type</em>}</li> |
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getAvailableMemory <em>Available Memory</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getAvailableHdd <em>Available Hdd</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getTotalMemory <em>Total Memory</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getTotalHdd <em>Total Hdd</em>}</li> | ||
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getApplications <em>Applications</em>}</li> | 36 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.HostInstanceImpl#getApplications <em>Applications</em>}</li> |
42 | * </ul> | 37 | * </ul> |
43 | * | 38 | * |
@@ -45,50 +40,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
45 | */ | 40 | */ |
46 | public class HostInstanceImpl extends MinimalEObjectImpl.Container implements HostInstance { | 41 | public class HostInstanceImpl extends MinimalEObjectImpl.Container implements HostInstance { |
47 | /** | 42 | /** |
48 | * The cached setting delegate for the '{@link #getAvailableMemory() <em>Available Memory</em>}' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @see #getAvailableMemory() | ||
52 | * @generated | ||
53 | * @ordered | ||
54 | */ | ||
55 | protected EStructuralFeature.Internal.SettingDelegate AVAILABLE_MEMORY__ESETTING_DELEGATE = ((EStructuralFeature.Internal) CpsPackage.Literals.HOST_INSTANCE__AVAILABLE_MEMORY) | ||
56 | .getSettingDelegate(); | ||
57 | |||
58 | /** | ||
59 | * The cached setting delegate for the '{@link #getAvailableHdd() <em>Available Hdd</em>}' attribute. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @see #getAvailableHdd() | ||
63 | * @generated | ||
64 | * @ordered | ||
65 | */ | ||
66 | protected EStructuralFeature.Internal.SettingDelegate AVAILABLE_HDD__ESETTING_DELEGATE = ((EStructuralFeature.Internal) CpsPackage.Literals.HOST_INSTANCE__AVAILABLE_HDD) | ||
67 | .getSettingDelegate(); | ||
68 | |||
69 | /** | ||
70 | * The cached setting delegate for the '{@link #getTotalMemory() <em>Total Memory</em>}' attribute. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @see #getTotalMemory() | ||
74 | * @generated | ||
75 | * @ordered | ||
76 | */ | ||
77 | protected EStructuralFeature.Internal.SettingDelegate TOTAL_MEMORY__ESETTING_DELEGATE = ((EStructuralFeature.Internal) CpsPackage.Literals.HOST_INSTANCE__TOTAL_MEMORY) | ||
78 | .getSettingDelegate(); | ||
79 | |||
80 | /** | ||
81 | * The cached setting delegate for the '{@link #getTotalHdd() <em>Total Hdd</em>}' attribute. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @see #getTotalHdd() | ||
85 | * @generated | ||
86 | * @ordered | ||
87 | */ | ||
88 | protected EStructuralFeature.Internal.SettingDelegate TOTAL_HDD__ESETTING_DELEGATE = ((EStructuralFeature.Internal) CpsPackage.Literals.HOST_INSTANCE__TOTAL_HDD) | ||
89 | .getSettingDelegate(); | ||
90 | |||
91 | /** | ||
92 | * The cached value of the '{@link #getApplications() <em>Applications</em>}' reference list. | 43 | * The cached value of the '{@link #getApplications() <em>Applications</em>}' reference list. |
93 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
94 | * <!-- end-user-doc --> | 45 | * <!-- end-user-doc --> |
@@ -169,46 +120,6 @@ public class HostInstanceImpl extends MinimalEObjectImpl.Container implements Ho | |||
169 | * @generated | 120 | * @generated |
170 | */ | 121 | */ |
171 | @Override | 122 | @Override |
172 | public int getAvailableMemory() { | ||
173 | return (Integer) AVAILABLE_MEMORY__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | @Override | ||
182 | public int getAvailableHdd() { | ||
183 | return (Integer) AVAILABLE_HDD__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @generated | ||
190 | */ | ||
191 | @Override | ||
192 | public int getTotalMemory() { | ||
193 | return (Integer) TOTAL_MEMORY__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public int getTotalHdd() { | ||
203 | return (Integer) TOTAL_HDD__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public EList<ApplicationInstance> getApplications() { | 123 | public EList<ApplicationInstance> getApplications() { |
213 | if (applications == null) { | 124 | if (applications == null) { |
214 | applications = new EObjectWithInverseResolvingEList<ApplicationInstance>(ApplicationInstance.class, this, | 125 | applications = new EObjectWithInverseResolvingEList<ApplicationInstance>(ApplicationInstance.class, this, |
@@ -276,14 +187,6 @@ public class HostInstanceImpl extends MinimalEObjectImpl.Container implements Ho | |||
276 | switch (featureID) { | 187 | switch (featureID) { |
277 | case CpsPackage.HOST_INSTANCE__TYPE: | 188 | case CpsPackage.HOST_INSTANCE__TYPE: |
278 | return getType(); | 189 | return getType(); |
279 | case CpsPackage.HOST_INSTANCE__AVAILABLE_MEMORY: | ||
280 | return getAvailableMemory(); | ||
281 | case CpsPackage.HOST_INSTANCE__AVAILABLE_HDD: | ||
282 | return getAvailableHdd(); | ||
283 | case CpsPackage.HOST_INSTANCE__TOTAL_MEMORY: | ||
284 | return getTotalMemory(); | ||
285 | case CpsPackage.HOST_INSTANCE__TOTAL_HDD: | ||
286 | return getTotalHdd(); | ||
287 | case CpsPackage.HOST_INSTANCE__APPLICATIONS: | 190 | case CpsPackage.HOST_INSTANCE__APPLICATIONS: |
288 | return getApplications(); | 191 | return getApplications(); |
289 | } | 192 | } |
@@ -338,14 +241,6 @@ public class HostInstanceImpl extends MinimalEObjectImpl.Container implements Ho | |||
338 | switch (featureID) { | 241 | switch (featureID) { |
339 | case CpsPackage.HOST_INSTANCE__TYPE: | 242 | case CpsPackage.HOST_INSTANCE__TYPE: |
340 | return getType() != null; | 243 | return getType() != null; |
341 | case CpsPackage.HOST_INSTANCE__AVAILABLE_MEMORY: | ||
342 | return AVAILABLE_MEMORY__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); | ||
343 | case CpsPackage.HOST_INSTANCE__AVAILABLE_HDD: | ||
344 | return AVAILABLE_HDD__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); | ||
345 | case CpsPackage.HOST_INSTANCE__TOTAL_MEMORY: | ||
346 | return TOTAL_MEMORY__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); | ||
347 | case CpsPackage.HOST_INSTANCE__TOTAL_HDD: | ||
348 | return TOTAL_HDD__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); | ||
349 | case CpsPackage.HOST_INSTANCE__APPLICATIONS: | 244 | case CpsPackage.HOST_INSTANCE__APPLICATIONS: |
350 | return applications != null && !applications.isEmpty(); | 245 | return applications != null && !applications.isEmpty(); |
351 | } | 246 | } |