aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme')
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CpsPackage.java175
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CyberPhysicalSystem.java36
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/HostInstance.java68
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CpsPackageImpl.java124
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/CyberPhysicalSystemImpl.java57
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/impl/HostInstanceImpl.java105
6 files changed, 4 insertions, 561 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CpsPackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CpsPackage.java
index 2d7e0660..b0c69786 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CpsPackage.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CpsPackage.java
@@ -21,7 +21,6 @@ import org.eclipse.emf.ecore.EReference;
21 * <!-- end-user-doc --> 21 * <!-- end-user-doc -->
22 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsFactory 22 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsFactory
23 * @model kind="package" 23 * @model kind="package"
24 * annotation="http://www.eclipse.org/emf/2002/Ecore settingDelegates='org.eclipse.viatra.query.querybasedfeature'"
25 * @generated 24 * @generated
26 */ 25 */
27public interface CpsPackage extends EPackage { 26public interface CpsPackage extends EPackage {
@@ -95,31 +94,13 @@ public interface CpsPackage extends EPackage {
95 int CYBER_PHYSICAL_SYSTEM__HOST_TYPES = 2; 94 int CYBER_PHYSICAL_SYSTEM__HOST_TYPES = 2;
96 95
97 /** 96 /**
98 * The feature id for the '<em><b>Hosts</b></em>' reference list.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 * @ordered
103 */
104 int CYBER_PHYSICAL_SYSTEM__HOSTS = 3;
105
106 /**
107 * The feature id for the '<em><b>Applications</b></em>' reference list.
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 * @ordered
112 */
113 int CYBER_PHYSICAL_SYSTEM__APPLICATIONS = 4;
114
115 /**
116 * The number of structural features of the '<em>Cyber Physical System</em>' class. 97 * The number of structural features of the '<em>Cyber Physical System</em>' class.
117 * <!-- begin-user-doc --> 98 * <!-- begin-user-doc -->
118 * <!-- end-user-doc --> 99 * <!-- end-user-doc -->
119 * @generated 100 * @generated
120 * @ordered 101 * @ordered
121 */ 102 */
122 int CYBER_PHYSICAL_SYSTEM_FEATURE_COUNT = 5; 103 int CYBER_PHYSICAL_SYSTEM_FEATURE_COUNT = 3;
123 104
124 /** 105 /**
125 * The number of operations of the '<em>Cyber Physical System</em>' class. 106 * The number of operations of the '<em>Cyber Physical System</em>' class.
@@ -471,49 +452,13 @@ public interface CpsPackage extends EPackage {
471 int HOST_INSTANCE__TYPE = 0; 452 int HOST_INSTANCE__TYPE = 0;
472 453
473 /** 454 /**
474 * The feature id for the '<em><b>Available Memory</b></em>' attribute.
475 * <!-- begin-user-doc -->
476 * <!-- end-user-doc -->
477 * @generated
478 * @ordered
479 */
480 int HOST_INSTANCE__AVAILABLE_MEMORY = 1;
481
482 /**
483 * The feature id for the '<em><b>Available Hdd</b></em>' attribute.
484 * <!-- begin-user-doc -->
485 * <!-- end-user-doc -->
486 * @generated
487 * @ordered
488 */
489 int HOST_INSTANCE__AVAILABLE_HDD = 2;
490
491 /**
492 * The feature id for the '<em><b>Total Memory</b></em>' attribute.
493 * <!-- begin-user-doc -->
494 * <!-- end-user-doc -->
495 * @generated
496 * @ordered
497 */
498 int HOST_INSTANCE__TOTAL_MEMORY = 3;
499
500 /**
501 * The feature id for the '<em><b>Total Hdd</b></em>' attribute.
502 * <!-- begin-user-doc -->
503 * <!-- end-user-doc -->
504 * @generated
505 * @ordered
506 */
507 int HOST_INSTANCE__TOTAL_HDD = 4;
508
509 /**
510 * The feature id for the '<em><b>Applications</b></em>' reference list. 455 * The feature id for the '<em><b>Applications</b></em>' reference list.
511 * <!-- begin-user-doc --> 456 * <!-- begin-user-doc -->
512 * <!-- end-user-doc --> 457 * <!-- end-user-doc -->
513 * @generated 458 * @generated
514 * @ordered 459 * @ordered
515 */ 460 */
516 int HOST_INSTANCE__APPLICATIONS = 5; 461 int HOST_INSTANCE__APPLICATIONS = 1;
517 462
518 /** 463 /**
519 * The number of structural features of the '<em>Host Instance</em>' class. 464 * The number of structural features of the '<em>Host Instance</em>' class.
@@ -522,7 +467,7 @@ public interface CpsPackage extends EPackage {
522 * @generated 467 * @generated
523 * @ordered 468 * @ordered
524 */ 469 */
525 int HOST_INSTANCE_FEATURE_COUNT = 6; 470 int HOST_INSTANCE_FEATURE_COUNT = 2;
526 471
527 /** 472 /**
528 * The number of operations of the '<em>Host Instance</em>' class. 473 * The number of operations of the '<em>Host Instance</em>' class.
@@ -577,28 +522,6 @@ public interface CpsPackage extends EPackage {
577 EReference getCyberPhysicalSystem_HostTypes(); 522 EReference getCyberPhysicalSystem_HostTypes();
578 523
579 /** 524 /**
580 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getHosts <em>Hosts</em>}'.
581 * <!-- begin-user-doc -->
582 * <!-- end-user-doc -->
583 * @return the meta object for the reference list '<em>Hosts</em>'.
584 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getHosts()
585 * @see #getCyberPhysicalSystem()
586 * @generated
587 */
588 EReference getCyberPhysicalSystem_Hosts();
589
590 /**
591 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getApplications <em>Applications</em>}'.
592 * <!-- begin-user-doc -->
593 * <!-- end-user-doc -->
594 * @return the meta object for the reference list '<em>Applications</em>'.
595 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getApplications()
596 * @see #getCyberPhysicalSystem()
597 * @generated
598 */
599 EReference getCyberPhysicalSystem_Applications();
600
601 /**
602 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationType <em>Application Type</em>}'. 525 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationType <em>Application Type</em>}'.
603 * <!-- begin-user-doc --> 526 * <!-- begin-user-doc -->
604 * <!-- end-user-doc --> 527 * <!-- end-user-doc -->
@@ -867,50 +790,6 @@ public interface CpsPackage extends EPackage {
867 EReference getHostInstance_Type(); 790 EReference getHostInstance_Type();
868 791
869 /** 792 /**
870 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getAvailableMemory <em>Available Memory</em>}'.
871 * <!-- begin-user-doc -->
872 * <!-- end-user-doc -->
873 * @return the meta object for the attribute '<em>Available Memory</em>'.
874 * @see hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getAvailableMemory()
875 * @see #getHostInstance()
876 * @generated
877 */
878 EAttribute getHostInstance_AvailableMemory();
879
880 /**
881 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getAvailableHdd <em>Available Hdd</em>}'.
882 * <!-- begin-user-doc -->
883 * <!-- end-user-doc -->
884 * @return the meta object for the attribute '<em>Available Hdd</em>'.
885 * @see hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getAvailableHdd()
886 * @see #getHostInstance()
887 * @generated
888 */
889 EAttribute getHostInstance_AvailableHdd();
890
891 /**
892 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getTotalMemory <em>Total Memory</em>}'.
893 * <!-- begin-user-doc -->
894 * <!-- end-user-doc -->
895 * @return the meta object for the attribute '<em>Total Memory</em>'.
896 * @see hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getTotalMemory()
897 * @see #getHostInstance()
898 * @generated
899 */
900 EAttribute getHostInstance_TotalMemory();
901
902 /**
903 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getTotalHdd <em>Total Hdd</em>}'.
904 * <!-- begin-user-doc -->
905 * <!-- end-user-doc -->
906 * @return the meta object for the attribute '<em>Total Hdd</em>'.
907 * @see hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getTotalHdd()
908 * @see #getHostInstance()
909 * @generated
910 */
911 EAttribute getHostInstance_TotalHdd();
912
913 /**
914 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getApplications <em>Applications</em>}'. 793 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getApplications <em>Applications</em>}'.
915 * <!-- begin-user-doc --> 794 * <!-- begin-user-doc -->
916 * <!-- end-user-doc --> 795 * <!-- end-user-doc -->
@@ -979,22 +858,6 @@ public interface CpsPackage extends EPackage {
979 EReference CYBER_PHYSICAL_SYSTEM__HOST_TYPES = eINSTANCE.getCyberPhysicalSystem_HostTypes(); 858 EReference CYBER_PHYSICAL_SYSTEM__HOST_TYPES = eINSTANCE.getCyberPhysicalSystem_HostTypes();
980 859
981 /** 860 /**
982 * The meta object literal for the '<em><b>Hosts</b></em>' reference list feature.
983 * <!-- begin-user-doc -->
984 * <!-- end-user-doc -->
985 * @generated
986 */
987 EReference CYBER_PHYSICAL_SYSTEM__HOSTS = eINSTANCE.getCyberPhysicalSystem_Hosts();
988
989 /**
990 * The meta object literal for the '<em><b>Applications</b></em>' reference list feature.
991 * <!-- begin-user-doc -->
992 * <!-- end-user-doc -->
993 * @generated
994 */
995 EReference CYBER_PHYSICAL_SYSTEM__APPLICATIONS = eINSTANCE.getCyberPhysicalSystem_Applications();
996
997 /**
998 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.ApplicationTypeImpl <em>Application Type</em>}' class. 861 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.cps.impl.ApplicationTypeImpl <em>Application Type</em>}' class.
999 * <!-- begin-user-doc --> 862 * <!-- begin-user-doc -->
1000 * <!-- end-user-doc --> 863 * <!-- end-user-doc -->
@@ -1209,38 +1072,6 @@ public interface CpsPackage extends EPackage {
1209 EReference HOST_INSTANCE__TYPE = eINSTANCE.getHostInstance_Type(); 1072 EReference HOST_INSTANCE__TYPE = eINSTANCE.getHostInstance_Type();
1210 1073
1211 /** 1074 /**
1212 * The meta object literal for the '<em><b>Available Memory</b></em>' attribute feature.
1213 * <!-- begin-user-doc -->
1214 * <!-- end-user-doc -->
1215 * @generated
1216 */
1217 EAttribute HOST_INSTANCE__AVAILABLE_MEMORY = eINSTANCE.getHostInstance_AvailableMemory();
1218
1219 /**
1220 * The meta object literal for the '<em><b>Available Hdd</b></em>' attribute feature.
1221 * <!-- begin-user-doc -->
1222 * <!-- end-user-doc -->
1223 * @generated
1224 */
1225 EAttribute HOST_INSTANCE__AVAILABLE_HDD = eINSTANCE.getHostInstance_AvailableHdd();
1226
1227 /**
1228 * The meta object literal for the '<em><b>Total Memory</b></em>' attribute feature.
1229 * <!-- begin-user-doc -->
1230 * <!-- end-user-doc -->
1231 * @generated
1232 */
1233 EAttribute HOST_INSTANCE__TOTAL_MEMORY = eINSTANCE.getHostInstance_TotalMemory();
1234
1235 /**
1236 * The meta object literal for the '<em><b>Total Hdd</b></em>' attribute feature.
1237 * <!-- begin-user-doc -->
1238 * <!-- end-user-doc -->
1239 * @generated
1240 */
1241 EAttribute HOST_INSTANCE__TOTAL_HDD = eINSTANCE.getHostInstance_TotalHdd();
1242
1243 /**
1244 * The meta object literal for the '<em><b>Applications</b></em>' reference list feature. 1075 * The meta object literal for the '<em><b>Applications</b></em>' reference list feature.
1245 * <!-- begin-user-doc --> 1076 * <!-- begin-user-doc -->
1246 * <!-- end-user-doc --> 1077 * <!-- end-user-doc -->
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CyberPhysicalSystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CyberPhysicalSystem.java
index 541916ba..fbf4ce0d 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CyberPhysicalSystem.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/CyberPhysicalSystem.java
@@ -18,8 +18,6 @@ import org.eclipse.emf.ecore.EObject;
18 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getRequests <em>Requests</em>}</li> 18 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getRequests <em>Requests</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getApplicationTypes <em>Application Types</em>}</li> 19 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getApplicationTypes <em>Application Types</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getHostTypes <em>Host Types</em>}</li> 20 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getHostTypes <em>Host Types</em>}</li>
21 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getHosts <em>Hosts</em>}</li>
22 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem#getApplications <em>Applications</em>}</li>
23 * </ul> 21 * </ul>
24 * 22 *
25 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getCyberPhysicalSystem() 23 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getCyberPhysicalSystem()
@@ -75,38 +73,4 @@ public interface CyberPhysicalSystem extends EObject {
75 */ 73 */
76 EList<HostType> getHostTypes(); 74 EList<HostType> getHostTypes();
77 75
78 /**
79 * Returns the value of the '<em><b>Hosts</b></em>' reference list.
80 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance}.
81 * <!-- begin-user-doc -->
82 * <p>
83 * If the meaning of the '<em>Hosts</em>' reference list isn't clear,
84 * there really should be more of a description here...
85 * </p>
86 * <!-- end-user-doc -->
87 * @return the value of the '<em>Hosts</em>' reference list.
88 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getCyberPhysicalSystem_Hosts()
89 * @model transient="true" changeable="false" volatile="true" derived="true"
90 * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.cps.queries.cpsHosts'"
91 * @generated
92 */
93 EList<HostInstance> getHosts();
94
95 /**
96 * Returns the value of the '<em><b>Applications</b></em>' reference list.
97 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationInstance}.
98 * <!-- begin-user-doc -->
99 * <p>
100 * If the meaning of the '<em>Applications</em>' reference list isn't clear,
101 * there really should be more of a description here...
102 * </p>
103 * <!-- end-user-doc -->
104 * @return the value of the '<em>Applications</em>' reference list.
105 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getCyberPhysicalSystem_Applications()
106 * @model transient="true" changeable="false" volatile="true" derived="true"
107 * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.cps.queries.cpsApplications'"
108 * @generated
109 */
110 EList<ApplicationInstance> getApplications();
111
112} // CyberPhysicalSystem 76} // CyberPhysicalSystem
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/HostInstance.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/HostInstance.java
index 43379e0f..b4721842 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/HostInstance.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/cps/HostInstance.java
@@ -16,10 +16,6 @@ import org.eclipse.emf.ecore.EObject;
16 * </p> 16 * </p>
17 * <ul> 17 * <ul>
18 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getType <em>Type</em>}</li> 18 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getType <em>Type</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getAvailableMemory <em>Available Memory</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getAvailableHdd <em>Available Hdd</em>}</li>
21 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getTotalMemory <em>Total Memory</em>}</li>
22 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getTotalHdd <em>Total Hdd</em>}</li>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getApplications <em>Applications</em>}</li> 19 * <li>{@link hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance#getApplications <em>Applications</em>}</li>
24 * </ul> 20 * </ul>
25 * 21 *
@@ -57,70 +53,6 @@ public interface HostInstance extends EObject {
57 void setType(HostType value); 53 void setType(HostType value);
58 54
59 /** 55 /**
60 * Returns the value of the '<em><b>Available Memory</b></em>' attribute.
61 * <!-- begin-user-doc -->
62 * <p>
63 * If the meaning of the '<em>Available Memory</em>' attribute isn't clear,
64 * there really should be more of a description here...
65 * </p>
66 * <!-- end-user-doc -->
67 * @return the value of the '<em>Available Memory</em>' attribute.
68 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getHostInstance_AvailableMemory()
69 * @model transient="true" changeable="false" volatile="true" derived="true"
70 * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.cps.queries.availableMemory'"
71 * @generated
72 */
73 int getAvailableMemory();
74
75 /**
76 * Returns the value of the '<em><b>Available Hdd</b></em>' attribute.
77 * <!-- begin-user-doc -->
78 * <p>
79 * If the meaning of the '<em>Available Hdd</em>' attribute isn't clear,
80 * there really should be more of a description here...
81 * </p>
82 * <!-- end-user-doc -->
83 * @return the value of the '<em>Available Hdd</em>' attribute.
84 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getHostInstance_AvailableHdd()
85 * @model transient="true" changeable="false" volatile="true" derived="true"
86 * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.cps.queries.availableHdd'"
87 * @generated
88 */
89 int getAvailableHdd();
90
91 /**
92 * Returns the value of the '<em><b>Total Memory</b></em>' attribute.
93 * <!-- begin-user-doc -->
94 * <p>
95 * If the meaning of the '<em>Total Memory</em>' attribute isn't clear,
96 * there really should be more of a description here...
97 * </p>
98 * <!-- end-user-doc -->
99 * @return the value of the '<em>Total Memory</em>' attribute.
100 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getHostInstance_TotalMemory()
101 * @model transient="true" changeable="false" volatile="true" derived="true"
102 * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.cps.queries.totalMemory'"
103 * @generated
104 */
105 int getTotalMemory();
106
107 /**
108 * Returns the value of the '<em><b>Total Hdd</b></em>' attribute.
109 * <!-- begin-user-doc -->
110 * <p>
111 * If the meaning of the '<em>Total Hdd</em>' attribute isn't clear,
112 * there really should be more of a description here...
113 * </p>
114 * <!-- end-user-doc -->
115 * @return the value of the '<em>Total Hdd</em>' attribute.
116 * @see hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage#getHostInstance_TotalHdd()
117 * @model transient="true" changeable="false" volatile="true" derived="true"
118 * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.cps.queries.totalHdd'"
119 * @generated
120 */
121 int getTotalHdd();
122
123 /**
124 * Returns the value of the '<em><b>Applications</b></em>' reference list. 56 * Returns the value of the '<em><b>Applications</b></em>' reference list.
125 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationInstance}. 57 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationInstance}.
126 * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationInstance#getAllocatedTo <em>Allocated To</em>}'. 58 * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationInstance#getAllocatedTo <em>Allocated To</em>}'.
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 */
3package hu.bme.mit.inf.dslreasoner.domains.cps.impl; 3package hu.bme.mit.inf.dslreasoner.domains.cps.impl;
4 4
5import hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationInstance;
6import hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationType; 5import hu.bme.mit.inf.dslreasoner.domains.cps.ApplicationType;
7import hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage; 6import hu.bme.mit.inf.dslreasoner.domains.cps.CpsPackage;
8import hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem; 7import hu.bme.mit.inf.dslreasoner.domains.cps.CyberPhysicalSystem;
9import hu.bme.mit.inf.dslreasoner.domains.cps.HostInstance;
10import hu.bme.mit.inf.dslreasoner.domains.cps.HostType; 8import hu.bme.mit.inf.dslreasoner.domains.cps.HostType;
11import hu.bme.mit.inf.dslreasoner.domains.cps.Request; 9import hu.bme.mit.inf.dslreasoner.domains.cps.Request;
12 10
@@ -17,7 +15,6 @@ import org.eclipse.emf.common.notify.NotificationChain;
17import org.eclipse.emf.common.util.EList; 15import org.eclipse.emf.common.util.EList;
18 16
19import org.eclipse.emf.ecore.EClass; 17import org.eclipse.emf.ecore.EClass;
20import org.eclipse.emf.ecore.EStructuralFeature;
21import org.eclipse.emf.ecore.InternalEObject; 18import org.eclipse.emf.ecore.InternalEObject;
22 19
23import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 20import 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;
15import org.eclipse.emf.common.util.EList; 15import org.eclipse.emf.common.util.EList;
16 16
17import org.eclipse.emf.ecore.EClass; 17import org.eclipse.emf.ecore.EClass;
18import org.eclipse.emf.ecore.EStructuralFeature;
19import org.eclipse.emf.ecore.InternalEObject; 18import org.eclipse.emf.ecore.InternalEObject;
20 19
21import org.eclipse.emf.ecore.impl.ENotificationImpl; 20import 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 */
46public class HostInstanceImpl extends MinimalEObjectImpl.Container implements HostInstance { 41public 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 }