Initial Commit

This commit is contained in:
Matthias
2017-04-11 15:47:10 +02:00
commit 7c274da003
1344 changed files with 345586 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="libs/sqlite-jdbc-3.7.2.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
+28
View File
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>WFRperfTool</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
+3
View File
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
encoding//dbmodel/WFRperfToolModel.ecore=UTF-8
encoding//dbmodel/WFRperfToolModel.ecorediag=UTF-8
+7
View File
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
+21
View File
@@ -0,0 +1,21 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: WFRperfTool;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .,
libs/sqlite-jdbc-3.7.2.jar
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.emf.teneo;bundle-version="2.0.1",
org.eclipse.emf.teneo.hibernate;bundle-version="2.0.1",
org.hibernate;bundle-version="4.1.1",
org.apache.commons.logging;bundle-version="1.1.1",
javax.persistence;bundle-version="2.0.1"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: at.ac.uibk.wfr.perftool,
at.ac.uibk.wfr.perftool.impl,
at.ac.uibk.wfr.perftool.util
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+29
View File
@@ -0,0 +1,29 @@
## Debug Settings
hibernate.show_sql=true
hibernate.format_sql=true
hibernate.use_sql_comments=true
hibernate.connection.driver_class=org.sqlite.JDBC
hibernate.connection.url=jdbc\:sqlite\:default.sqlite
## Database Creation Mode (validate | update | create | create-drop)
hibernate.hbm2ddl.auto=validate
hibernate.dialect=perftoolutils.SQLiteDialect
teneo.naming.join_column_naming_strategy=simple
## Teneo Settings
teneo.mapping.disable_econtainer=true
teneo.mapping.always_version=false
teneo.mapping.inheritance=JOINED
teneo.naming.sql_fk_name_prefix=fk_
teneo.naming.set_foreign_key_name=true
hibernate.jdbc.batch_size=30
## Teneo Cache Settings
#hibernate.cache.use_second_level_cache=false
#hibernate.cache.use_query_cache=false
#teneo.mapping.default_cache_strategy=NONE
#hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory
+11
View File
@@ -0,0 +1,11 @@
#
bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties,\
libs/sqlite-jdbc-3.7.2.jar
jars.compile.order = .
source.. = src/
output.. = bin/
+124
View File
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="perftool" nsURI="http://at.ac.uibk.wfr.perftool/1.0" nsPrefix="perftool">
<eClassifiers xsi:type="ecore:EClass" name="Workflow">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="wfid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="uuid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="toplevelActivity" eType="#//Activity"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="statusEvents" ordered="false"
upperBound="-1" eType="#//WorkflowStatusEvent" containment="true" eOpposite="#//WorkflowStatusEvent/parentWorkflow"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="deviceEvents" ordered="false"
upperBound="-1" eType="#//DeviceInstanceStatusEvent" containment="true" eOpposite="#//DeviceInstanceStatusEvent/parentWorkflow"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="componentEvents" ordered="false"
upperBound="-1" eType="#//ComponentStatusEvent" containment="true" eOpposite="#//ComponentStatusEvent/workflow"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Activity">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="actid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="branchID" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentWorkflow" ordered="false"
lowerBound="1" eType="#//Workflow"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="instances" ordered="false"
upperBound="-1" eType="#//ActivityInstance" containment="true" eOpposite="#//ActivityInstance/baseActivity"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="statusEvents" ordered="false"
upperBound="-1" eType="#//ActivityStatusEvent" containment="true" eOpposite="#//ActivityStatusEvent/parentActivity"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//Activity"
eOpposite="#//Activity/children"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="children" ordered="false"
upperBound="-1" eType="#//Activity" containment="true" eOpposite="#//Activity/parent"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ActivityInstance">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="instid" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="iterationID" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="baseActivity" lowerBound="1"
eType="#//Activity" eOpposite="#//Activity/instances"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentWorkflow" eType="#//Workflow"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentInstance" eType="#//ActivityInstance"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="statusEvents" ordered="false"
upperBound="-1" eType="#//ActivityInstanceStatusEvent" containment="true"
eOpposite="#//ActivityInstanceStatusEvent/parentInstance"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="WorkflowStatusEvent">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="newStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oldStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="timestamp" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentWorkflow" lowerBound="1"
eType="#//Workflow" eOpposite="#//Workflow/statusEvents"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ActivityStatusEvent">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="newStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oldStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="timestamp" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentActivity" lowerBound="1"
eType="#//Activity" eOpposite="#//Activity/statusEvents"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ActivityInstanceStatusEvent">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="newStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oldStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="timestamp" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentInstance" lowerBound="1"
eType="#//ActivityInstance" eOpposite="#//ActivityInstance/statusEvents"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DeviceInstanceStatusEvent">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="deviceType" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="deviceID" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="newStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oldStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="timestamp" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="executedImplID" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="deviceSlotCount" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentWorkflow" eType="#//Workflow"
eOpposite="#//Workflow/deviceEvents"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="executedInstance" eType="#//ActivityInstance"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentStatusEvent">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
iD="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="componentType" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="newStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="oldStatus" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="timestamp" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="workflow" eType="#//Workflow"
eOpposite="#//Workflow/componentEvents"/>
</eClassifiers>
</ecore:EPackage>
+528
View File
@@ -0,0 +1,528 @@
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_vL5rkNp9EeO3ccjZ47FaOA" type="EcoreTools" name="WFRperfToolModel" measurementUnit="Pixel">
<children xmi:type="notation:Node" xmi:id="_Z3-lgNp-EeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_Z4BBwNp-EeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_Z4Bo0Np-EeO3ccjZ47FaOA" type="5001">
<children xmi:type="notation:Node" xmi:id="_i9jC4Np-EeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Workflow/oid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_i9jC4dp-EeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_kG_XMNp-EeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Workflow/wfid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_kG_XMdp-EeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_khFSMNp-EeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Workflow/uuid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_khFSMdp-EeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_lKbKINp-EeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Workflow/name"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_lKbKIdp-EeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_Z4Bo0dp-EeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_Z4Bo0tp-EeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_Z4Bo09p-EeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_Z4CP4Np-EeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_Z4CP4dp-EeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_Z4CP4tp-EeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_Z4CP49p-EeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_Z3_MkNp-EeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//Workflow"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_Z3_Mkdp-EeO3ccjZ47FaOA" x="145" y="110"/>
</children>
<children xmi:type="notation:Node" xmi:id="_M7DBwNqOEeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_M7EP4NqOEeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_M7E28NqOEeO3ccjZ47FaOA" type="5001">
<children xmi:type="notation:Node" xmi:id="_OKOKoNqOEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Activity/oid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_OKOKodqOEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_PEDVoNqOEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Activity/actid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_PEDVodqOEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_PlPXINqOEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Activity/name"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_PlPXIdqOEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_P2BlINqOEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Activity/type"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_P2BlIdqOEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_Q_CboNqOEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//Activity/branchID"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_Q_CbodqOEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_M7E28dqOEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_M7E28tqOEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_M7E289qOEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_M7E29NqOEeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_M7E29dqOEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_M7E29tqOEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_M7E299qOEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_M7DBwdqOEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//Activity"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_M7DBwtqOEeO3ccjZ47FaOA" x="445" y="115"/>
</children>
<children xmi:type="notation:Node" xmi:id="_wHYaYNqTEeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_wHZBcNqTEeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_wHZBcdqTEeO3ccjZ47FaOA" type="5001">
<children xmi:type="notation:Node" xmi:id="_07XGwNqTEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ActivityInstance/oid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_07XGwdqTEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_1g0kQNqTEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ActivityInstance/instid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_1g0kQdqTEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_2N6TwNqTEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ActivityInstance/iterationID"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_2N6TwdqTEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_wHZBctqTEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_wHZBc9qTEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_wHZBdNqTEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_wHZogNqTEeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_wHZogdqTEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_wHZogtqTEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_wHZog9qTEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_wHYaYdqTEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//ActivityInstance"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_wHYaYtqTEeO3ccjZ47FaOA" x="440" y="315"/>
</children>
<children xmi:type="notation:Node" xmi:id="_aLpGYNqUEeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_aLqUgNqUEeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_aLqUgdqUEeO3ccjZ47FaOA" type="5001">
<children xmi:type="notation:Node" xmi:id="_carJwNqUEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//WorkflowStatusEvent/oid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_carJwdqUEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_dq2YMNqUEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//WorkflowStatusEvent/newStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_dq2YMdqUEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_gdEoMNqUEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//WorkflowStatusEvent/oldStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_gdEoMdqUEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_hW06sNqUEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//WorkflowStatusEvent/timestamp"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_hW06sdqUEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_aLqUgtqUEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_aLqUg9qUEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_aLqUhNqUEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_aLq7kNqUEeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_aLq7kdqUEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_aLq7ktqUEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_aLq7k9qUEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_aLpGYdqUEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//WorkflowStatusEvent"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_aLpGYtqUEeO3ccjZ47FaOA" x="90" y="330" height="103"/>
</children>
<children xmi:type="notation:Node" xmi:id="_CJ2r4NqVEeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_CJ3S8NqVEeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_CJ36ANqVEeO3ccjZ47FaOA" type="5001">
<children xmi:type="notation:Node" xmi:id="_Ds2vsNqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ActivityStatusEvent/oid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_Ds2vsdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_ESFjsNqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ActivityStatusEvent/newStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_ESFjsdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_EuKbsNqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ActivityStatusEvent/oldStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_EuKbsdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_FN99INqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ActivityStatusEvent/timestamp"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_FN99IdqVEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_CJ36AdqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_CJ36AtqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_CJ36A9qVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_CJ36BNqVEeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_CJ36BdqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_CJ36BtqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_CJ36B9qVEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_CJ2r4dqVEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//ActivityStatusEvent"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_CJ2r4tqVEeO3ccjZ47FaOA" x="730" y="110"/>
</children>
<children xmi:type="notation:Node" xmi:id="_b9m90NqVEeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_b9qBINqVEeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_b9qBIdqVEeO3ccjZ47FaOA" type="5001">
<styles xmi:type="notation:DrawerStyle" xmi:id="_b9qBItqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_b9qBI9qVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_b9qBJNqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_b9qoMNqVEeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_b9qoMdqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_b9qoMtqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_b9qoM9qVEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_b9m90dqVEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//ActivityInstanceStatusEvent"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_b9m90tqVEeO3ccjZ47FaOA" x="685" y="300"/>
</children>
<children xmi:type="notation:Node" xmi:id="_oaR54NqVEeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_oaUWINqVEeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_oaU9MNqVEeO3ccjZ47FaOA" type="5001">
<children xmi:type="notation:Node" xmi:id="_p5Y8MNqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/oid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_p5Y8MdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_riEKMNqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/deviceType"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_riEKMdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_sdpBoNqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/deviceID"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_sdpBodqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_s-EOINqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/newStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_s-EOIdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_tbg_INqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/oldStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_tbg_IdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_t-YboNqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/timestamp"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_t-YbodqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_uqZ0INqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/executedImplID"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_uqZ0IdqVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_w_UdENqVEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/deviceSlotCount"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_w_UdEdqVEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_oaU9MdqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_oaU9MtqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_oaU9M9qVEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_oaU9NNqVEeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_oaU9NdqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_oaU9NtqVEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_oaU9N9qVEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_oaR54dqVEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_oaR54tqVEeO3ccjZ47FaOA" x="215" y="-150"/>
</children>
<children xmi:type="notation:Node" xmi:id="_hB1awNqXEeO3ccjZ47FaOA" type="1001">
<children xmi:type="notation:Node" xmi:id="_hB33ANqXEeO3ccjZ47FaOA" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_hB33AdqXEeO3ccjZ47FaOA" type="5001">
<children xmi:type="notation:Node" xmi:id="_jLDxENqXEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ComponentStatusEvent/oid"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_jLDxEdqXEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_jx0PENqXEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ComponentStatusEvent/componentType"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_jx0PEdqXEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_lUwogNqXEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ComponentStatusEvent/newStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_lUwogdqXEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_mABMANqXEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ComponentStatusEvent/oldStatus"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_mABMAdqXEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_mq5VANqXEeO3ccjZ47FaOA" type="2001">
<element xmi:type="ecore:EAttribute" href="WFRperfToolModel.ecore#//ComponentStatusEvent/timestamp"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_mq5VAdqXEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_hB33AtqXEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_hB33A9qXEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_hB33BNqXEeO3ccjZ47FaOA"/>
</children>
<children xmi:type="notation:Node" xmi:id="_hB4eENqXEeO3ccjZ47FaOA" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_hB4eEdqXEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_hB4eEtqXEeO3ccjZ47FaOA"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_hB4eE9qXEeO3ccjZ47FaOA"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_hB1awdqXEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="WFRperfToolModel.ecore#//ComponentStatusEvent"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_hB1awtqXEeO3ccjZ47FaOA" x="545" y="-90"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_vL5rkdp9EeO3ccjZ47FaOA"/>
<element xmi:type="ecore:EPackage" href="WFRperfToolModel.ecore#/"/>
<edges xmi:type="notation:Edge" xmi:id="_fEmBENqOEeO3ccjZ47FaOA" type="3002" source="_M7DBwNqOEeO3ccjZ47FaOA" target="_Z3-lgNp-EeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_fEmoINqOEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_fEmoIdqOEeO3ccjZ47FaOA" x="-38" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_fEmoItqOEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_fEmoI9qOEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_fEmBEdqOEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_fEmBEtqOEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Activity/parentWorkflow"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_fEmBE9qOEeO3ccjZ47FaOA" points="[62, -41, 283, -23]$[-193, -18, 28, 0]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hWLpMNqOEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hWLpMdqOEeO3ccjZ47FaOA" id="(0.7777777777777778,0.6597938144329897)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_i3lKgNqOEeO3ccjZ47FaOA" type="3002" source="_Z3-lgNp-EeO3ccjZ47FaOA" target="_M7DBwNqOEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_i3lxkNqOEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_i3lxkdqOEeO3ccjZ47FaOA" x="-67" y="-15"/>
</children>
<children xmi:type="notation:Node" xmi:id="_i3mYoNqOEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_i3mYodqOEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_i3lKgdqOEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_i3lKgtqOEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Workflow/toplevelActivity"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_i3lKg9qOEeO3ccjZ47FaOA" points="[62, 0, -238, -13]$[238, -23, -62, -36]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_q8kiYNqTEeO3ccjZ47FaOA" id="(0.9126984126984127,0.18556701030927836)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rP8KUNqTEeO3ccjZ47FaOA" id="(0.10317460317460317,0.20353982300884957)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_-fjZ0NqTEeO3ccjZ47FaOA" type="3002" source="_wHYaYNqTEeO3ccjZ47FaOA" target="_M7DBwNqOEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_-fjZ1NqTEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_-fjZ1dqTEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_-fkA4NqTEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_-fkA4dqTEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_-fjZ0dqTEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_-fjZ0tqTEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//ActivityInstance/baseActivity"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-fjZ09qTEeO3ccjZ47FaOA" points="[66, -1, 64, 183]$[7, -128, 5, 56]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EBpJYNqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EBpJYdqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_B9ZZsNqUEeO3ccjZ47FaOA" type="3002" source="_M7DBwNqOEeO3ccjZ47FaOA" target="_wHYaYNqTEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_B9aAwtqUEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_B9aAw9qUEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_B9an0NqUEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_B9an0dqUEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_B9ZZsdqUEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_B9aAwNqUEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Activity/instances"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_B9aAwdqUEeO3ccjZ47FaOA" points="[5, 56, 7, -128]$[64, 183, 66, -1]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EBnUMNqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EBnUMdqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_GAVqsNqUEeO3ccjZ47FaOA" type="3002" source="_wHYaYNqTEeO3ccjZ47FaOA" target="_Z3-lgNp-EeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_GAWRwNqUEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_GAWRwdqUEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_GAWRwtqUEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_GAWRw9qUEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_GAVqsdqUEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_GAVqstqUEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//ActivityInstance/parentWorkflow"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GAVqs9qUEeO3ccjZ47FaOA" points="[-29, -22, 233, 175]$[-261, -149, 1, 48]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GAZVENqUEeO3ccjZ47FaOA" id="(0.22556390977443608,0.49382716049382713)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_JDaaINqUEeO3ccjZ47FaOA" type="3002" source="_wHYaYNqTEeO3ccjZ47FaOA" target="_wHYaYNqTEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_JDbBMNqUEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_JDbBMdqUEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_JDbBMtqUEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_JDbBM9qUEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_JDaaIdqUEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_JDaaItqUEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//ActivityInstance/parentInstance"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JDaaI9qUEeO3ccjZ47FaOA" points="[-1, 40, 2, 20]$[-1, 40, 2, 20]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JDeEgNqUEeO3ccjZ47FaOA" id="(0.8270676691729323,0.49382716049382713)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JDerkNqUEeO3ccjZ47FaOA" id="(0.8045112781954887,0.7530864197530864)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_qkztMNqUEeO3ccjZ47FaOA" type="3002" source="_aLpGYNqUEeO3ccjZ47FaOA" target="_Z3-lgNp-EeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_qkztNNqUEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_qkztNdqUEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_qk0UQNqUEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_qk0UQdqUEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_qkztMdqUEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_qkztMtqUEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//WorkflowStatusEvent/parentWorkflow"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qkztM9qUEeO3ccjZ47FaOA" points="[32, 51, -8, 274]$[35, -175, -5, 48]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vrM_QNqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vrM_QdqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_tK0GINqUEeO3ccjZ47FaOA" type="3002" source="_Z3-lgNp-EeO3ccjZ47FaOA" target="_aLpGYNqUEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_tK0tMNqUEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_tK0tMdqUEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_tK0tMtqUEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_tK0tM9qUEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_tK0GIdqUEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_tK0GItqUEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Workflow/statusEvents"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_tK0GI9qUEeO3ccjZ47FaOA" points="[-5, 48, 35, -175]$[-8, 274, 32, 51]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vrKjANqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vrKjAdqUEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_NMnOsNqVEeO3ccjZ47FaOA" type="3002" source="_CJ2r4NqVEeO3ccjZ47FaOA" target="_M7DBwNqOEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_NMn1wNqVEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_NMn1wdqVEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_NMoc0NqVEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_NMoc0dqVEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_NMnOsdqVEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_NMnOstqVEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//ActivityStatusEvent/parentActivity"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NMnOs9qVEeO3ccjZ47FaOA" points="[56, -47, 321, -29]$[-238, -13, 27, 5]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Q9eRMNqVEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Q9eRMdqVEeO3ccjZ47FaOA" id="(0.7857142857142857,0.22123893805309736)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_PSWzMNqVEeO3ccjZ47FaOA" type="3002" source="_M7DBwNqOEeO3ccjZ47FaOA" target="_CJ2r4NqVEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_PSWzNNqVEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_PSWzNdqVEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_PSXaQNqVEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_PSXaQdqVEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_PSWzMdqVEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_PSWzMtqVEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Activity/statusEvents"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PSWzM9qVEeO3ccjZ47FaOA" points="[27, 5, -238, -13]$[321, -29, 56, -47]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PSZ2gNqVEeO3ccjZ47FaOA" id="(0.7857142857142857,0.22123893805309736)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Q9dDENqVEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_c0VxgNqVEeO3ccjZ47FaOA" type="3002" source="_b9m90NqVEeO3ccjZ47FaOA" target="_wHYaYNqTEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_c0WYkNqVEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_c0WYkdqVEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_c0WYktqVEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_c0WYk9qVEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_c0VxgdqVEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_c0VxgtqVEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//ActivityInstanceStatusEvent/parentInstance"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_c0Vxg9qVEeO3ccjZ47FaOA" points="[1, -12, 176, -32]$[-157, 18, 18, -2]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_gtyIQNqVEeO3ccjZ47FaOA" id="(0.22110552763819097,0.13402061855670103)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_gtyIQdqVEeO3ccjZ47FaOA" id="(0.8646616541353384,0.2222222222222222)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_fAticNqVEeO3ccjZ47FaOA" type="3002" source="_wHYaYNqTEeO3ccjZ47FaOA" target="_b9m90NqVEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_fAuJgNqVEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_fAuJgdqVEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_fAuJgtqVEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_fAuwkNqVEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_fAticdqVEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_fAtictqVEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//ActivityInstance/statusEvents"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_fAtic9qVEeO3ccjZ47FaOA" points="[18, -2, -157, 18]$[176, -32, 1, -12]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fAxM0NqVEeO3ccjZ47FaOA" id="(0.8646616541353384,0.2222222222222222)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fAxM0dqVEeO3ccjZ47FaOA" id="(0.22110552763819097,0.13402061855670103)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_CuoXcNqWEeO3ccjZ47FaOA" type="3002" source="_oaR54NqVEeO3ccjZ47FaOA" target="_Z3-lgNp-EeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_Cuo-gNqWEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_Cuo-gdqWEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_Cuo-gtqWEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_Cuo-g9qWEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_CuoXcdqWEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_CuoXctqWEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/parentWorkflow"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_CuoXc9qWEeO3ccjZ47FaOA" points="[1, 61, 53, -148]$[-40, 162, 12, -47]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H3yCkNqWEeO3ccjZ47FaOA" id="(0.22959183673469388,0.6211180124223602)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H3yCkdqWEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_Fa5wcNqWEeO3ccjZ47FaOA" type="3002" source="_Z3-lgNp-EeO3ccjZ47FaOA" target="_oaR54NqVEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_Fa6XgNqWEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_Fa6XgdqWEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_Fa6XgtqWEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_Fa6Xg9qWEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_Fa5wcdqWEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_Fa5wctqWEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Workflow/deviceEvents"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fa5wc9qWEeO3ccjZ47FaOA" points="[12, -47, -40, 162]$[53, -148, 1, 61]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H3w0cNqWEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Fa8zwNqWEeO3ccjZ47FaOA" id="(0.22959183673469388,0.6211180124223602)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_BKufQNqXEeO3ccjZ47FaOA" type="3002" source="_oaR54NqVEeO3ccjZ47FaOA" target="_wHYaYNqTEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_BKw7gNqXEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_BKw7gdqXEeO3ccjZ47FaOA" x="-42" y="39"/>
</children>
<children xmi:type="notation:Node" xmi:id="_BKxikNqXEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_BKxikdqXEeO3ccjZ47FaOA" x="-11" y="19"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_BKufQdqXEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_BKufQtqXEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/executedInstance"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_BKufQ9qXEeO3ccjZ47FaOA" points="[34, 80, -159, -345]$[186, 465, -7, 40]"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_8z3-UNqXEeO3ccjZ47FaOA" type="3002" source="_hB1awNqXEeO3ccjZ47FaOA" target="_Z3-lgNp-EeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_8z4lYtqXEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_8z4lY9qXEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_8z5McNqXEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_8z5McdqXEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_8z3-UdqXEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_8z4lYNqXEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//ComponentStatusEvent/workflow"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8z4lYdqXEeO3ccjZ47FaOA" points="[1, -54, 383, -247]$[-320, 162, 62, -31]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AYi-8NqYEeO3ccjZ47FaOA" id="(0.23684210526315788,0.48672566371681414)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AYi-8dqYEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_-V1gUNqXEeO3ccjZ47FaOA" type="3002" source="_Z3-lgNp-EeO3ccjZ47FaOA" target="_hB1awNqXEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_-V2HYNqXEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_-V2HYdqXEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_-V2HYtqXEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_-V2HY9qXEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_-V1gUdqXEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_-V1gUtqXEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Workflow/componentEvents"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-V1gU9qXEeO3ccjZ47FaOA" points="[62, -31, -320, 162]$[383, -247, 1, -54]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AYhw0NqYEeO3ccjZ47FaOA" id="(0.5,0.5)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-V4joNqXEeO3ccjZ47FaOA" id="(0.23684210526315788,0.48672566371681414)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_6LEAoNqlEeO3ccjZ47FaOA" type="3002" source="_M7DBwNqOEeO3ccjZ47FaOA" target="_M7DBwNqOEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_6LFOwNqlEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_6LFOwdqlEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_6LFOwtqlEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_6LFOw9qlEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_6LEAodqlEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_6LEAotqlEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Activity/parent"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6LEAo9qlEeO3ccjZ47FaOA" points="[2, 18, 27, 31]$[9, 5, 34, 18]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-lBqgNqlEeO3ccjZ47FaOA" id="(0.935251798561151,0.8407079646017699)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-lBqgdqlEeO3ccjZ47FaOA" id="(0.7553956834532374,0.7256637168141593)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_7oSMkNqlEeO3ccjZ47FaOA" type="3002" source="_M7DBwNqOEeO3ccjZ47FaOA" target="_M7DBwNqOEeO3ccjZ47FaOA">
<children xmi:type="notation:Node" xmi:id="_7oSzoNqlEeO3ccjZ47FaOA" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_7oSzodqlEeO3ccjZ47FaOA" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_7oSzotqlEeO3ccjZ47FaOA" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_7oSzo9qlEeO3ccjZ47FaOA" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_7oSMkdqlEeO3ccjZ47FaOA" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_7oSMktqlEeO3ccjZ47FaOA" fontColor="4210752" fontName="Sans Serif" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="WFRperfToolModel.ecore#//Activity/children"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7oSMk9qlEeO3ccjZ47FaOA" points="[34, 18, 9, 5]$[27, 31, 2, 18]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7oV28NqlEeO3ccjZ47FaOA" id="(0.7553956834532374,0.7256637168141593)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7oV28dqlEeO3ccjZ47FaOA" id="(0.935251798561151,0.8407079646017699)"/>
</edges>
</notation:Diagram>
+84
View File
@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/WFRperfTool/src" modelPluginID="WFRperfTool" templateDirectory=""
redirection="" modelName="WFRperfToolModel" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false"
operationReflection="true" runtimePlatform="RCP" importOrganizing="true">
<foreignModel>WFRperfToolModel.ecore</foreignModel>
<genPackages prefix="Perftool" basePackage="at.ac.uibk.wfr" disposableProviderFactory="true"
ecorePackage="WFRperfToolModel.ecore#/">
<genClasses ecoreClass="WFRperfToolModel.ecore#//Workflow">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Workflow/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Workflow/wfid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Workflow/uuid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Workflow/name"/>
<genFeatures notify="false" children="true" createChild="false" propertySortChoices="true"
ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Workflow/toplevelActivity"/>
<genFeatures property="None" createChild="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Workflow/statusEvents"/>
<genFeatures property="None" createChild="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Workflow/deviceEvents"/>
<genFeatures property="None" createChild="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Workflow/componentEvents"/>
</genClasses>
<genClasses ecoreClass="WFRperfToolModel.ecore#//Activity">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Activity/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Activity/actid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Activity/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Activity/type"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//Activity/branchID"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Activity/parentWorkflow"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Activity/instances"/>
<genFeatures property="None" createChild="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Activity/statusEvents"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Activity/parent"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//Activity/children"/>
</genClasses>
<genClasses ecoreClass="WFRperfToolModel.ecore#//ActivityInstance">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityInstance/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityInstance/instid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityInstance/iterationID"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//ActivityInstance/baseActivity"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//ActivityInstance/parentWorkflow"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//ActivityInstance/parentInstance"/>
<genFeatures property="None" createChild="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//ActivityInstance/statusEvents"/>
</genClasses>
<genClasses ecoreClass="WFRperfToolModel.ecore#//WorkflowStatusEvent">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//WorkflowStatusEvent/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//WorkflowStatusEvent/newStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//WorkflowStatusEvent/oldStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//WorkflowStatusEvent/timestamp"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//WorkflowStatusEvent/parentWorkflow"/>
</genClasses>
<genClasses ecoreClass="WFRperfToolModel.ecore#//ActivityStatusEvent">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityStatusEvent/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityStatusEvent/newStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityStatusEvent/oldStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityStatusEvent/timestamp"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//ActivityStatusEvent/parentActivity"/>
</genClasses>
<genClasses ecoreClass="WFRperfToolModel.ecore#//ActivityInstanceStatusEvent">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityInstanceStatusEvent/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityInstanceStatusEvent/newStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityInstanceStatusEvent/oldStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ActivityInstanceStatusEvent/timestamp"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//ActivityInstanceStatusEvent/parentInstance"/>
</genClasses>
<genClasses ecoreClass="WFRperfToolModel.ecore#//DeviceInstanceStatusEvent">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/deviceType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/deviceID"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/newStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/oldStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/timestamp"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/executedImplID"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/deviceSlotCount"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/parentWorkflow"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//DeviceInstanceStatusEvent/executedInstance"/>
</genClasses>
<genClasses ecoreClass="WFRperfToolModel.ecore#//ComponentStatusEvent">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ComponentStatusEvent/oid"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ComponentStatusEvent/componentType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ComponentStatusEvent/newStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ComponentStatusEvent/oldStatus"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute WFRperfToolModel.ecore#//ComponentStatusEvent/timestamp"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference WFRperfToolModel.ecore#//ComponentStatusEvent/workflow"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
BIN
View File
Binary file not shown.
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
#
pluginName = WFRperfToolModel Model
providerName = www.example.org
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated WFRperfToolModel -->
<package
uri="http://at.ac.uibk.wfr.perftool/1.0"
class="at.ac.uibk.wfr.perftool.PerftoolPackage"
genModel="dbmodel/WFRperfToolModel.genmodel"/>
</extension>
</plugin>
+272
View File
@@ -0,0 +1,272 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Activity</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getActid <em>Actid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getName <em>Name</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getType <em>Type</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getBranchID <em>Branch ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getParentWorkflow <em>Parent Workflow</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getInstances <em>Instances</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getStatusEvents <em>Status Events</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getParent <em>Parent</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Activity#getChildren <em>Children</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity()
* @model
* @generated
*/
public interface Activity extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Activity#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>Actid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Actid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Actid</em>' attribute.
* @see #setActid(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_Actid()
* @model required="true"
* @generated
*/
long getActid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Activity#getActid <em>Actid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Actid</em>' attribute.
* @see #getActid()
* @generated
*/
void setActid(long value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Activity#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' attribute.
* @see #setType(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_Type()
* @model required="true"
* @generated
*/
String getType();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Activity#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' attribute.
* @see #getType()
* @generated
*/
void setType(String value);
/**
* Returns the value of the '<em><b>Branch ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Branch ID</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Branch ID</em>' attribute.
* @see #setBranchID(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_BranchID()
* @model required="true"
* @generated
*/
long getBranchID();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Activity#getBranchID <em>Branch ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Branch ID</em>' attribute.
* @see #getBranchID()
* @generated
*/
void setBranchID(long value);
/**
* Returns the value of the '<em><b>Parent Workflow</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent Workflow</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent Workflow</em>' reference.
* @see #setParentWorkflow(Workflow)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_ParentWorkflow()
* @model required="true" ordered="false"
* @generated
*/
Workflow getParentWorkflow();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Activity#getParentWorkflow <em>Parent Workflow</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent Workflow</em>' reference.
* @see #getParentWorkflow()
* @generated
*/
void setParentWorkflow(Workflow value);
/**
* Returns the value of the '<em><b>Instances</b></em>' containment reference list.
* The list contents are of type {@link at.ac.uibk.wfr.perftool.ActivityInstance}.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getBaseActivity <em>Base Activity</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Instances</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Instances</em>' containment reference list.
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_Instances()
* @see at.ac.uibk.wfr.perftool.ActivityInstance#getBaseActivity
* @model opposite="baseActivity" containment="true" ordered="false"
* @generated
*/
EList<ActivityInstance> getInstances();
/**
* Returns the value of the '<em><b>Status Events</b></em>' containment reference list.
* The list contents are of type {@link at.ac.uibk.wfr.perftool.ActivityStatusEvent}.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getParentActivity <em>Parent Activity</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Status Events</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Status Events</em>' containment reference list.
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_StatusEvents()
* @see at.ac.uibk.wfr.perftool.ActivityStatusEvent#getParentActivity
* @model opposite="parentActivity" containment="true" ordered="false"
* @generated
*/
EList<ActivityStatusEvent> getStatusEvents();
/**
* Returns the value of the '<em><b>Parent</b></em>' container reference.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.Activity#getChildren <em>Children</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent</em>' container reference.
* @see #setParent(Activity)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_Parent()
* @see at.ac.uibk.wfr.perftool.Activity#getChildren
* @model opposite="children" transient="false"
* @generated
*/
Activity getParent();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Activity#getParent <em>Parent</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent</em>' container reference.
* @see #getParent()
* @generated
*/
void setParent(Activity value);
/**
* Returns the value of the '<em><b>Children</b></em>' containment reference list.
* The list contents are of type {@link at.ac.uibk.wfr.perftool.Activity}.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.Activity#getParent <em>Parent</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Children</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Children</em>' containment reference list.
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivity_Children()
* @see at.ac.uibk.wfr.perftool.Activity#getParent
* @model opposite="parent" containment="true" ordered="false"
* @generated
*/
EList<Activity> getChildren();
} // Activity
@@ -0,0 +1,207 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Activity Instance</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstance#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstance#getInstid <em>Instid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstance#getIterationID <em>Iteration ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstance#getBaseActivity <em>Base Activity</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstance#getParentWorkflow <em>Parent Workflow</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstance#getParentInstance <em>Parent Instance</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstance#getStatusEvents <em>Status Events</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance()
* @model
* @generated
*/
public interface ActivityInstance extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>Instid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Instid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Instid</em>' attribute.
* @see #setInstid(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance_Instid()
* @model required="true"
* @generated
*/
long getInstid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getInstid <em>Instid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Instid</em>' attribute.
* @see #getInstid()
* @generated
*/
void setInstid(long value);
/**
* Returns the value of the '<em><b>Iteration ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Iteration ID</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Iteration ID</em>' attribute.
* @see #setIterationID(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance_IterationID()
* @model required="true"
* @generated
*/
long getIterationID();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getIterationID <em>Iteration ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Iteration ID</em>' attribute.
* @see #getIterationID()
* @generated
*/
void setIterationID(long value);
/**
* Returns the value of the '<em><b>Base Activity</b></em>' container reference.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.Activity#getInstances <em>Instances</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Activity</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Activity</em>' container reference.
* @see #setBaseActivity(Activity)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance_BaseActivity()
* @see at.ac.uibk.wfr.perftool.Activity#getInstances
* @model opposite="instances" required="true" transient="false"
* @generated
*/
Activity getBaseActivity();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getBaseActivity <em>Base Activity</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Activity</em>' container reference.
* @see #getBaseActivity()
* @generated
*/
void setBaseActivity(Activity value);
/**
* Returns the value of the '<em><b>Parent Workflow</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent Workflow</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent Workflow</em>' reference.
* @see #setParentWorkflow(Workflow)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance_ParentWorkflow()
* @model
* @generated
*/
Workflow getParentWorkflow();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getParentWorkflow <em>Parent Workflow</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent Workflow</em>' reference.
* @see #getParentWorkflow()
* @generated
*/
void setParentWorkflow(Workflow value);
/**
* Returns the value of the '<em><b>Parent Instance</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent Instance</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent Instance</em>' reference.
* @see #setParentInstance(ActivityInstance)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance_ParentInstance()
* @model
* @generated
*/
ActivityInstance getParentInstance();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getParentInstance <em>Parent Instance</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent Instance</em>' reference.
* @see #getParentInstance()
* @generated
*/
void setParentInstance(ActivityInstance value);
/**
* Returns the value of the '<em><b>Status Events</b></em>' containment reference list.
* The list contents are of type {@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent}.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getParentInstance <em>Parent Instance</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Status Events</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Status Events</em>' containment reference list.
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstance_StatusEvents()
* @see at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getParentInstance
* @model opposite="parentInstance" containment="true" ordered="false"
* @generated
*/
EList<ActivityInstanceStatusEvent> getStatusEvents();
} // ActivityInstance
@@ -0,0 +1,160 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Activity Instance Status Event</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getParentInstance <em>Parent Instance</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstanceStatusEvent()
* @model
* @generated
*/
public interface ActivityInstanceStatusEvent extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstanceStatusEvent_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>New Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>New Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>New Status</em>' attribute.
* @see #setNewStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstanceStatusEvent_NewStatus()
* @model required="true"
* @generated
*/
String getNewStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getNewStatus <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>New Status</em>' attribute.
* @see #getNewStatus()
* @generated
*/
void setNewStatus(String value);
/**
* Returns the value of the '<em><b>Old Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Old Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Old Status</em>' attribute.
* @see #setOldStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstanceStatusEvent_OldStatus()
* @model required="true"
* @generated
*/
String getOldStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getOldStatus <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Old Status</em>' attribute.
* @see #getOldStatus()
* @generated
*/
void setOldStatus(String value);
/**
* Returns the value of the '<em><b>Timestamp</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Timestamp</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Timestamp</em>' attribute.
* @see #setTimestamp(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstanceStatusEvent_Timestamp()
* @model required="true"
* @generated
*/
long getTimestamp();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getTimestamp <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Timestamp</em>' attribute.
* @see #getTimestamp()
* @generated
*/
void setTimestamp(long value);
/**
* Returns the value of the '<em><b>Parent Instance</b></em>' container reference.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.ActivityInstance#getStatusEvents <em>Status Events</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent Instance</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent Instance</em>' container reference.
* @see #setParentInstance(ActivityInstance)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityInstanceStatusEvent_ParentInstance()
* @see at.ac.uibk.wfr.perftool.ActivityInstance#getStatusEvents
* @model opposite="statusEvents" required="true" transient="false"
* @generated
*/
ActivityInstance getParentInstance();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent#getParentInstance <em>Parent Instance</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent Instance</em>' container reference.
* @see #getParentInstance()
* @generated
*/
void setParentInstance(ActivityInstance value);
} // ActivityInstanceStatusEvent
@@ -0,0 +1,160 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Activity Status Event</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getParentActivity <em>Parent Activity</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityStatusEvent()
* @model
* @generated
*/
public interface ActivityStatusEvent extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityStatusEvent_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>New Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>New Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>New Status</em>' attribute.
* @see #setNewStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityStatusEvent_NewStatus()
* @model required="true"
* @generated
*/
String getNewStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getNewStatus <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>New Status</em>' attribute.
* @see #getNewStatus()
* @generated
*/
void setNewStatus(String value);
/**
* Returns the value of the '<em><b>Old Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Old Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Old Status</em>' attribute.
* @see #setOldStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityStatusEvent_OldStatus()
* @model required="true"
* @generated
*/
String getOldStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getOldStatus <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Old Status</em>' attribute.
* @see #getOldStatus()
* @generated
*/
void setOldStatus(String value);
/**
* Returns the value of the '<em><b>Timestamp</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Timestamp</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Timestamp</em>' attribute.
* @see #setTimestamp(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityStatusEvent_Timestamp()
* @model required="true"
* @generated
*/
long getTimestamp();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getTimestamp <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Timestamp</em>' attribute.
* @see #getTimestamp()
* @generated
*/
void setTimestamp(long value);
/**
* Returns the value of the '<em><b>Parent Activity</b></em>' container reference.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.Activity#getStatusEvents <em>Status Events</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent Activity</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent Activity</em>' container reference.
* @see #setParentActivity(Activity)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getActivityStatusEvent_ParentActivity()
* @see at.ac.uibk.wfr.perftool.Activity#getStatusEvents
* @model opposite="statusEvents" required="true" transient="false"
* @generated
*/
Activity getParentActivity();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent#getParentActivity <em>Parent Activity</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent Activity</em>' container reference.
* @see #getParentActivity()
* @generated
*/
void setParentActivity(Activity value);
} // ActivityStatusEvent
@@ -0,0 +1,187 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Component Status Event</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getComponentType <em>Component Type</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getWorkflow <em>Workflow</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getComponentStatusEvent()
* @model
* @generated
*/
public interface ComponentStatusEvent extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getComponentStatusEvent_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>Component Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Component Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Component Type</em>' attribute.
* @see #setComponentType(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getComponentStatusEvent_ComponentType()
* @model required="true"
* @generated
*/
String getComponentType();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getComponentType <em>Component Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Component Type</em>' attribute.
* @see #getComponentType()
* @generated
*/
void setComponentType(String value);
/**
* Returns the value of the '<em><b>New Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>New Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>New Status</em>' attribute.
* @see #setNewStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getComponentStatusEvent_NewStatus()
* @model required="true"
* @generated
*/
String getNewStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getNewStatus <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>New Status</em>' attribute.
* @see #getNewStatus()
* @generated
*/
void setNewStatus(String value);
/**
* Returns the value of the '<em><b>Old Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Old Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Old Status</em>' attribute.
* @see #setOldStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getComponentStatusEvent_OldStatus()
* @model required="true"
* @generated
*/
String getOldStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getOldStatus <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Old Status</em>' attribute.
* @see #getOldStatus()
* @generated
*/
void setOldStatus(String value);
/**
* Returns the value of the '<em><b>Timestamp</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Timestamp</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Timestamp</em>' attribute.
* @see #setTimestamp(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getComponentStatusEvent_Timestamp()
* @model required="true"
* @generated
*/
long getTimestamp();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getTimestamp <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Timestamp</em>' attribute.
* @see #getTimestamp()
* @generated
*/
void setTimestamp(long value);
/**
* Returns the value of the '<em><b>Workflow</b></em>' container reference.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.Workflow#getComponentEvents <em>Component Events</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Workflow</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Workflow</em>' container reference.
* @see #setWorkflow(Workflow)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getComponentStatusEvent_Workflow()
* @see at.ac.uibk.wfr.perftool.Workflow#getComponentEvents
* @model opposite="componentEvents" transient="false"
* @generated
*/
Workflow getWorkflow();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getWorkflow <em>Workflow</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Workflow</em>' container reference.
* @see #getWorkflow()
* @generated
*/
void setWorkflow(Workflow value);
} // ComponentStatusEvent
@@ -0,0 +1,295 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Device Instance Status Event</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getDeviceType <em>Device Type</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getDeviceID <em>Device ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getExecutedImplID <em>Executed Impl ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getDeviceSlotCount <em>Device Slot Count</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getParentWorkflow <em>Parent Workflow</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getExecutedInstance <em>Executed Instance</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent()
* @model
* @generated
*/
public interface DeviceInstanceStatusEvent extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>Device Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Device Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Device Type</em>' attribute.
* @see #setDeviceType(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_DeviceType()
* @model required="true"
* @generated
*/
String getDeviceType();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getDeviceType <em>Device Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Device Type</em>' attribute.
* @see #getDeviceType()
* @generated
*/
void setDeviceType(String value);
/**
* Returns the value of the '<em><b>Device ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Device ID</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Device ID</em>' attribute.
* @see #setDeviceID(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_DeviceID()
* @model required="true"
* @generated
*/
long getDeviceID();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getDeviceID <em>Device ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Device ID</em>' attribute.
* @see #getDeviceID()
* @generated
*/
void setDeviceID(long value);
/**
* Returns the value of the '<em><b>New Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>New Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>New Status</em>' attribute.
* @see #setNewStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_NewStatus()
* @model required="true"
* @generated
*/
String getNewStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getNewStatus <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>New Status</em>' attribute.
* @see #getNewStatus()
* @generated
*/
void setNewStatus(String value);
/**
* Returns the value of the '<em><b>Old Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Old Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Old Status</em>' attribute.
* @see #setOldStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_OldStatus()
* @model required="true"
* @generated
*/
String getOldStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getOldStatus <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Old Status</em>' attribute.
* @see #getOldStatus()
* @generated
*/
void setOldStatus(String value);
/**
* Returns the value of the '<em><b>Timestamp</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Timestamp</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Timestamp</em>' attribute.
* @see #setTimestamp(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_Timestamp()
* @model required="true"
* @generated
*/
long getTimestamp();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getTimestamp <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Timestamp</em>' attribute.
* @see #getTimestamp()
* @generated
*/
void setTimestamp(long value);
/**
* Returns the value of the '<em><b>Executed Impl ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Executed Impl ID</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Executed Impl ID</em>' attribute.
* @see #setExecutedImplID(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_ExecutedImplID()
* @model required="true"
* @generated
*/
long getExecutedImplID();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getExecutedImplID <em>Executed Impl ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Executed Impl ID</em>' attribute.
* @see #getExecutedImplID()
* @generated
*/
void setExecutedImplID(long value);
/**
* Returns the value of the '<em><b>Device Slot Count</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Device Slot Count</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Device Slot Count</em>' attribute.
* @see #setDeviceSlotCount(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_DeviceSlotCount()
* @model required="true"
* @generated
*/
long getDeviceSlotCount();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getDeviceSlotCount <em>Device Slot Count</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Device Slot Count</em>' attribute.
* @see #getDeviceSlotCount()
* @generated
*/
void setDeviceSlotCount(long value);
/**
* Returns the value of the '<em><b>Parent Workflow</b></em>' container reference.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.Workflow#getDeviceEvents <em>Device Events</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent Workflow</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent Workflow</em>' container reference.
* @see #setParentWorkflow(Workflow)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_ParentWorkflow()
* @see at.ac.uibk.wfr.perftool.Workflow#getDeviceEvents
* @model opposite="deviceEvents" transient="false"
* @generated
*/
Workflow getParentWorkflow();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getParentWorkflow <em>Parent Workflow</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent Workflow</em>' container reference.
* @see #getParentWorkflow()
* @generated
*/
void setParentWorkflow(Workflow value);
/**
* Returns the value of the '<em><b>Executed Instance</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Executed Instance</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Executed Instance</em>' reference.
* @see #setExecutedInstance(ActivityInstance)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getDeviceInstanceStatusEvent_ExecutedInstance()
* @model
* @generated
*/
ActivityInstance getExecutedInstance();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getExecutedInstance <em>Executed Instance</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Executed Instance</em>' reference.
* @see #getExecutedInstance()
* @generated
*/
void setExecutedInstance(ActivityInstance value);
} // DeviceInstanceStatusEvent
@@ -0,0 +1,105 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see at.ac.uibk.wfr.perftool.PerftoolPackage
* @generated
*/
public interface PerftoolFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
PerftoolFactory eINSTANCE = at.ac.uibk.wfr.perftool.impl.PerftoolFactoryImpl.init();
/**
* Returns a new object of class '<em>Workflow</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Workflow</em>'.
* @generated
*/
Workflow createWorkflow();
/**
* Returns a new object of class '<em>Activity</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Activity</em>'.
* @generated
*/
Activity createActivity();
/**
* Returns a new object of class '<em>Activity Instance</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Activity Instance</em>'.
* @generated
*/
ActivityInstance createActivityInstance();
/**
* Returns a new object of class '<em>Workflow Status Event</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Workflow Status Event</em>'.
* @generated
*/
WorkflowStatusEvent createWorkflowStatusEvent();
/**
* Returns a new object of class '<em>Activity Status Event</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Activity Status Event</em>'.
* @generated
*/
ActivityStatusEvent createActivityStatusEvent();
/**
* Returns a new object of class '<em>Activity Instance Status Event</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Activity Instance Status Event</em>'.
* @generated
*/
ActivityInstanceStatusEvent createActivityInstanceStatusEvent();
/**
* Returns a new object of class '<em>Device Instance Status Event</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Device Instance Status Event</em>'.
* @generated
*/
DeviceInstanceStatusEvent createDeviceInstanceStatusEvent();
/**
* Returns a new object of class '<em>Component Status Event</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Component Status Event</em>'.
* @generated
*/
ComponentStatusEvent createComponentStatusEvent();
/**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the package supported by this factory.
* @generated
*/
PerftoolPackage getPerftoolPackage();
} //PerftoolFactory
File diff suppressed because it is too large Load Diff
+217
View File
@@ -0,0 +1,217 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Workflow</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getWfid <em>Wfid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getUuid <em>Uuid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getName <em>Name</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getToplevelActivity <em>Toplevel Activity</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getStatusEvents <em>Status Events</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getDeviceEvents <em>Device Events</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.Workflow#getComponentEvents <em>Component Events</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow()
* @model
* @generated
*/
public interface Workflow extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Workflow#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>Wfid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Wfid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Wfid</em>' attribute.
* @see #setWfid(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_Wfid()
* @model required="true"
* @generated
*/
long getWfid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Workflow#getWfid <em>Wfid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Wfid</em>' attribute.
* @see #getWfid()
* @generated
*/
void setWfid(long value);
/**
* Returns the value of the '<em><b>Uuid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Uuid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Uuid</em>' attribute.
* @see #setUuid(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_Uuid()
* @model required="true"
* @generated
*/
String getUuid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Workflow#getUuid <em>Uuid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Uuid</em>' attribute.
* @see #getUuid()
* @generated
*/
void setUuid(String value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Workflow#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Toplevel Activity</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Toplevel Activity</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Toplevel Activity</em>' containment reference.
* @see #setToplevelActivity(Activity)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_ToplevelActivity()
* @model containment="true"
* @generated
*/
Activity getToplevelActivity();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.Workflow#getToplevelActivity <em>Toplevel Activity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Toplevel Activity</em>' containment reference.
* @see #getToplevelActivity()
* @generated
*/
void setToplevelActivity(Activity value);
/**
* Returns the value of the '<em><b>Status Events</b></em>' containment reference list.
* The list contents are of type {@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent}.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getParentWorkflow <em>Parent Workflow</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Status Events</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Status Events</em>' containment reference list.
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_StatusEvents()
* @see at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getParentWorkflow
* @model opposite="parentWorkflow" containment="true" ordered="false"
* @generated
*/
EList<WorkflowStatusEvent> getStatusEvents();
/**
* Returns the value of the '<em><b>Device Events</b></em>' containment reference list.
* The list contents are of type {@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent}.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getParentWorkflow <em>Parent Workflow</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Device Events</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Device Events</em>' containment reference list.
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_DeviceEvents()
* @see at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent#getParentWorkflow
* @model opposite="parentWorkflow" containment="true" ordered="false"
* @generated
*/
EList<DeviceInstanceStatusEvent> getDeviceEvents();
/**
* Returns the value of the '<em><b>Component Events</b></em>' containment reference list.
* The list contents are of type {@link at.ac.uibk.wfr.perftool.ComponentStatusEvent}.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent#getWorkflow <em>Workflow</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Component Events</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Component Events</em>' containment reference list.
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflow_ComponentEvents()
* @see at.ac.uibk.wfr.perftool.ComponentStatusEvent#getWorkflow
* @model opposite="workflow" containment="true" ordered="false"
* @generated
*/
EList<ComponentStatusEvent> getComponentEvents();
} // Workflow
@@ -0,0 +1,160 @@
/**
*/
package at.ac.uibk.wfr.perftool;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Workflow Status Event</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getParentWorkflow <em>Parent Workflow</em>}</li>
* </ul>
* </p>
*
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflowStatusEvent()
* @model
* @generated
*/
public interface WorkflowStatusEvent extends EObject {
/**
* Returns the value of the '<em><b>Oid</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oid</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Oid</em>' attribute.
* @see #setOid(int)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflowStatusEvent_Oid()
* @model id="true" required="true"
* @generated
*/
int getOid();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getOid <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oid</em>' attribute.
* @see #getOid()
* @generated
*/
void setOid(int value);
/**
* Returns the value of the '<em><b>New Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>New Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>New Status</em>' attribute.
* @see #setNewStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflowStatusEvent_NewStatus()
* @model required="true"
* @generated
*/
String getNewStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getNewStatus <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>New Status</em>' attribute.
* @see #getNewStatus()
* @generated
*/
void setNewStatus(String value);
/**
* Returns the value of the '<em><b>Old Status</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Old Status</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Old Status</em>' attribute.
* @see #setOldStatus(String)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflowStatusEvent_OldStatus()
* @model required="true"
* @generated
*/
String getOldStatus();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getOldStatus <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Old Status</em>' attribute.
* @see #getOldStatus()
* @generated
*/
void setOldStatus(String value);
/**
* Returns the value of the '<em><b>Timestamp</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Timestamp</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Timestamp</em>' attribute.
* @see #setTimestamp(long)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflowStatusEvent_Timestamp()
* @model required="true"
* @generated
*/
long getTimestamp();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getTimestamp <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Timestamp</em>' attribute.
* @see #getTimestamp()
* @generated
*/
void setTimestamp(long value);
/**
* Returns the value of the '<em><b>Parent Workflow</b></em>' container reference.
* It is bidirectional and its opposite is '{@link at.ac.uibk.wfr.perftool.Workflow#getStatusEvents <em>Status Events</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent Workflow</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent Workflow</em>' container reference.
* @see #setParentWorkflow(Workflow)
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#getWorkflowStatusEvent_ParentWorkflow()
* @see at.ac.uibk.wfr.perftool.Workflow#getStatusEvents
* @model opposite="statusEvents" required="true" transient="false"
* @generated
*/
Workflow getParentWorkflow();
/**
* Sets the value of the '{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent#getParentWorkflow <em>Parent Workflow</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent Workflow</em>' container reference.
* @see #getParentWorkflow()
* @generated
*/
void setParentWorkflow(Workflow value);
} // WorkflowStatusEvent
@@ -0,0 +1,662 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.ActivityStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
import at.ac.uibk.wfr.perftool.Workflow;
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.EObjectContainmentWithInverseEList;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.util.InternalEList;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Activity</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getActid <em>Actid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getName <em>Name</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getType <em>Type</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getBranchID <em>Branch ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getParentWorkflow <em>Parent Workflow</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getInstances <em>Instances</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getStatusEvents <em>Status Events</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getParent <em>Parent</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityImpl#getChildren <em>Children</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class ActivityImpl extends MinimalEObjectImpl.Container implements Activity {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getActid() <em>Actid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getActid()
* @generated
* @ordered
*/
protected static final long ACTID_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getActid() <em>Actid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getActid()
* @generated
* @ordered
*/
protected long actid = ACTID_EDEFAULT;
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected String name = NAME_EDEFAULT;
/**
* The default value of the '{@link #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getType()
* @generated
* @ordered
*/
protected static final String TYPE_EDEFAULT = null;
/**
* The cached value of the '{@link #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getType()
* @generated
* @ordered
*/
protected String type = TYPE_EDEFAULT;
/**
* The default value of the '{@link #getBranchID() <em>Branch ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getBranchID()
* @generated
* @ordered
*/
protected static final long BRANCH_ID_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getBranchID() <em>Branch ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getBranchID()
* @generated
* @ordered
*/
protected long branchID = BRANCH_ID_EDEFAULT;
/**
* The cached value of the '{@link #getParentWorkflow() <em>Parent Workflow</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getParentWorkflow()
* @generated
* @ordered
*/
protected Workflow parentWorkflow;
/**
* The cached value of the '{@link #getInstances() <em>Instances</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getInstances()
* @generated
* @ordered
*/
protected EList<ActivityInstance> instances;
/**
* The cached value of the '{@link #getStatusEvents() <em>Status Events</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStatusEvents()
* @generated
* @ordered
*/
protected EList<ActivityStatusEvent> statusEvents;
/**
* The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getChildren()
* @generated
* @ordered
*/
protected EList<Activity> children;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ActivityImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.ACTIVITY;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getActid() {
return actid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setActid(long newActid) {
long oldActid = actid;
actid = newActid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY__ACTID, oldActid, actid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getType() {
return type;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setType(String newType) {
String oldType = type;
type = newType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY__TYPE, oldType, type));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getBranchID() {
return branchID;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBranchID(long newBranchID) {
long oldBranchID = branchID;
branchID = newBranchID;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY__BRANCH_ID, oldBranchID, branchID));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow getParentWorkflow() {
if (parentWorkflow != null && parentWorkflow.eIsProxy()) {
InternalEObject oldParentWorkflow = (InternalEObject)parentWorkflow;
parentWorkflow = (Workflow)eResolveProxy(oldParentWorkflow);
if (parentWorkflow != oldParentWorkflow) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PerftoolPackage.ACTIVITY__PARENT_WORKFLOW, oldParentWorkflow, parentWorkflow));
}
}
return parentWorkflow;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow basicGetParentWorkflow() {
return parentWorkflow;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParentWorkflow(Workflow newParentWorkflow) {
Workflow oldParentWorkflow = parentWorkflow;
parentWorkflow = newParentWorkflow;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY__PARENT_WORKFLOW, oldParentWorkflow, parentWorkflow));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ActivityInstance> getInstances() {
if (instances == null) {
instances = new EObjectContainmentWithInverseEList<ActivityInstance>(ActivityInstance.class, this, PerftoolPackage.ACTIVITY__INSTANCES, PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY);
}
return instances;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ActivityStatusEvent> getStatusEvents() {
if (statusEvents == null) {
statusEvents = new EObjectContainmentWithInverseEList<ActivityStatusEvent>(ActivityStatusEvent.class, this, PerftoolPackage.ACTIVITY__STATUS_EVENTS, PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY);
}
return statusEvents;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Activity getParent() {
if (eContainerFeatureID() != PerftoolPackage.ACTIVITY__PARENT) return null;
return (Activity)eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetParent(Activity newParent, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject)newParent, PerftoolPackage.ACTIVITY__PARENT, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParent(Activity newParent) {
if (newParent != eInternalContainer() || (eContainerFeatureID() != PerftoolPackage.ACTIVITY__PARENT && newParent != null)) {
if (EcoreUtil.isAncestor(this, newParent))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newParent != null)
msgs = ((InternalEObject)newParent).eInverseAdd(this, PerftoolPackage.ACTIVITY__CHILDREN, Activity.class, msgs);
msgs = basicSetParent(newParent, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY__PARENT, newParent, newParent));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Activity> getChildren() {
if (children == null) {
children = new EObjectContainmentWithInverseEList<Activity>(Activity.class, this, PerftoolPackage.ACTIVITY__CHILDREN, PerftoolPackage.ACTIVITY__PARENT);
}
return children;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY__INSTANCES:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getInstances()).basicAdd(otherEnd, msgs);
case PerftoolPackage.ACTIVITY__STATUS_EVENTS:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getStatusEvents()).basicAdd(otherEnd, msgs);
case PerftoolPackage.ACTIVITY__PARENT:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetParent((Activity)otherEnd, msgs);
case PerftoolPackage.ACTIVITY__CHILDREN:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getChildren()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY__INSTANCES:
return ((InternalEList<?>)getInstances()).basicRemove(otherEnd, msgs);
case PerftoolPackage.ACTIVITY__STATUS_EVENTS:
return ((InternalEList<?>)getStatusEvents()).basicRemove(otherEnd, msgs);
case PerftoolPackage.ACTIVITY__PARENT:
return basicSetParent(null, msgs);
case PerftoolPackage.ACTIVITY__CHILDREN:
return ((InternalEList<?>)getChildren()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
case PerftoolPackage.ACTIVITY__PARENT:
return eInternalContainer().eInverseRemove(this, PerftoolPackage.ACTIVITY__CHILDREN, Activity.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.ACTIVITY__OID:
return getOid();
case PerftoolPackage.ACTIVITY__ACTID:
return getActid();
case PerftoolPackage.ACTIVITY__NAME:
return getName();
case PerftoolPackage.ACTIVITY__TYPE:
return getType();
case PerftoolPackage.ACTIVITY__BRANCH_ID:
return getBranchID();
case PerftoolPackage.ACTIVITY__PARENT_WORKFLOW:
if (resolve) return getParentWorkflow();
return basicGetParentWorkflow();
case PerftoolPackage.ACTIVITY__INSTANCES:
return getInstances();
case PerftoolPackage.ACTIVITY__STATUS_EVENTS:
return getStatusEvents();
case PerftoolPackage.ACTIVITY__PARENT:
return getParent();
case PerftoolPackage.ACTIVITY__CHILDREN:
return getChildren();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.ACTIVITY__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.ACTIVITY__ACTID:
setActid((Long)newValue);
return;
case PerftoolPackage.ACTIVITY__NAME:
setName((String)newValue);
return;
case PerftoolPackage.ACTIVITY__TYPE:
setType((String)newValue);
return;
case PerftoolPackage.ACTIVITY__BRANCH_ID:
setBranchID((Long)newValue);
return;
case PerftoolPackage.ACTIVITY__PARENT_WORKFLOW:
setParentWorkflow((Workflow)newValue);
return;
case PerftoolPackage.ACTIVITY__INSTANCES:
getInstances().clear();
getInstances().addAll((Collection<? extends ActivityInstance>)newValue);
return;
case PerftoolPackage.ACTIVITY__STATUS_EVENTS:
getStatusEvents().clear();
getStatusEvents().addAll((Collection<? extends ActivityStatusEvent>)newValue);
return;
case PerftoolPackage.ACTIVITY__PARENT:
setParent((Activity)newValue);
return;
case PerftoolPackage.ACTIVITY__CHILDREN:
getChildren().clear();
getChildren().addAll((Collection<? extends Activity>)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY__ACTID:
setActid(ACTID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY__NAME:
setName(NAME_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY__TYPE:
setType(TYPE_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY__BRANCH_ID:
setBranchID(BRANCH_ID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY__PARENT_WORKFLOW:
setParentWorkflow((Workflow)null);
return;
case PerftoolPackage.ACTIVITY__INSTANCES:
getInstances().clear();
return;
case PerftoolPackage.ACTIVITY__STATUS_EVENTS:
getStatusEvents().clear();
return;
case PerftoolPackage.ACTIVITY__PARENT:
setParent((Activity)null);
return;
case PerftoolPackage.ACTIVITY__CHILDREN:
getChildren().clear();
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.ACTIVITY__ACTID:
return actid != ACTID_EDEFAULT;
case PerftoolPackage.ACTIVITY__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case PerftoolPackage.ACTIVITY__TYPE:
return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
case PerftoolPackage.ACTIVITY__BRANCH_ID:
return branchID != BRANCH_ID_EDEFAULT;
case PerftoolPackage.ACTIVITY__PARENT_WORKFLOW:
return parentWorkflow != null;
case PerftoolPackage.ACTIVITY__INSTANCES:
return instances != null && !instances.isEmpty();
case PerftoolPackage.ACTIVITY__STATUS_EVENTS:
return statusEvents != null && !statusEvents.isEmpty();
case PerftoolPackage.ACTIVITY__PARENT:
return getParent() != null;
case PerftoolPackage.ACTIVITY__CHILDREN:
return children != null && !children.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", actid: ");
result.append(actid);
result.append(", name: ");
result.append(name);
result.append(", type: ");
result.append(type);
result.append(", branchID: ");
result.append(branchID);
result.append(')');
return result.toString();
}
} //ActivityImpl
@@ -0,0 +1,538 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
import at.ac.uibk.wfr.perftool.Workflow;
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.EObjectContainmentWithInverseEList;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.util.InternalEList;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Activity Instance</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceImpl#getInstid <em>Instid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceImpl#getIterationID <em>Iteration ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceImpl#getBaseActivity <em>Base Activity</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceImpl#getParentWorkflow <em>Parent Workflow</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceImpl#getParentInstance <em>Parent Instance</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceImpl#getStatusEvents <em>Status Events</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class ActivityInstanceImpl extends MinimalEObjectImpl.Container implements ActivityInstance {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getInstid() <em>Instid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getInstid()
* @generated
* @ordered
*/
protected static final long INSTID_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getInstid() <em>Instid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getInstid()
* @generated
* @ordered
*/
protected long instid = INSTID_EDEFAULT;
/**
* The default value of the '{@link #getIterationID() <em>Iteration ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getIterationID()
* @generated
* @ordered
*/
protected static final long ITERATION_ID_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getIterationID() <em>Iteration ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getIterationID()
* @generated
* @ordered
*/
protected long iterationID = ITERATION_ID_EDEFAULT;
/**
* The cached value of the '{@link #getParentWorkflow() <em>Parent Workflow</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getParentWorkflow()
* @generated
* @ordered
*/
protected Workflow parentWorkflow;
/**
* The cached value of the '{@link #getParentInstance() <em>Parent Instance</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getParentInstance()
* @generated
* @ordered
*/
protected ActivityInstance parentInstance;
/**
* The cached value of the '{@link #getStatusEvents() <em>Status Events</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStatusEvents()
* @generated
* @ordered
*/
protected EList<ActivityInstanceStatusEvent> statusEvents;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ActivityInstanceImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.ACTIVITY_INSTANCE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getInstid() {
return instid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setInstid(long newInstid) {
long oldInstid = instid;
instid = newInstid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE__INSTID, oldInstid, instid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getIterationID() {
return iterationID;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setIterationID(long newIterationID) {
long oldIterationID = iterationID;
iterationID = newIterationID;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE__ITERATION_ID, oldIterationID, iterationID));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Activity getBaseActivity() {
if (eContainerFeatureID() != PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY) return null;
return (Activity)eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetBaseActivity(Activity newBaseActivity, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject)newBaseActivity, PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBaseActivity(Activity newBaseActivity) {
if (newBaseActivity != eInternalContainer() || (eContainerFeatureID() != PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY && newBaseActivity != null)) {
if (EcoreUtil.isAncestor(this, newBaseActivity))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newBaseActivity != null)
msgs = ((InternalEObject)newBaseActivity).eInverseAdd(this, PerftoolPackage.ACTIVITY__INSTANCES, Activity.class, msgs);
msgs = basicSetBaseActivity(newBaseActivity, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY, newBaseActivity, newBaseActivity));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow getParentWorkflow() {
if (parentWorkflow != null && parentWorkflow.eIsProxy()) {
InternalEObject oldParentWorkflow = (InternalEObject)parentWorkflow;
parentWorkflow = (Workflow)eResolveProxy(oldParentWorkflow);
if (parentWorkflow != oldParentWorkflow) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PerftoolPackage.ACTIVITY_INSTANCE__PARENT_WORKFLOW, oldParentWorkflow, parentWorkflow));
}
}
return parentWorkflow;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow basicGetParentWorkflow() {
return parentWorkflow;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParentWorkflow(Workflow newParentWorkflow) {
Workflow oldParentWorkflow = parentWorkflow;
parentWorkflow = newParentWorkflow;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE__PARENT_WORKFLOW, oldParentWorkflow, parentWorkflow));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityInstance getParentInstance() {
if (parentInstance != null && parentInstance.eIsProxy()) {
InternalEObject oldParentInstance = (InternalEObject)parentInstance;
parentInstance = (ActivityInstance)eResolveProxy(oldParentInstance);
if (parentInstance != oldParentInstance) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PerftoolPackage.ACTIVITY_INSTANCE__PARENT_INSTANCE, oldParentInstance, parentInstance));
}
}
return parentInstance;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityInstance basicGetParentInstance() {
return parentInstance;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParentInstance(ActivityInstance newParentInstance) {
ActivityInstance oldParentInstance = parentInstance;
parentInstance = newParentInstance;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE__PARENT_INSTANCE, oldParentInstance, parentInstance));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ActivityInstanceStatusEvent> getStatusEvents() {
if (statusEvents == null) {
statusEvents = new EObjectContainmentWithInverseEList<ActivityInstanceStatusEvent>(ActivityInstanceStatusEvent.class, this, PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS, PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE);
}
return statusEvents;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetBaseActivity((Activity)otherEnd, msgs);
case PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getStatusEvents()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY:
return basicSetBaseActivity(null, msgs);
case PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS:
return ((InternalEList<?>)getStatusEvents()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
case PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY:
return eInternalContainer().eInverseRemove(this, PerftoolPackage.ACTIVITY__INSTANCES, Activity.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE__OID:
return getOid();
case PerftoolPackage.ACTIVITY_INSTANCE__INSTID:
return getInstid();
case PerftoolPackage.ACTIVITY_INSTANCE__ITERATION_ID:
return getIterationID();
case PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY:
return getBaseActivity();
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_WORKFLOW:
if (resolve) return getParentWorkflow();
return basicGetParentWorkflow();
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_INSTANCE:
if (resolve) return getParentInstance();
return basicGetParentInstance();
case PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS:
return getStatusEvents();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__INSTID:
setInstid((Long)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__ITERATION_ID:
setIterationID((Long)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY:
setBaseActivity((Activity)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_WORKFLOW:
setParentWorkflow((Workflow)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_INSTANCE:
setParentInstance((ActivityInstance)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS:
getStatusEvents().clear();
getStatusEvents().addAll((Collection<? extends ActivityInstanceStatusEvent>)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__INSTID:
setInstid(INSTID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__ITERATION_ID:
setIterationID(ITERATION_ID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY:
setBaseActivity((Activity)null);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_WORKFLOW:
setParentWorkflow((Workflow)null);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_INSTANCE:
setParentInstance((ActivityInstance)null);
return;
case PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS:
getStatusEvents().clear();
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.ACTIVITY_INSTANCE__INSTID:
return instid != INSTID_EDEFAULT;
case PerftoolPackage.ACTIVITY_INSTANCE__ITERATION_ID:
return iterationID != ITERATION_ID_EDEFAULT;
case PerftoolPackage.ACTIVITY_INSTANCE__BASE_ACTIVITY:
return getBaseActivity() != null;
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_WORKFLOW:
return parentWorkflow != null;
case PerftoolPackage.ACTIVITY_INSTANCE__PARENT_INSTANCE:
return parentInstance != null;
case PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS:
return statusEvents != null && !statusEvents.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", instid: ");
result.append(instid);
result.append(", iterationID: ");
result.append(iterationID);
result.append(')');
return result.toString();
}
} //ActivityInstanceImpl
@@ -0,0 +1,426 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
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;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Activity Instance Status Event</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceStatusEventImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceStatusEventImpl#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceStatusEventImpl#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceStatusEventImpl#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityInstanceStatusEventImpl#getParentInstance <em>Parent Instance</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class ActivityInstanceStatusEventImpl extends MinimalEObjectImpl.Container implements ActivityInstanceStatusEvent {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected static final String NEW_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected String newStatus = NEW_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected static final String OLD_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected String oldStatus = OLD_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected static final long TIMESTAMP_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected long timestamp = TIMESTAMP_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ActivityInstanceStatusEventImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.ACTIVITY_INSTANCE_STATUS_EVENT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getNewStatus() {
return newStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setNewStatus(String newNewStatus) {
String oldNewStatus = newStatus;
newStatus = newNewStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__NEW_STATUS, oldNewStatus, newStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOldStatus() {
return oldStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOldStatus(String newOldStatus) {
String oldOldStatus = oldStatus;
oldStatus = newOldStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OLD_STATUS, oldOldStatus, oldStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getTimestamp() {
return timestamp;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTimestamp(long newTimestamp) {
long oldTimestamp = timestamp;
timestamp = newTimestamp;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__TIMESTAMP, oldTimestamp, timestamp));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityInstance getParentInstance() {
if (eContainerFeatureID() != PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE) return null;
return (ActivityInstance)eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetParentInstance(ActivityInstance newParentInstance, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject)newParentInstance, PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParentInstance(ActivityInstance newParentInstance) {
if (newParentInstance != eInternalContainer() || (eContainerFeatureID() != PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE && newParentInstance != null)) {
if (EcoreUtil.isAncestor(this, newParentInstance))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newParentInstance != null)
msgs = ((InternalEObject)newParentInstance).eInverseAdd(this, PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS, ActivityInstance.class, msgs);
msgs = basicSetParentInstance(newParentInstance, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE, newParentInstance, newParentInstance));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetParentInstance((ActivityInstance)otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE:
return basicSetParentInstance(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE:
return eInternalContainer().eInverseRemove(this, PerftoolPackage.ACTIVITY_INSTANCE__STATUS_EVENTS, ActivityInstance.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OID:
return getOid();
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__NEW_STATUS:
return getNewStatus();
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OLD_STATUS:
return getOldStatus();
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__TIMESTAMP:
return getTimestamp();
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE:
return getParentInstance();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__NEW_STATUS:
setNewStatus((String)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OLD_STATUS:
setOldStatus((String)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__TIMESTAMP:
setTimestamp((Long)newValue);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE:
setParentInstance((ActivityInstance)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__NEW_STATUS:
setNewStatus(NEW_STATUS_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OLD_STATUS:
setOldStatus(OLD_STATUS_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__TIMESTAMP:
setTimestamp(TIMESTAMP_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE:
setParentInstance((ActivityInstance)null);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__NEW_STATUS:
return NEW_STATUS_EDEFAULT == null ? newStatus != null : !NEW_STATUS_EDEFAULT.equals(newStatus);
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__OLD_STATUS:
return OLD_STATUS_EDEFAULT == null ? oldStatus != null : !OLD_STATUS_EDEFAULT.equals(oldStatus);
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__TIMESTAMP:
return timestamp != TIMESTAMP_EDEFAULT;
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE:
return getParentInstance() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", newStatus: ");
result.append(newStatus);
result.append(", oldStatus: ");
result.append(oldStatus);
result.append(", timestamp: ");
result.append(timestamp);
result.append(')');
return result.toString();
}
} //ActivityInstanceStatusEventImpl
@@ -0,0 +1,426 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ActivityStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
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;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Activity Status Event</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityStatusEventImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityStatusEventImpl#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityStatusEventImpl#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityStatusEventImpl#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ActivityStatusEventImpl#getParentActivity <em>Parent Activity</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class ActivityStatusEventImpl extends MinimalEObjectImpl.Container implements ActivityStatusEvent {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected static final String NEW_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected String newStatus = NEW_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected static final String OLD_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected String oldStatus = OLD_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected static final long TIMESTAMP_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected long timestamp = TIMESTAMP_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ActivityStatusEventImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.ACTIVITY_STATUS_EVENT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_STATUS_EVENT__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getNewStatus() {
return newStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setNewStatus(String newNewStatus) {
String oldNewStatus = newStatus;
newStatus = newNewStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_STATUS_EVENT__NEW_STATUS, oldNewStatus, newStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOldStatus() {
return oldStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOldStatus(String newOldStatus) {
String oldOldStatus = oldStatus;
oldStatus = newOldStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_STATUS_EVENT__OLD_STATUS, oldOldStatus, oldStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getTimestamp() {
return timestamp;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTimestamp(long newTimestamp) {
long oldTimestamp = timestamp;
timestamp = newTimestamp;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_STATUS_EVENT__TIMESTAMP, oldTimestamp, timestamp));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Activity getParentActivity() {
if (eContainerFeatureID() != PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY) return null;
return (Activity)eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetParentActivity(Activity newParentActivity, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject)newParentActivity, PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParentActivity(Activity newParentActivity) {
if (newParentActivity != eInternalContainer() || (eContainerFeatureID() != PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY && newParentActivity != null)) {
if (EcoreUtil.isAncestor(this, newParentActivity))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newParentActivity != null)
msgs = ((InternalEObject)newParentActivity).eInverseAdd(this, PerftoolPackage.ACTIVITY__STATUS_EVENTS, Activity.class, msgs);
msgs = basicSetParentActivity(newParentActivity, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY, newParentActivity, newParentActivity));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetParentActivity((Activity)otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY:
return basicSetParentActivity(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
case PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY:
return eInternalContainer().eInverseRemove(this, PerftoolPackage.ACTIVITY__STATUS_EVENTS, Activity.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OID:
return getOid();
case PerftoolPackage.ACTIVITY_STATUS_EVENT__NEW_STATUS:
return getNewStatus();
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OLD_STATUS:
return getOldStatus();
case PerftoolPackage.ACTIVITY_STATUS_EVENT__TIMESTAMP:
return getTimestamp();
case PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY:
return getParentActivity();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__NEW_STATUS:
setNewStatus((String)newValue);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OLD_STATUS:
setOldStatus((String)newValue);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__TIMESTAMP:
setTimestamp((Long)newValue);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY:
setParentActivity((Activity)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__NEW_STATUS:
setNewStatus(NEW_STATUS_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OLD_STATUS:
setOldStatus(OLD_STATUS_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__TIMESTAMP:
setTimestamp(TIMESTAMP_EDEFAULT);
return;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY:
setParentActivity((Activity)null);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__NEW_STATUS:
return NEW_STATUS_EDEFAULT == null ? newStatus != null : !NEW_STATUS_EDEFAULT.equals(newStatus);
case PerftoolPackage.ACTIVITY_STATUS_EVENT__OLD_STATUS:
return OLD_STATUS_EDEFAULT == null ? oldStatus != null : !OLD_STATUS_EDEFAULT.equals(oldStatus);
case PerftoolPackage.ACTIVITY_STATUS_EVENT__TIMESTAMP:
return timestamp != TIMESTAMP_EDEFAULT;
case PerftoolPackage.ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY:
return getParentActivity() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", newStatus: ");
result.append(newStatus);
result.append(", oldStatus: ");
result.append(oldStatus);
result.append(", timestamp: ");
result.append(timestamp);
result.append(')');
return result.toString();
}
} //ActivityStatusEventImpl
@@ -0,0 +1,480 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.ComponentStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
import at.ac.uibk.wfr.perftool.Workflow;
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;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Component Status Event</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ComponentStatusEventImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ComponentStatusEventImpl#getComponentType <em>Component Type</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ComponentStatusEventImpl#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ComponentStatusEventImpl#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ComponentStatusEventImpl#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.ComponentStatusEventImpl#getWorkflow <em>Workflow</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class ComponentStatusEventImpl extends MinimalEObjectImpl.Container implements ComponentStatusEvent {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getComponentType() <em>Component Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getComponentType()
* @generated
* @ordered
*/
protected static final String COMPONENT_TYPE_EDEFAULT = null;
/**
* The cached value of the '{@link #getComponentType() <em>Component Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getComponentType()
* @generated
* @ordered
*/
protected String componentType = COMPONENT_TYPE_EDEFAULT;
/**
* The default value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected static final String NEW_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected String newStatus = NEW_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected static final String OLD_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected String oldStatus = OLD_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected static final long TIMESTAMP_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected long timestamp = TIMESTAMP_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ComponentStatusEventImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.COMPONENT_STATUS_EVENT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.COMPONENT_STATUS_EVENT__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getComponentType() {
return componentType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setComponentType(String newComponentType) {
String oldComponentType = componentType;
componentType = newComponentType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.COMPONENT_STATUS_EVENT__COMPONENT_TYPE, oldComponentType, componentType));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getNewStatus() {
return newStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setNewStatus(String newNewStatus) {
String oldNewStatus = newStatus;
newStatus = newNewStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.COMPONENT_STATUS_EVENT__NEW_STATUS, oldNewStatus, newStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOldStatus() {
return oldStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOldStatus(String newOldStatus) {
String oldOldStatus = oldStatus;
oldStatus = newOldStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.COMPONENT_STATUS_EVENT__OLD_STATUS, oldOldStatus, oldStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getTimestamp() {
return timestamp;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTimestamp(long newTimestamp) {
long oldTimestamp = timestamp;
timestamp = newTimestamp;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.COMPONENT_STATUS_EVENT__TIMESTAMP, oldTimestamp, timestamp));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow getWorkflow() {
if (eContainerFeatureID() != PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW) return null;
return (Workflow)eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetWorkflow(Workflow newWorkflow, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject)newWorkflow, PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setWorkflow(Workflow newWorkflow) {
if (newWorkflow != eInternalContainer() || (eContainerFeatureID() != PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW && newWorkflow != null)) {
if (EcoreUtil.isAncestor(this, newWorkflow))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newWorkflow != null)
msgs = ((InternalEObject)newWorkflow).eInverseAdd(this, PerftoolPackage.WORKFLOW__COMPONENT_EVENTS, Workflow.class, msgs);
msgs = basicSetWorkflow(newWorkflow, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW, newWorkflow, newWorkflow));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetWorkflow((Workflow)otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW:
return basicSetWorkflow(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
case PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW:
return eInternalContainer().eInverseRemove(this, PerftoolPackage.WORKFLOW__COMPONENT_EVENTS, Workflow.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.COMPONENT_STATUS_EVENT__OID:
return getOid();
case PerftoolPackage.COMPONENT_STATUS_EVENT__COMPONENT_TYPE:
return getComponentType();
case PerftoolPackage.COMPONENT_STATUS_EVENT__NEW_STATUS:
return getNewStatus();
case PerftoolPackage.COMPONENT_STATUS_EVENT__OLD_STATUS:
return getOldStatus();
case PerftoolPackage.COMPONENT_STATUS_EVENT__TIMESTAMP:
return getTimestamp();
case PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW:
return getWorkflow();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.COMPONENT_STATUS_EVENT__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__COMPONENT_TYPE:
setComponentType((String)newValue);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__NEW_STATUS:
setNewStatus((String)newValue);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__OLD_STATUS:
setOldStatus((String)newValue);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__TIMESTAMP:
setTimestamp((Long)newValue);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW:
setWorkflow((Workflow)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.COMPONENT_STATUS_EVENT__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__COMPONENT_TYPE:
setComponentType(COMPONENT_TYPE_EDEFAULT);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__NEW_STATUS:
setNewStatus(NEW_STATUS_EDEFAULT);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__OLD_STATUS:
setOldStatus(OLD_STATUS_EDEFAULT);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__TIMESTAMP:
setTimestamp(TIMESTAMP_EDEFAULT);
return;
case PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW:
setWorkflow((Workflow)null);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.COMPONENT_STATUS_EVENT__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.COMPONENT_STATUS_EVENT__COMPONENT_TYPE:
return COMPONENT_TYPE_EDEFAULT == null ? componentType != null : !COMPONENT_TYPE_EDEFAULT.equals(componentType);
case PerftoolPackage.COMPONENT_STATUS_EVENT__NEW_STATUS:
return NEW_STATUS_EDEFAULT == null ? newStatus != null : !NEW_STATUS_EDEFAULT.equals(newStatus);
case PerftoolPackage.COMPONENT_STATUS_EVENT__OLD_STATUS:
return OLD_STATUS_EDEFAULT == null ? oldStatus != null : !OLD_STATUS_EDEFAULT.equals(oldStatus);
case PerftoolPackage.COMPONENT_STATUS_EVENT__TIMESTAMP:
return timestamp != TIMESTAMP_EDEFAULT;
case PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW:
return getWorkflow() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", componentType: ");
result.append(componentType);
result.append(", newStatus: ");
result.append(newStatus);
result.append(", oldStatus: ");
result.append(oldStatus);
result.append(", timestamp: ");
result.append(timestamp);
result.append(')');
return result.toString();
}
} //ComponentStatusEventImpl
@@ -0,0 +1,703 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
import at.ac.uibk.wfr.perftool.Workflow;
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;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Device Instance Status Event</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getDeviceType <em>Device Type</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getDeviceID <em>Device ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getExecutedImplID <em>Executed Impl ID</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getDeviceSlotCount <em>Device Slot Count</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getParentWorkflow <em>Parent Workflow</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.DeviceInstanceStatusEventImpl#getExecutedInstance <em>Executed Instance</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class DeviceInstanceStatusEventImpl extends MinimalEObjectImpl.Container implements DeviceInstanceStatusEvent {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getDeviceType() <em>Device Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDeviceType()
* @generated
* @ordered
*/
protected static final String DEVICE_TYPE_EDEFAULT = null;
/**
* The cached value of the '{@link #getDeviceType() <em>Device Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDeviceType()
* @generated
* @ordered
*/
protected String deviceType = DEVICE_TYPE_EDEFAULT;
/**
* The default value of the '{@link #getDeviceID() <em>Device ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDeviceID()
* @generated
* @ordered
*/
protected static final long DEVICE_ID_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getDeviceID() <em>Device ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDeviceID()
* @generated
* @ordered
*/
protected long deviceID = DEVICE_ID_EDEFAULT;
/**
* The default value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected static final String NEW_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected String newStatus = NEW_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected static final String OLD_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected String oldStatus = OLD_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected static final long TIMESTAMP_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected long timestamp = TIMESTAMP_EDEFAULT;
/**
* The default value of the '{@link #getExecutedImplID() <em>Executed Impl ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getExecutedImplID()
* @generated
* @ordered
*/
protected static final long EXECUTED_IMPL_ID_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getExecutedImplID() <em>Executed Impl ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getExecutedImplID()
* @generated
* @ordered
*/
protected long executedImplID = EXECUTED_IMPL_ID_EDEFAULT;
/**
* The default value of the '{@link #getDeviceSlotCount() <em>Device Slot Count</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDeviceSlotCount()
* @generated
* @ordered
*/
protected static final long DEVICE_SLOT_COUNT_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getDeviceSlotCount() <em>Device Slot Count</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDeviceSlotCount()
* @generated
* @ordered
*/
protected long deviceSlotCount = DEVICE_SLOT_COUNT_EDEFAULT;
/**
* The cached value of the '{@link #getExecutedInstance() <em>Executed Instance</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getExecutedInstance()
* @generated
* @ordered
*/
protected ActivityInstance executedInstance;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected DeviceInstanceStatusEventImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.DEVICE_INSTANCE_STATUS_EVENT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getDeviceType() {
return deviceType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDeviceType(String newDeviceType) {
String oldDeviceType = deviceType;
deviceType = newDeviceType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_TYPE, oldDeviceType, deviceType));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getDeviceID() {
return deviceID;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDeviceID(long newDeviceID) {
long oldDeviceID = deviceID;
deviceID = newDeviceID;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_ID, oldDeviceID, deviceID));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getNewStatus() {
return newStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setNewStatus(String newNewStatus) {
String oldNewStatus = newStatus;
newStatus = newNewStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__NEW_STATUS, oldNewStatus, newStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOldStatus() {
return oldStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOldStatus(String newOldStatus) {
String oldOldStatus = oldStatus;
oldStatus = newOldStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OLD_STATUS, oldOldStatus, oldStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getTimestamp() {
return timestamp;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTimestamp(long newTimestamp) {
long oldTimestamp = timestamp;
timestamp = newTimestamp;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__TIMESTAMP, oldTimestamp, timestamp));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getExecutedImplID() {
return executedImplID;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setExecutedImplID(long newExecutedImplID) {
long oldExecutedImplID = executedImplID;
executedImplID = newExecutedImplID;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_IMPL_ID, oldExecutedImplID, executedImplID));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getDeviceSlotCount() {
return deviceSlotCount;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDeviceSlotCount(long newDeviceSlotCount) {
long oldDeviceSlotCount = deviceSlotCount;
deviceSlotCount = newDeviceSlotCount;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_SLOT_COUNT, oldDeviceSlotCount, deviceSlotCount));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow getParentWorkflow() {
if (eContainerFeatureID() != PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW) return null;
return (Workflow)eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetParentWorkflow(Workflow newParentWorkflow, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject)newParentWorkflow, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParentWorkflow(Workflow newParentWorkflow) {
if (newParentWorkflow != eInternalContainer() || (eContainerFeatureID() != PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW && newParentWorkflow != null)) {
if (EcoreUtil.isAncestor(this, newParentWorkflow))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newParentWorkflow != null)
msgs = ((InternalEObject)newParentWorkflow).eInverseAdd(this, PerftoolPackage.WORKFLOW__DEVICE_EVENTS, Workflow.class, msgs);
msgs = basicSetParentWorkflow(newParentWorkflow, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW, newParentWorkflow, newParentWorkflow));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityInstance getExecutedInstance() {
if (executedInstance != null && executedInstance.eIsProxy()) {
InternalEObject oldExecutedInstance = (InternalEObject)executedInstance;
executedInstance = (ActivityInstance)eResolveProxy(oldExecutedInstance);
if (executedInstance != oldExecutedInstance) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_INSTANCE, oldExecutedInstance, executedInstance));
}
}
return executedInstance;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityInstance basicGetExecutedInstance() {
return executedInstance;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setExecutedInstance(ActivityInstance newExecutedInstance) {
ActivityInstance oldExecutedInstance = executedInstance;
executedInstance = newExecutedInstance;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_INSTANCE, oldExecutedInstance, executedInstance));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetParentWorkflow((Workflow)otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW:
return basicSetParentWorkflow(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW:
return eInternalContainer().eInverseRemove(this, PerftoolPackage.WORKFLOW__DEVICE_EVENTS, Workflow.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OID:
return getOid();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_TYPE:
return getDeviceType();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_ID:
return getDeviceID();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__NEW_STATUS:
return getNewStatus();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OLD_STATUS:
return getOldStatus();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__TIMESTAMP:
return getTimestamp();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_IMPL_ID:
return getExecutedImplID();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_SLOT_COUNT:
return getDeviceSlotCount();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW:
return getParentWorkflow();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_INSTANCE:
if (resolve) return getExecutedInstance();
return basicGetExecutedInstance();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_TYPE:
setDeviceType((String)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_ID:
setDeviceID((Long)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__NEW_STATUS:
setNewStatus((String)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OLD_STATUS:
setOldStatus((String)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__TIMESTAMP:
setTimestamp((Long)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_IMPL_ID:
setExecutedImplID((Long)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_SLOT_COUNT:
setDeviceSlotCount((Long)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW:
setParentWorkflow((Workflow)newValue);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_INSTANCE:
setExecutedInstance((ActivityInstance)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_TYPE:
setDeviceType(DEVICE_TYPE_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_ID:
setDeviceID(DEVICE_ID_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__NEW_STATUS:
setNewStatus(NEW_STATUS_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OLD_STATUS:
setOldStatus(OLD_STATUS_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__TIMESTAMP:
setTimestamp(TIMESTAMP_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_IMPL_ID:
setExecutedImplID(EXECUTED_IMPL_ID_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_SLOT_COUNT:
setDeviceSlotCount(DEVICE_SLOT_COUNT_EDEFAULT);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW:
setParentWorkflow((Workflow)null);
return;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_INSTANCE:
setExecutedInstance((ActivityInstance)null);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_TYPE:
return DEVICE_TYPE_EDEFAULT == null ? deviceType != null : !DEVICE_TYPE_EDEFAULT.equals(deviceType);
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_ID:
return deviceID != DEVICE_ID_EDEFAULT;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__NEW_STATUS:
return NEW_STATUS_EDEFAULT == null ? newStatus != null : !NEW_STATUS_EDEFAULT.equals(newStatus);
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__OLD_STATUS:
return OLD_STATUS_EDEFAULT == null ? oldStatus != null : !OLD_STATUS_EDEFAULT.equals(oldStatus);
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__TIMESTAMP:
return timestamp != TIMESTAMP_EDEFAULT;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_IMPL_ID:
return executedImplID != EXECUTED_IMPL_ID_EDEFAULT;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__DEVICE_SLOT_COUNT:
return deviceSlotCount != DEVICE_SLOT_COUNT_EDEFAULT;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW:
return getParentWorkflow() != null;
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_INSTANCE:
return executedInstance != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", deviceType: ");
result.append(deviceType);
result.append(", deviceID: ");
result.append(deviceID);
result.append(", newStatus: ");
result.append(newStatus);
result.append(", oldStatus: ");
result.append(oldStatus);
result.append(", timestamp: ");
result.append(timestamp);
result.append(", executedImplID: ");
result.append(executedImplID);
result.append(", deviceSlotCount: ");
result.append(deviceSlotCount);
result.append(')');
return result.toString();
}
} //DeviceInstanceStatusEventImpl
@@ -0,0 +1,172 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.*;
import org.eclipse.emf.ecore.EClass;
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;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
* @generated
*/
public class PerftoolFactoryImpl extends EFactoryImpl implements PerftoolFactory {
/**
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static PerftoolFactory init() {
try {
PerftoolFactory thePerftoolFactory = (PerftoolFactory)EPackage.Registry.INSTANCE.getEFactory(PerftoolPackage.eNS_URI);
if (thePerftoolFactory != null) {
return thePerftoolFactory;
}
}
catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new PerftoolFactoryImpl();
}
/**
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerftoolFactoryImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case PerftoolPackage.WORKFLOW: return createWorkflow();
case PerftoolPackage.ACTIVITY: return createActivity();
case PerftoolPackage.ACTIVITY_INSTANCE: return createActivityInstance();
case PerftoolPackage.WORKFLOW_STATUS_EVENT: return createWorkflowStatusEvent();
case PerftoolPackage.ACTIVITY_STATUS_EVENT: return createActivityStatusEvent();
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT: return createActivityInstanceStatusEvent();
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT: return createDeviceInstanceStatusEvent();
case PerftoolPackage.COMPONENT_STATUS_EVENT: return createComponentStatusEvent();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow createWorkflow() {
WorkflowImpl workflow = new WorkflowImpl();
return workflow;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Activity createActivity() {
ActivityImpl activity = new ActivityImpl();
return activity;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityInstance createActivityInstance() {
ActivityInstanceImpl activityInstance = new ActivityInstanceImpl();
return activityInstance;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public WorkflowStatusEvent createWorkflowStatusEvent() {
WorkflowStatusEventImpl workflowStatusEvent = new WorkflowStatusEventImpl();
return workflowStatusEvent;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityStatusEvent createActivityStatusEvent() {
ActivityStatusEventImpl activityStatusEvent = new ActivityStatusEventImpl();
return activityStatusEvent;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivityInstanceStatusEvent createActivityInstanceStatusEvent() {
ActivityInstanceStatusEventImpl activityInstanceStatusEvent = new ActivityInstanceStatusEventImpl();
return activityInstanceStatusEvent;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public DeviceInstanceStatusEvent createDeviceInstanceStatusEvent() {
DeviceInstanceStatusEventImpl deviceInstanceStatusEvent = new DeviceInstanceStatusEventImpl();
return deviceInstanceStatusEvent;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ComponentStatusEvent createComponentStatusEvent() {
ComponentStatusEventImpl componentStatusEvent = new ComponentStatusEventImpl();
return componentStatusEvent;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerftoolPackage getPerftoolPackage() {
return (PerftoolPackage)getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @deprecated
* @generated
*/
@Deprecated
public static PerftoolPackage getPackage() {
return PerftoolPackage.eINSTANCE;
}
} //PerftoolFactoryImpl
@@ -0,0 +1,930 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.ActivityStatusEvent;
import at.ac.uibk.wfr.perftool.ComponentStatusEvent;
import at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolFactory;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
import at.ac.uibk.wfr.perftool.Workflow;
import at.ac.uibk.wfr.perftool.WorkflowStatusEvent;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
* @generated
*/
public class PerftoolPackageImpl extends EPackageImpl implements PerftoolPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass workflowEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass activityEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass activityInstanceEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass workflowStatusEventEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass activityStatusEventEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass activityInstanceStatusEventEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass deviceInstanceStatusEventEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass componentStatusEventEClass = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* <p>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.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see at.ac.uibk.wfr.perftool.PerftoolPackage#eNS_URI
* @see #init()
* @generated
*/
private PerftoolPackageImpl() {
super(eNS_URI, PerftoolFactory.eINSTANCE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>This method is used to initialize {@link PerftoolPackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static PerftoolPackage init() {
if (isInited) return (PerftoolPackage)EPackage.Registry.INSTANCE.getEPackage(PerftoolPackage.eNS_URI);
// Obtain or create and register package
PerftoolPackageImpl thePerftoolPackage = (PerftoolPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PerftoolPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PerftoolPackageImpl());
isInited = true;
// Create package meta-data objects
thePerftoolPackage.createPackageContents();
// Initialize created meta-data
thePerftoolPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
thePerftoolPackage.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(PerftoolPackage.eNS_URI, thePerftoolPackage);
return thePerftoolPackage;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getWorkflow() {
return workflowEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflow_Oid() {
return (EAttribute)workflowEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflow_Wfid() {
return (EAttribute)workflowEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflow_Uuid() {
return (EAttribute)workflowEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflow_Name() {
return (EAttribute)workflowEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getWorkflow_ToplevelActivity() {
return (EReference)workflowEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getWorkflow_StatusEvents() {
return (EReference)workflowEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getWorkflow_DeviceEvents() {
return (EReference)workflowEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getWorkflow_ComponentEvents() {
return (EReference)workflowEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getActivity() {
return activityEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivity_Oid() {
return (EAttribute)activityEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivity_Actid() {
return (EAttribute)activityEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivity_Name() {
return (EAttribute)activityEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivity_Type() {
return (EAttribute)activityEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivity_BranchID() {
return (EAttribute)activityEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivity_ParentWorkflow() {
return (EReference)activityEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivity_Instances() {
return (EReference)activityEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivity_StatusEvents() {
return (EReference)activityEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivity_Parent() {
return (EReference)activityEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivity_Children() {
return (EReference)activityEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getActivityInstance() {
return activityInstanceEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityInstance_Oid() {
return (EAttribute)activityInstanceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityInstance_Instid() {
return (EAttribute)activityInstanceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityInstance_IterationID() {
return (EAttribute)activityInstanceEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivityInstance_BaseActivity() {
return (EReference)activityInstanceEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivityInstance_ParentWorkflow() {
return (EReference)activityInstanceEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivityInstance_ParentInstance() {
return (EReference)activityInstanceEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivityInstance_StatusEvents() {
return (EReference)activityInstanceEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getWorkflowStatusEvent() {
return workflowStatusEventEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflowStatusEvent_Oid() {
return (EAttribute)workflowStatusEventEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflowStatusEvent_NewStatus() {
return (EAttribute)workflowStatusEventEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflowStatusEvent_OldStatus() {
return (EAttribute)workflowStatusEventEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getWorkflowStatusEvent_Timestamp() {
return (EAttribute)workflowStatusEventEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getWorkflowStatusEvent_ParentWorkflow() {
return (EReference)workflowStatusEventEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getActivityStatusEvent() {
return activityStatusEventEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityStatusEvent_Oid() {
return (EAttribute)activityStatusEventEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityStatusEvent_NewStatus() {
return (EAttribute)activityStatusEventEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityStatusEvent_OldStatus() {
return (EAttribute)activityStatusEventEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityStatusEvent_Timestamp() {
return (EAttribute)activityStatusEventEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivityStatusEvent_ParentActivity() {
return (EReference)activityStatusEventEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getActivityInstanceStatusEvent() {
return activityInstanceStatusEventEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityInstanceStatusEvent_Oid() {
return (EAttribute)activityInstanceStatusEventEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityInstanceStatusEvent_NewStatus() {
return (EAttribute)activityInstanceStatusEventEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityInstanceStatusEvent_OldStatus() {
return (EAttribute)activityInstanceStatusEventEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getActivityInstanceStatusEvent_Timestamp() {
return (EAttribute)activityInstanceStatusEventEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getActivityInstanceStatusEvent_ParentInstance() {
return (EReference)activityInstanceStatusEventEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getDeviceInstanceStatusEvent() {
return deviceInstanceStatusEventEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_Oid() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_DeviceType() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_DeviceID() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_NewStatus() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_OldStatus() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_Timestamp() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_ExecutedImplID() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDeviceInstanceStatusEvent_DeviceSlotCount() {
return (EAttribute)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getDeviceInstanceStatusEvent_ParentWorkflow() {
return (EReference)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getDeviceInstanceStatusEvent_ExecutedInstance() {
return (EReference)deviceInstanceStatusEventEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getComponentStatusEvent() {
return componentStatusEventEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getComponentStatusEvent_Oid() {
return (EAttribute)componentStatusEventEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getComponentStatusEvent_ComponentType() {
return (EAttribute)componentStatusEventEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getComponentStatusEvent_NewStatus() {
return (EAttribute)componentStatusEventEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getComponentStatusEvent_OldStatus() {
return (EAttribute)componentStatusEventEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getComponentStatusEvent_Timestamp() {
return (EAttribute)componentStatusEventEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getComponentStatusEvent_Workflow() {
return (EReference)componentStatusEventEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerftoolFactory getPerftoolFactory() {
return (PerftoolFactory)getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @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.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void createPackageContents() {
if (isCreated) return;
isCreated = true;
// Create classes and their features
workflowEClass = createEClass(WORKFLOW);
createEAttribute(workflowEClass, WORKFLOW__OID);
createEAttribute(workflowEClass, WORKFLOW__WFID);
createEAttribute(workflowEClass, WORKFLOW__UUID);
createEAttribute(workflowEClass, WORKFLOW__NAME);
createEReference(workflowEClass, WORKFLOW__TOPLEVEL_ACTIVITY);
createEReference(workflowEClass, WORKFLOW__STATUS_EVENTS);
createEReference(workflowEClass, WORKFLOW__DEVICE_EVENTS);
createEReference(workflowEClass, WORKFLOW__COMPONENT_EVENTS);
activityEClass = createEClass(ACTIVITY);
createEAttribute(activityEClass, ACTIVITY__OID);
createEAttribute(activityEClass, ACTIVITY__ACTID);
createEAttribute(activityEClass, ACTIVITY__NAME);
createEAttribute(activityEClass, ACTIVITY__TYPE);
createEAttribute(activityEClass, ACTIVITY__BRANCH_ID);
createEReference(activityEClass, ACTIVITY__PARENT_WORKFLOW);
createEReference(activityEClass, ACTIVITY__INSTANCES);
createEReference(activityEClass, ACTIVITY__STATUS_EVENTS);
createEReference(activityEClass, ACTIVITY__PARENT);
createEReference(activityEClass, ACTIVITY__CHILDREN);
activityInstanceEClass = createEClass(ACTIVITY_INSTANCE);
createEAttribute(activityInstanceEClass, ACTIVITY_INSTANCE__OID);
createEAttribute(activityInstanceEClass, ACTIVITY_INSTANCE__INSTID);
createEAttribute(activityInstanceEClass, ACTIVITY_INSTANCE__ITERATION_ID);
createEReference(activityInstanceEClass, ACTIVITY_INSTANCE__BASE_ACTIVITY);
createEReference(activityInstanceEClass, ACTIVITY_INSTANCE__PARENT_WORKFLOW);
createEReference(activityInstanceEClass, ACTIVITY_INSTANCE__PARENT_INSTANCE);
createEReference(activityInstanceEClass, ACTIVITY_INSTANCE__STATUS_EVENTS);
workflowStatusEventEClass = createEClass(WORKFLOW_STATUS_EVENT);
createEAttribute(workflowStatusEventEClass, WORKFLOW_STATUS_EVENT__OID);
createEAttribute(workflowStatusEventEClass, WORKFLOW_STATUS_EVENT__NEW_STATUS);
createEAttribute(workflowStatusEventEClass, WORKFLOW_STATUS_EVENT__OLD_STATUS);
createEAttribute(workflowStatusEventEClass, WORKFLOW_STATUS_EVENT__TIMESTAMP);
createEReference(workflowStatusEventEClass, WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW);
activityStatusEventEClass = createEClass(ACTIVITY_STATUS_EVENT);
createEAttribute(activityStatusEventEClass, ACTIVITY_STATUS_EVENT__OID);
createEAttribute(activityStatusEventEClass, ACTIVITY_STATUS_EVENT__NEW_STATUS);
createEAttribute(activityStatusEventEClass, ACTIVITY_STATUS_EVENT__OLD_STATUS);
createEAttribute(activityStatusEventEClass, ACTIVITY_STATUS_EVENT__TIMESTAMP);
createEReference(activityStatusEventEClass, ACTIVITY_STATUS_EVENT__PARENT_ACTIVITY);
activityInstanceStatusEventEClass = createEClass(ACTIVITY_INSTANCE_STATUS_EVENT);
createEAttribute(activityInstanceStatusEventEClass, ACTIVITY_INSTANCE_STATUS_EVENT__OID);
createEAttribute(activityInstanceStatusEventEClass, ACTIVITY_INSTANCE_STATUS_EVENT__NEW_STATUS);
createEAttribute(activityInstanceStatusEventEClass, ACTIVITY_INSTANCE_STATUS_EVENT__OLD_STATUS);
createEAttribute(activityInstanceStatusEventEClass, ACTIVITY_INSTANCE_STATUS_EVENT__TIMESTAMP);
createEReference(activityInstanceStatusEventEClass, ACTIVITY_INSTANCE_STATUS_EVENT__PARENT_INSTANCE);
deviceInstanceStatusEventEClass = createEClass(DEVICE_INSTANCE_STATUS_EVENT);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__OID);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__DEVICE_TYPE);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__DEVICE_ID);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__NEW_STATUS);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__OLD_STATUS);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__TIMESTAMP);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_IMPL_ID);
createEAttribute(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__DEVICE_SLOT_COUNT);
createEReference(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW);
createEReference(deviceInstanceStatusEventEClass, DEVICE_INSTANCE_STATUS_EVENT__EXECUTED_INSTANCE);
componentStatusEventEClass = createEClass(COMPONENT_STATUS_EVENT);
createEAttribute(componentStatusEventEClass, COMPONENT_STATUS_EVENT__OID);
createEAttribute(componentStatusEventEClass, COMPONENT_STATUS_EVENT__COMPONENT_TYPE);
createEAttribute(componentStatusEventEClass, COMPONENT_STATUS_EVENT__NEW_STATUS);
createEAttribute(componentStatusEventEClass, COMPONENT_STATUS_EVENT__OLD_STATUS);
createEAttribute(componentStatusEventEClass, COMPONENT_STATUS_EVENT__TIMESTAMP);
createEReference(componentStatusEventEClass, COMPONENT_STATUS_EVENT__WORKFLOW);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @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.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @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
// Initialize classes, features, and operations; add parameters
initEClass(workflowEClass, Workflow.class, "Workflow", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getWorkflow_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getWorkflow_Wfid(), ecorePackage.getELong(), "wfid", null, 1, 1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getWorkflow_Uuid(), ecorePackage.getEString(), "uuid", null, 1, 1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getWorkflow_Name(), ecorePackage.getEString(), "name", null, 1, 1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getWorkflow_ToplevelActivity(), this.getActivity(), null, "toplevelActivity", null, 0, 1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getWorkflow_StatusEvents(), this.getWorkflowStatusEvent(), this.getWorkflowStatusEvent_ParentWorkflow(), "statusEvents", null, 0, -1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getWorkflow_DeviceEvents(), this.getDeviceInstanceStatusEvent(), this.getDeviceInstanceStatusEvent_ParentWorkflow(), "deviceEvents", null, 0, -1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getWorkflow_ComponentEvents(), this.getComponentStatusEvent(), this.getComponentStatusEvent_Workflow(), "componentEvents", null, 0, -1, Workflow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(activityEClass, Activity.class, "Activity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getActivity_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivity_Actid(), ecorePackage.getELong(), "actid", null, 1, 1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivity_Name(), ecorePackage.getEString(), "name", null, 1, 1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivity_Type(), ecorePackage.getEString(), "type", null, 1, 1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivity_BranchID(), ecorePackage.getELong(), "branchID", null, 1, 1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivity_ParentWorkflow(), this.getWorkflow(), null, "parentWorkflow", null, 1, 1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getActivity_Instances(), this.getActivityInstance(), this.getActivityInstance_BaseActivity(), "instances", null, 0, -1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getActivity_StatusEvents(), this.getActivityStatusEvent(), this.getActivityStatusEvent_ParentActivity(), "statusEvents", null, 0, -1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getActivity_Parent(), this.getActivity(), this.getActivity_Children(), "parent", null, 0, 1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivity_Children(), this.getActivity(), this.getActivity_Parent(), "children", null, 0, -1, Activity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(activityInstanceEClass, ActivityInstance.class, "ActivityInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getActivityInstance_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, ActivityInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityInstance_Instid(), ecorePackage.getELong(), "instid", null, 1, 1, ActivityInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityInstance_IterationID(), ecorePackage.getELong(), "iterationID", null, 1, 1, ActivityInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivityInstance_BaseActivity(), this.getActivity(), this.getActivity_Instances(), "baseActivity", null, 1, 1, ActivityInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivityInstance_ParentWorkflow(), this.getWorkflow(), null, "parentWorkflow", null, 0, 1, ActivityInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivityInstance_ParentInstance(), this.getActivityInstance(), null, "parentInstance", null, 0, 1, ActivityInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivityInstance_StatusEvents(), this.getActivityInstanceStatusEvent(), this.getActivityInstanceStatusEvent_ParentInstance(), "statusEvents", null, 0, -1, ActivityInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(workflowStatusEventEClass, WorkflowStatusEvent.class, "WorkflowStatusEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getWorkflowStatusEvent_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, WorkflowStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getWorkflowStatusEvent_NewStatus(), ecorePackage.getEString(), "newStatus", null, 1, 1, WorkflowStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getWorkflowStatusEvent_OldStatus(), ecorePackage.getEString(), "oldStatus", null, 1, 1, WorkflowStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getWorkflowStatusEvent_Timestamp(), ecorePackage.getELong(), "timestamp", null, 1, 1, WorkflowStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getWorkflowStatusEvent_ParentWorkflow(), this.getWorkflow(), this.getWorkflow_StatusEvents(), "parentWorkflow", null, 1, 1, WorkflowStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(activityStatusEventEClass, ActivityStatusEvent.class, "ActivityStatusEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getActivityStatusEvent_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, ActivityStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityStatusEvent_NewStatus(), ecorePackage.getEString(), "newStatus", null, 1, 1, ActivityStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityStatusEvent_OldStatus(), ecorePackage.getEString(), "oldStatus", null, 1, 1, ActivityStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityStatusEvent_Timestamp(), ecorePackage.getELong(), "timestamp", null, 1, 1, ActivityStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivityStatusEvent_ParentActivity(), this.getActivity(), this.getActivity_StatusEvents(), "parentActivity", null, 1, 1, ActivityStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(activityInstanceStatusEventEClass, ActivityInstanceStatusEvent.class, "ActivityInstanceStatusEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getActivityInstanceStatusEvent_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, ActivityInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityInstanceStatusEvent_NewStatus(), ecorePackage.getEString(), "newStatus", null, 1, 1, ActivityInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityInstanceStatusEvent_OldStatus(), ecorePackage.getEString(), "oldStatus", null, 1, 1, ActivityInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getActivityInstanceStatusEvent_Timestamp(), ecorePackage.getELong(), "timestamp", null, 1, 1, ActivityInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActivityInstanceStatusEvent_ParentInstance(), this.getActivityInstance(), this.getActivityInstance_StatusEvents(), "parentInstance", null, 1, 1, ActivityInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(deviceInstanceStatusEventEClass, DeviceInstanceStatusEvent.class, "DeviceInstanceStatusEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getDeviceInstanceStatusEvent_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDeviceInstanceStatusEvent_DeviceType(), ecorePackage.getEString(), "deviceType", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDeviceInstanceStatusEvent_DeviceID(), ecorePackage.getELong(), "deviceID", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDeviceInstanceStatusEvent_NewStatus(), ecorePackage.getEString(), "newStatus", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDeviceInstanceStatusEvent_OldStatus(), ecorePackage.getEString(), "oldStatus", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDeviceInstanceStatusEvent_Timestamp(), ecorePackage.getELong(), "timestamp", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDeviceInstanceStatusEvent_ExecutedImplID(), ecorePackage.getELong(), "executedImplID", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDeviceInstanceStatusEvent_DeviceSlotCount(), ecorePackage.getELong(), "deviceSlotCount", null, 1, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDeviceInstanceStatusEvent_ParentWorkflow(), this.getWorkflow(), this.getWorkflow_DeviceEvents(), "parentWorkflow", null, 0, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDeviceInstanceStatusEvent_ExecutedInstance(), this.getActivityInstance(), null, "executedInstance", null, 0, 1, DeviceInstanceStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(componentStatusEventEClass, ComponentStatusEvent.class, "ComponentStatusEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getComponentStatusEvent_Oid(), ecorePackage.getEInt(), "oid", null, 1, 1, ComponentStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getComponentStatusEvent_ComponentType(), ecorePackage.getEString(), "componentType", null, 1, 1, ComponentStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getComponentStatusEvent_NewStatus(), ecorePackage.getEString(), "newStatus", null, 1, 1, ComponentStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getComponentStatusEvent_OldStatus(), ecorePackage.getEString(), "oldStatus", null, 1, 1, ComponentStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getComponentStatusEvent_Timestamp(), ecorePackage.getELong(), "timestamp", null, 1, 1, ComponentStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getComponentStatusEvent_Workflow(), this.getWorkflow(), this.getWorkflow_ComponentEvents(), "workflow", null, 0, 1, ComponentStatusEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);
}
} //PerftoolPackageImpl
@@ -0,0 +1,544 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ComponentStatusEvent;
import at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
import at.ac.uibk.wfr.perftool.Workflow;
import at.ac.uibk.wfr.perftool.WorkflowStatusEvent;
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.EObjectContainmentWithInverseEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Workflow</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getWfid <em>Wfid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getUuid <em>Uuid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getName <em>Name</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getToplevelActivity <em>Toplevel Activity</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getStatusEvents <em>Status Events</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getDeviceEvents <em>Device Events</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowImpl#getComponentEvents <em>Component Events</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class WorkflowImpl extends MinimalEObjectImpl.Container implements Workflow {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getWfid() <em>Wfid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getWfid()
* @generated
* @ordered
*/
protected static final long WFID_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getWfid() <em>Wfid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getWfid()
* @generated
* @ordered
*/
protected long wfid = WFID_EDEFAULT;
/**
* The default value of the '{@link #getUuid() <em>Uuid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getUuid()
* @generated
* @ordered
*/
protected static final String UUID_EDEFAULT = null;
/**
* The cached value of the '{@link #getUuid() <em>Uuid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getUuid()
* @generated
* @ordered
*/
protected String uuid = UUID_EDEFAULT;
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected String name = NAME_EDEFAULT;
/**
* The cached value of the '{@link #getToplevelActivity() <em>Toplevel Activity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getToplevelActivity()
* @generated
* @ordered
*/
protected Activity toplevelActivity;
/**
* The cached value of the '{@link #getStatusEvents() <em>Status Events</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStatusEvents()
* @generated
* @ordered
*/
protected EList<WorkflowStatusEvent> statusEvents;
/**
* The cached value of the '{@link #getDeviceEvents() <em>Device Events</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDeviceEvents()
* @generated
* @ordered
*/
protected EList<DeviceInstanceStatusEvent> deviceEvents;
/**
* The cached value of the '{@link #getComponentEvents() <em>Component Events</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getComponentEvents()
* @generated
* @ordered
*/
protected EList<ComponentStatusEvent> componentEvents;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected WorkflowImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.WORKFLOW;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getWfid() {
return wfid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setWfid(long newWfid) {
long oldWfid = wfid;
wfid = newWfid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW__WFID, oldWfid, wfid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getUuid() {
return uuid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setUuid(String newUuid) {
String oldUuid = uuid;
uuid = newUuid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW__UUID, oldUuid, uuid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Activity getToplevelActivity() {
return toplevelActivity;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetToplevelActivity(Activity newToplevelActivity, NotificationChain msgs) {
Activity oldToplevelActivity = toplevelActivity;
toplevelActivity = newToplevelActivity;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY, oldToplevelActivity, newToplevelActivity);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setToplevelActivity(Activity newToplevelActivity) {
if (newToplevelActivity != toplevelActivity) {
NotificationChain msgs = null;
if (toplevelActivity != null)
msgs = ((InternalEObject)toplevelActivity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY, null, msgs);
if (newToplevelActivity != null)
msgs = ((InternalEObject)newToplevelActivity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY, null, msgs);
msgs = basicSetToplevelActivity(newToplevelActivity, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY, newToplevelActivity, newToplevelActivity));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<WorkflowStatusEvent> getStatusEvents() {
if (statusEvents == null) {
statusEvents = new EObjectContainmentWithInverseEList<WorkflowStatusEvent>(WorkflowStatusEvent.class, this, PerftoolPackage.WORKFLOW__STATUS_EVENTS, PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW);
}
return statusEvents;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<DeviceInstanceStatusEvent> getDeviceEvents() {
if (deviceEvents == null) {
deviceEvents = new EObjectContainmentWithInverseEList<DeviceInstanceStatusEvent>(DeviceInstanceStatusEvent.class, this, PerftoolPackage.WORKFLOW__DEVICE_EVENTS, PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT__PARENT_WORKFLOW);
}
return deviceEvents;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ComponentStatusEvent> getComponentEvents() {
if (componentEvents == null) {
componentEvents = new EObjectContainmentWithInverseEList<ComponentStatusEvent>(ComponentStatusEvent.class, this, PerftoolPackage.WORKFLOW__COMPONENT_EVENTS, PerftoolPackage.COMPONENT_STATUS_EVENT__WORKFLOW);
}
return componentEvents;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.WORKFLOW__STATUS_EVENTS:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getStatusEvents()).basicAdd(otherEnd, msgs);
case PerftoolPackage.WORKFLOW__DEVICE_EVENTS:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getDeviceEvents()).basicAdd(otherEnd, msgs);
case PerftoolPackage.WORKFLOW__COMPONENT_EVENTS:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getComponentEvents()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY:
return basicSetToplevelActivity(null, msgs);
case PerftoolPackage.WORKFLOW__STATUS_EVENTS:
return ((InternalEList<?>)getStatusEvents()).basicRemove(otherEnd, msgs);
case PerftoolPackage.WORKFLOW__DEVICE_EVENTS:
return ((InternalEList<?>)getDeviceEvents()).basicRemove(otherEnd, msgs);
case PerftoolPackage.WORKFLOW__COMPONENT_EVENTS:
return ((InternalEList<?>)getComponentEvents()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.WORKFLOW__OID:
return getOid();
case PerftoolPackage.WORKFLOW__WFID:
return getWfid();
case PerftoolPackage.WORKFLOW__UUID:
return getUuid();
case PerftoolPackage.WORKFLOW__NAME:
return getName();
case PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY:
return getToplevelActivity();
case PerftoolPackage.WORKFLOW__STATUS_EVENTS:
return getStatusEvents();
case PerftoolPackage.WORKFLOW__DEVICE_EVENTS:
return getDeviceEvents();
case PerftoolPackage.WORKFLOW__COMPONENT_EVENTS:
return getComponentEvents();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.WORKFLOW__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.WORKFLOW__WFID:
setWfid((Long)newValue);
return;
case PerftoolPackage.WORKFLOW__UUID:
setUuid((String)newValue);
return;
case PerftoolPackage.WORKFLOW__NAME:
setName((String)newValue);
return;
case PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY:
setToplevelActivity((Activity)newValue);
return;
case PerftoolPackage.WORKFLOW__STATUS_EVENTS:
getStatusEvents().clear();
getStatusEvents().addAll((Collection<? extends WorkflowStatusEvent>)newValue);
return;
case PerftoolPackage.WORKFLOW__DEVICE_EVENTS:
getDeviceEvents().clear();
getDeviceEvents().addAll((Collection<? extends DeviceInstanceStatusEvent>)newValue);
return;
case PerftoolPackage.WORKFLOW__COMPONENT_EVENTS:
getComponentEvents().clear();
getComponentEvents().addAll((Collection<? extends ComponentStatusEvent>)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.WORKFLOW__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW__WFID:
setWfid(WFID_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW__UUID:
setUuid(UUID_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW__NAME:
setName(NAME_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY:
setToplevelActivity((Activity)null);
return;
case PerftoolPackage.WORKFLOW__STATUS_EVENTS:
getStatusEvents().clear();
return;
case PerftoolPackage.WORKFLOW__DEVICE_EVENTS:
getDeviceEvents().clear();
return;
case PerftoolPackage.WORKFLOW__COMPONENT_EVENTS:
getComponentEvents().clear();
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.WORKFLOW__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.WORKFLOW__WFID:
return wfid != WFID_EDEFAULT;
case PerftoolPackage.WORKFLOW__UUID:
return UUID_EDEFAULT == null ? uuid != null : !UUID_EDEFAULT.equals(uuid);
case PerftoolPackage.WORKFLOW__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case PerftoolPackage.WORKFLOW__TOPLEVEL_ACTIVITY:
return toplevelActivity != null;
case PerftoolPackage.WORKFLOW__STATUS_EVENTS:
return statusEvents != null && !statusEvents.isEmpty();
case PerftoolPackage.WORKFLOW__DEVICE_EVENTS:
return deviceEvents != null && !deviceEvents.isEmpty();
case PerftoolPackage.WORKFLOW__COMPONENT_EVENTS:
return componentEvents != null && !componentEvents.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", wfid: ");
result.append(wfid);
result.append(", uuid: ");
result.append(uuid);
result.append(", name: ");
result.append(name);
result.append(')');
return result.toString();
}
} //WorkflowImpl
@@ -0,0 +1,426 @@
/**
*/
package at.ac.uibk.wfr.perftool.impl;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
import at.ac.uibk.wfr.perftool.Workflow;
import at.ac.uibk.wfr.perftool.WorkflowStatusEvent;
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;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Workflow Status Event</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowStatusEventImpl#getOid <em>Oid</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowStatusEventImpl#getNewStatus <em>New Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowStatusEventImpl#getOldStatus <em>Old Status</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowStatusEventImpl#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link at.ac.uibk.wfr.perftool.impl.WorkflowStatusEventImpl#getParentWorkflow <em>Parent Workflow</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class WorkflowStatusEventImpl extends MinimalEObjectImpl.Container implements WorkflowStatusEvent {
/**
* The default value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected static final int OID_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOid() <em>Oid</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOid()
* @generated
* @ordered
*/
protected int oid = OID_EDEFAULT;
/**
* The default value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected static final String NEW_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getNewStatus() <em>New Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getNewStatus()
* @generated
* @ordered
*/
protected String newStatus = NEW_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected static final String OLD_STATUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getOldStatus() <em>Old Status</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOldStatus()
* @generated
* @ordered
*/
protected String oldStatus = OLD_STATUS_EDEFAULT;
/**
* The default value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected static final long TIMESTAMP_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getTimestamp() <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTimestamp()
* @generated
* @ordered
*/
protected long timestamp = TIMESTAMP_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected WorkflowStatusEventImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PerftoolPackage.Literals.WORKFLOW_STATUS_EVENT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOid() {
return oid;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOid(int newOid) {
int oldOid = oid;
oid = newOid;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW_STATUS_EVENT__OID, oldOid, oid));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getNewStatus() {
return newStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setNewStatus(String newNewStatus) {
String oldNewStatus = newStatus;
newStatus = newNewStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW_STATUS_EVENT__NEW_STATUS, oldNewStatus, newStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOldStatus() {
return oldStatus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOldStatus(String newOldStatus) {
String oldOldStatus = oldStatus;
oldStatus = newOldStatus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW_STATUS_EVENT__OLD_STATUS, oldOldStatus, oldStatus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getTimestamp() {
return timestamp;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTimestamp(long newTimestamp) {
long oldTimestamp = timestamp;
timestamp = newTimestamp;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW_STATUS_EVENT__TIMESTAMP, oldTimestamp, timestamp));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Workflow getParentWorkflow() {
if (eContainerFeatureID() != PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW) return null;
return (Workflow)eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetParentWorkflow(Workflow newParentWorkflow, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject)newParentWorkflow, PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParentWorkflow(Workflow newParentWorkflow) {
if (newParentWorkflow != eInternalContainer() || (eContainerFeatureID() != PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW && newParentWorkflow != null)) {
if (EcoreUtil.isAncestor(this, newParentWorkflow))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newParentWorkflow != null)
msgs = ((InternalEObject)newParentWorkflow).eInverseAdd(this, PerftoolPackage.WORKFLOW__STATUS_EVENTS, Workflow.class, msgs);
msgs = basicSetParentWorkflow(newParentWorkflow, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW, newParentWorkflow, newParentWorkflow));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW:
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetParentWorkflow((Workflow)otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW:
return basicSetParentWorkflow(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
case PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW:
return eInternalContainer().eInverseRemove(this, PerftoolPackage.WORKFLOW__STATUS_EVENTS, Workflow.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OID:
return getOid();
case PerftoolPackage.WORKFLOW_STATUS_EVENT__NEW_STATUS:
return getNewStatus();
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OLD_STATUS:
return getOldStatus();
case PerftoolPackage.WORKFLOW_STATUS_EVENT__TIMESTAMP:
return getTimestamp();
case PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW:
return getParentWorkflow();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OID:
setOid((Integer)newValue);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__NEW_STATUS:
setNewStatus((String)newValue);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OLD_STATUS:
setOldStatus((String)newValue);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__TIMESTAMP:
setTimestamp((Long)newValue);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW:
setParentWorkflow((Workflow)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OID:
setOid(OID_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__NEW_STATUS:
setNewStatus(NEW_STATUS_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OLD_STATUS:
setOldStatus(OLD_STATUS_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__TIMESTAMP:
setTimestamp(TIMESTAMP_EDEFAULT);
return;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW:
setParentWorkflow((Workflow)null);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OID:
return oid != OID_EDEFAULT;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__NEW_STATUS:
return NEW_STATUS_EDEFAULT == null ? newStatus != null : !NEW_STATUS_EDEFAULT.equals(newStatus);
case PerftoolPackage.WORKFLOW_STATUS_EVENT__OLD_STATUS:
return OLD_STATUS_EDEFAULT == null ? oldStatus != null : !OLD_STATUS_EDEFAULT.equals(oldStatus);
case PerftoolPackage.WORKFLOW_STATUS_EVENT__TIMESTAMP:
return timestamp != TIMESTAMP_EDEFAULT;
case PerftoolPackage.WORKFLOW_STATUS_EVENT__PARENT_WORKFLOW:
return getParentWorkflow() != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (oid: ");
result.append(oid);
result.append(", newStatus: ");
result.append(newStatus);
result.append(", oldStatus: ");
result.append(oldStatus);
result.append(", timestamp: ");
result.append(timestamp);
result.append(')');
return result.toString();
}
} //WorkflowStatusEventImpl
@@ -0,0 +1,246 @@
/**
*/
package at.ac.uibk.wfr.perftool.util;
import at.ac.uibk.wfr.perftool.*;
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;
/**
* <!-- begin-user-doc -->
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
* @see at.ac.uibk.wfr.perftool.PerftoolPackage
* @generated
*/
public class PerftoolAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static PerftoolPackage modelPackage;
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerftoolAdapterFactory() {
if (modelPackage == null) {
modelPackage = PerftoolPackage.eINSTANCE;
}
}
/**
* Returns whether this factory is applicable for the type of the object.
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
* @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 <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected PerftoolSwitch<Adapter> modelSwitch =
new PerftoolSwitch<Adapter>() {
@Override
public Adapter caseWorkflow(Workflow object) {
return createWorkflowAdapter();
}
@Override
public Adapter caseActivity(Activity object) {
return createActivityAdapter();
}
@Override
public Adapter caseActivityInstance(ActivityInstance object) {
return createActivityInstanceAdapter();
}
@Override
public Adapter caseWorkflowStatusEvent(WorkflowStatusEvent object) {
return createWorkflowStatusEventAdapter();
}
@Override
public Adapter caseActivityStatusEvent(ActivityStatusEvent object) {
return createActivityStatusEventAdapter();
}
@Override
public Adapter caseActivityInstanceStatusEvent(ActivityInstanceStatusEvent object) {
return createActivityInstanceStatusEventAdapter();
}
@Override
public Adapter caseDeviceInstanceStatusEvent(DeviceInstanceStatusEvent object) {
return createDeviceInstanceStatusEventAdapter();
}
@Override
public Adapter caseComponentStatusEvent(ComponentStatusEvent object) {
return createComponentStatusEventAdapter();
}
@Override
public Adapter defaultCase(EObject object) {
return createEObjectAdapter();
}
};
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
return modelSwitch.doSwitch((EObject)target);
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.Workflow <em>Workflow</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.Workflow
* @generated
*/
public Adapter createWorkflowAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.Activity <em>Activity</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.Activity
* @generated
*/
public Adapter createActivityAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.ActivityInstance <em>Activity Instance</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.ActivityInstance
* @generated
*/
public Adapter createActivityInstanceAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent <em>Workflow Status Event</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.WorkflowStatusEvent
* @generated
*/
public Adapter createWorkflowStatusEventAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.ActivityStatusEvent <em>Activity Status Event</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.ActivityStatusEvent
* @generated
*/
public Adapter createActivityStatusEventAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent <em>Activity Instance Status Event</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent
* @generated
*/
public Adapter createActivityInstanceStatusEventAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent <em>Device Instance Status Event</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent
* @generated
*/
public Adapter createDeviceInstanceStatusEventAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link at.ac.uibk.wfr.perftool.ComponentStatusEvent <em>Component Status Event</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see at.ac.uibk.wfr.perftool.ComponentStatusEvent
* @generated
*/
public Adapter createComponentStatusEventAdapter() {
return null;
}
/**
* Creates a new adapter for the default case.
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
* @return the new adapter.
* @generated
*/
public Adapter createEObjectAdapter() {
return null;
}
} //PerftoolAdapterFactory
@@ -0,0 +1,257 @@
/**
*/
package at.ac.uibk.wfr.perftool.util;
import at.ac.uibk.wfr.perftool.*;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch(EObject) doSwitch(object)}
* to invoke the <code>caseXXX</code> 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.
* <!-- end-user-doc -->
* @see at.ac.uibk.wfr.perftool.PerftoolPackage
* @generated
*/
public class PerftoolSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static PerftoolPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerftoolSwitch() {
if (modelPackage == null) {
modelPackage = PerftoolPackage.eINSTANCE;
}
}
/**
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @parameter 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 <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case PerftoolPackage.WORKFLOW: {
Workflow workflow = (Workflow)theEObject;
T result = caseWorkflow(workflow);
if (result == null) result = defaultCase(theEObject);
return result;
}
case PerftoolPackage.ACTIVITY: {
Activity activity = (Activity)theEObject;
T result = caseActivity(activity);
if (result == null) result = defaultCase(theEObject);
return result;
}
case PerftoolPackage.ACTIVITY_INSTANCE: {
ActivityInstance activityInstance = (ActivityInstance)theEObject;
T result = caseActivityInstance(activityInstance);
if (result == null) result = defaultCase(theEObject);
return result;
}
case PerftoolPackage.WORKFLOW_STATUS_EVENT: {
WorkflowStatusEvent workflowStatusEvent = (WorkflowStatusEvent)theEObject;
T result = caseWorkflowStatusEvent(workflowStatusEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case PerftoolPackage.ACTIVITY_STATUS_EVENT: {
ActivityStatusEvent activityStatusEvent = (ActivityStatusEvent)theEObject;
T result = caseActivityStatusEvent(activityStatusEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case PerftoolPackage.ACTIVITY_INSTANCE_STATUS_EVENT: {
ActivityInstanceStatusEvent activityInstanceStatusEvent = (ActivityInstanceStatusEvent)theEObject;
T result = caseActivityInstanceStatusEvent(activityInstanceStatusEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case PerftoolPackage.DEVICE_INSTANCE_STATUS_EVENT: {
DeviceInstanceStatusEvent deviceInstanceStatusEvent = (DeviceInstanceStatusEvent)theEObject;
T result = caseDeviceInstanceStatusEvent(deviceInstanceStatusEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case PerftoolPackage.COMPONENT_STATUS_EVENT: {
ComponentStatusEvent componentStatusEvent = (ComponentStatusEvent)theEObject;
T result = caseComponentStatusEvent(componentStatusEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Workflow</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Workflow</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseWorkflow(Workflow object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivity(Activity object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity Instance</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity Instance</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivityInstance(ActivityInstance object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Workflow Status Event</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Workflow Status Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseWorkflowStatusEvent(WorkflowStatusEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity Status Event</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity Status Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivityStatusEvent(ActivityStatusEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity Instance Status Event</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity Instance Status Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivityInstanceStatusEvent(ActivityInstanceStatusEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Device Instance Status Event</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Device Instance Status Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDeviceInstanceStatusEvent(DeviceInstanceStatusEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Component Status Event</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Component Status Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseComponentStatusEvent(ComponentStatusEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
@Override
public T defaultCase(EObject object) {
return null;
}
} //PerftoolSwitch
@@ -0,0 +1,25 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.ActivityInstance;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface ActivityInstanceStatusEventValidator {
boolean validate();
boolean validateOid(int value);
boolean validateNewStatus(String value);
boolean validateOldStatus(String value);
boolean validateTimestamp(long value);
boolean validateTimestamp(int value);
boolean validateParentInstance(ActivityInstance value);
}
@@ -0,0 +1,34 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.ActivityInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.Workflow;
import org.eclipse.emf.common.util.EList;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.ActivityInstance}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface ActivityInstanceValidator {
boolean validate();
boolean validateOid(int value);
boolean validateInstid(long value);
boolean validateIterationID(long value);
boolean validateInstid(int value);
boolean validateIterationID(int value);
boolean validateBaseActivity(Activity value);
boolean validateParentWorkflow(Workflow value);
boolean validateParentInstance(ActivityInstance value);
boolean validateStatusEvents(EList<ActivityInstanceStatusEvent> value);
}
@@ -0,0 +1,25 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.Activity;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.ActivityStatusEvent}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface ActivityStatusEventValidator {
boolean validate();
boolean validateOid(int value);
boolean validateNewStatus(String value);
boolean validateOldStatus(String value);
boolean validateTimestamp(long value);
boolean validateTimestamp(int value);
boolean validateParentActivity(Activity value);
}
@@ -0,0 +1,40 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.ActivityStatusEvent;
import at.ac.uibk.wfr.perftool.Workflow;
import org.eclipse.emf.common.util.EList;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.Activity}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface ActivityValidator {
boolean validate();
boolean validateOid(int value);
boolean validateActid(long value);
boolean validateActid(int value);
boolean validateName(String value);
boolean validateType(String value);
boolean validateBranchID(long value);
boolean validateBranchID(int value);
boolean validateParentWorkflow(Workflow value);
boolean validateInstances(EList<ActivityInstance> value);
boolean validateStatusEvents(EList<ActivityStatusEvent> value);
boolean validateParent(Activity value);
boolean validateChildren(EList<Activity> value);
}
@@ -0,0 +1,26 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.Workflow;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.ComponentStatusEvent}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface ComponentStatusEventValidator {
boolean validate();
boolean validateOid(int value);
boolean validateComponentType(String value);
boolean validateNewStatus(String value);
boolean validateOldStatus(String value);
boolean validateTimestamp(long value);
boolean validateTimestamp(int value);
boolean validateWorkflow(Workflow value);
}
@@ -0,0 +1,40 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.ActivityInstance;
import at.ac.uibk.wfr.perftool.Workflow;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface DeviceInstanceStatusEventValidator {
boolean validate();
boolean validateOid(int value);
boolean validateDeviceType(String value);
boolean validateDeviceID(long value);
boolean validateDeviceID(int value);
boolean validateNewStatus(String value);
boolean validateOldStatus(String value);
boolean validateTimestamp(long value);
boolean validateExecutedImplID(long value);
boolean validateDeviceSlotCount(long value);
boolean validateTimestamp(int value);
boolean validateExecutedImplID(int value);
boolean validateDeviceSlotCount(int value);
boolean validateDevicesSlotCount(int value);
boolean validateParentWorkflow(Workflow value);
boolean validateExecutedInstance(ActivityInstance value);
}
@@ -0,0 +1,25 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.Workflow;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.WorkflowStatusEvent}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface WorkflowStatusEventValidator {
boolean validate();
boolean validateOid(int value);
boolean validateNewStatus(String value);
boolean validateOldStatus(String value);
boolean validateTimestamp(int value);
boolean validateTimestamp(long value);
boolean validateParentWorkflow(Workflow value);
}
@@ -0,0 +1,37 @@
/**
*
* $Id$
*/
package at.ac.uibk.wfr.perftool.validation;
import at.ac.uibk.wfr.perftool.Activity;
import at.ac.uibk.wfr.perftool.ComponentStatusEvent;
import at.ac.uibk.wfr.perftool.DeviceInstanceStatusEvent;
import at.ac.uibk.wfr.perftool.WorkflowStatusEvent;
import org.eclipse.emf.common.util.EList;
/**
* A sample validator interface for {@link at.ac.uibk.wfr.perftool.Workflow}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
*/
public interface WorkflowValidator {
boolean validate();
boolean validateOid(int value);
boolean validateWfid(long value);
boolean validateWfid(int value);
boolean validateUuid(String value);
boolean validateName(String value);
boolean validateActivities(EList<Activity> value);
boolean validateToplevelActivity(Activity value);
boolean validateStatusEvents(EList<WorkflowStatusEvent> value);
boolean validateDeviceEvents(EList<DeviceInstanceStatusEvent> value);
boolean validateComponentEvents(EList<ComponentStatusEvent> value);
}
+52
View File
@@ -0,0 +1,52 @@
package perftoolutils;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.teneo.extension.ExtensionManager;
import org.eclipse.emf.teneo.hibernate.HbDataStore;
import org.eclipse.emf.teneo.hibernate.HbHelper;
import org.eclipse.emf.teneo.mapping.strategy.SQLNameStrategy;
import org.hibernate.cfg.Configuration;
import at.ac.uibk.wfr.perftool.PerftoolPackage;
public class DBCreator {
/**
* @param args
*/
public static void main(String[] args) {
InputStream propsIn = DBCreator.class.getResourceAsStream("teneo.properties");
Properties props = new Properties();
try {
props.load(propsIn);
} catch (IOException e) {
e.printStackTrace();
}
//*************** Initialize Teneo Hibernate DataStore *************************************
HbDataStore hbds = (HbDataStore) HbHelper.INSTANCE.createRegisterDataStore("perfdb");
final ExtensionManager extensionManager = hbds.getExtensionManager();
extensionManager.registerExtension(SQLNameStrategy.class.getName(), MySQLNameStrategy.class.getName());
hbds.setDataStoreProperties(props);
hbds.setEPackages(new EPackage[] { PerftoolPackage.eINSTANCE }); //Register EMF package
hbds.initialize();
System.out.println("\nHibernate Mapping XML:\n============================");
Configuration hconf = hbds.getHibernateConfiguration();
System.out.println(hbds.getMappingXML());
System.out.println("============================");
System.out.println("\nDatabase Create Script:\n============================");
for (String s : hconf.generateSchemaCreationScript(org.hibernate.dialect.Dialect.getDialect(props))) {
System.out.println(s);
}
System.out.println("============================");
}
}
+9
View File
@@ -0,0 +1,9 @@
package perftoolutils;
import org.eclipse.emf.teneo.mapping.strategy.impl.TeneoSQLNameStrategy;
public class MySQLNameStrategy extends TeneoSQLNameStrategy {
}
+223
View File
@@ -0,0 +1,223 @@
package perftoolutils;
/*
* The author disclaims copyright to this source code. In place of
* a legal notice, here is a blessing:
*
* May you do good and not evil.
* May you find forgiveness for yourself and forgive others.
* May you share freely, never taking more than you give.
*
*/
import java.sql.Types;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction;
import org.hibernate.dialect.function.NoArgSQLFunction;
import org.hibernate.dialect.function.SQLFunction;
import org.hibernate.dialect.function.SQLFunctionTemplate;
import org.hibernate.dialect.function.StandardSQLFunction;
import org.hibernate.dialect.function.VarArgsSQLFunction;
import org.hibernate.type.StandardBasicTypes;
public class SQLiteDialect extends Dialect {
public SQLiteDialect() {
registerColumnType(Types.BIT, "boolean");
registerColumnType(Types.TINYINT, "tinyint");
registerColumnType(Types.SMALLINT, "smallint");
registerColumnType(Types.INTEGER, "integer");
registerColumnType(Types.BIGINT, "bigint");
registerColumnType(Types.FLOAT, "float");
registerColumnType(Types.REAL, "real");
registerColumnType(Types.DOUBLE, "double");
registerColumnType(Types.NUMERIC, "numeric($p, $s)");
registerColumnType(Types.DECIMAL, "decimal");
registerColumnType(Types.CHAR, "char");
registerColumnType(Types.VARCHAR, "varchar($l)");
registerColumnType(Types.LONGVARCHAR, "longvarchar");
registerColumnType(Types.DATE, "date");
registerColumnType(Types.TIME, "time");
registerColumnType(Types.TIMESTAMP, "datetime");
registerColumnType(Types.BINARY, "blob");
registerColumnType(Types.VARBINARY, "blob");
registerColumnType(Types.LONGVARBINARY, "blob");
registerColumnType(Types.BLOB, "blob");
registerColumnType(Types.CLOB, "clob");
registerColumnType(Types.BOOLEAN, "boolean");
//registerFunction( "abs", new StandardSQLFunction("abs") );
registerFunction( "concat", new VarArgsSQLFunction(StandardBasicTypes.STRING, "", "||", "") );
//registerFunction( "length", new StandardSQLFunction("length", StandardBasicTypes.LONG) );
//registerFunction( "lower", new StandardSQLFunction("lower") );
registerFunction( "mod", new SQLFunctionTemplate(StandardBasicTypes.INTEGER, "?1 % ?2" ) );
registerFunction( "quote", new StandardSQLFunction("quote", StandardBasicTypes.STRING) );
registerFunction( "random", new NoArgSQLFunction("random", StandardBasicTypes.INTEGER) );
registerFunction( "round", new StandardSQLFunction("round") );
registerFunction( "substr", new StandardSQLFunction("substr", StandardBasicTypes.STRING) );
registerFunction( "substring", new SQLFunctionTemplate( StandardBasicTypes.STRING, "substr(?1, ?2, ?3)" ) );
registerFunction( "trim", new AbstractAnsiTrimEmulationFunction() {
protected SQLFunction resolveBothSpaceTrimFunction() {
return new SQLFunctionTemplate(StandardBasicTypes.STRING, "trim(?1)");
}
protected SQLFunction resolveBothSpaceTrimFromFunction() {
return new SQLFunctionTemplate(StandardBasicTypes.STRING, "trim(?2)");
}
protected SQLFunction resolveLeadingSpaceTrimFunction() {
return new SQLFunctionTemplate(StandardBasicTypes.STRING, "ltrim(?1)");
}
protected SQLFunction resolveTrailingSpaceTrimFunction() {
return new SQLFunctionTemplate(StandardBasicTypes.STRING, "rtrim(?1)");
}
protected SQLFunction resolveBothTrimFunction() {
return new SQLFunctionTemplate(StandardBasicTypes.STRING, "trim(?1, ?2)");
}
protected SQLFunction resolveLeadingTrimFunction() {
return new SQLFunctionTemplate(StandardBasicTypes.STRING, "ltrim(?1, ?2)");
}
protected SQLFunction resolveTrailingTrimFunction() {
return new SQLFunctionTemplate(StandardBasicTypes.STRING, "rtrim(?1, ?2)");
}
} );
//registerFunction( "upper", new StandardSQLFunction("upper") );
}
public boolean supportsIdentityColumns() {
return true;
}
/*
public boolean supportsInsertSelectIdentity() {
return true; // As specify in NHibernate dialect
}
*/
public boolean hasDataTypeInIdentityColumn() {
return false; // As specify in NHibernate dialect
}
/*
public String appendIdentitySelectToInsert(String insertString) {
return new StringBuffer(insertString.length()+30). // As specify in NHibernate dialect
append(insertString).
append("; ").append(getIdentitySelectString()).
toString();
}
*/
public String getIdentityColumnString() {
// return "integer primary key autoincrement";
return "integer";
}
public String getIdentitySelectString() {
return "select last_insert_rowid()";
}
public boolean supportsLimit() {
return true;
}
public boolean bindLimitParametersInReverseOrder() {
return true;
}
protected String getLimitString(String query, boolean hasOffset) {
return new StringBuffer(query.length()+20).
append(query).
append(hasOffset ? " limit ? offset ?" : " limit ?").
toString();
}
public boolean supportsTemporaryTables() {
return true;
}
public String getCreateTemporaryTableString() {
return "create temporary table if not exists";
}
public boolean dropTemporaryTableAfterUse() {
return true; // TODO Validate
}
public boolean supportsCurrentTimestampSelection() {
return true;
}
public boolean isCurrentTimestampSelectStringCallable() {
return false;
}
public String getCurrentTimestampSelectString() {
return "select current_timestamp";
}
public boolean supportsUnionAll() {
return true;
}
public boolean hasAlterTable() {
return false; // As specify in NHibernate dialect
}
public boolean dropConstraints() {
return false;
}
/*
public String getAddColumnString() {
return "add column";
}
*/
public String getForUpdateString() {
return "";
}
public boolean supportsOuterJoinForUpdate() {
return false;
}
public String getDropForeignKeyString() {
throw new UnsupportedOperationException("No drop foreign key syntax supported by SQLiteDialect");
}
public String getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey, String referencedTable, String[] primaryKey,
boolean referencesPrimaryKey) {
throw new UnsupportedOperationException("No add foreign key syntax supported by SQLiteDialect");
}
public String getAddPrimaryKeyConstraintString(String constraintName) {
throw new UnsupportedOperationException("No add primary key syntax supported by SQLiteDialect");
}
public boolean supportsIfExistsBeforeTableName() {
return true;
}
public boolean supportsCascadeDelete() {
return true;
}
/* not case insensitive for unicode characters by default (ICU extension needed)
public boolean supportsCaseInsensitiveLike() {
return true;
}
*/
public boolean supportsTupleDistinctCounts() {
return false;
}
public String getSelectGUIDString() {
return "select hex(randomblob(16))";
}
}
+29
View File
@@ -0,0 +1,29 @@
## Debug Settings
hibernate.show_sql=true
hibernate.format_sql=true
hibernate.use_sql_comments=true
hibernate.connection.driver_class=org.sqlite.JDBC
hibernate.connection.url=jdbc\:sqlite\:default.sqlite
## Database Creation Mode (validate | update | create | create-drop)
hibernate.hbm2ddl.auto=validate
hibernate.dialect=perftoolutils.SQLiteDialect
teneo.naming.join_column_naming_strategy=simple
## Teneo Settings
teneo.mapping.disable_econtainer=true
teneo.mapping.always_version=false
teneo.mapping.inheritance=JOINED
teneo.naming.sql_fk_name_prefix=fk_
teneo.naming.set_foreign_key_name=true
hibernate.jdbc.batch_size=30
## Teneo Cache Settings
#hibernate.cache.use_second_level_cache=false
#hibernate.cache.use_query_cache=false
#teneo.mapping.default_cache_strategy=NONE
#hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory
+80
View File
@@ -0,0 +1,80 @@
Model WFRperfToolModel
This model description is not a real EMF artifact. It was generated by the
org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's
code generator can be extended.
This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
Package perftool <http://at.ac.uibk.wfr.perftool/1.0>
Class Workflow
Attribute oid : EInt<<1..1>>
Attribute wfid : ELong<<1..1>>
Attribute uuid : EString<<1..1>>
Attribute name : EString<<1..1>>
Reference toplevelActivity : Activity
Reference statusEvents : WorkflowStatusEvent<<0..*>>
Reference deviceEvents : DeviceInstanceStatusEvent<<0..*>>
Reference componentEvents : ComponentStatusEvent<<0..*>>
Class Activity
Attribute oid : EInt<<1..1>>
Attribute actid : ELong<<1..1>>
Attribute name : EString<<1..1>>
Attribute type : EString<<1..1>>
Attribute branchID : ELong<<1..1>>
Reference parentWorkflow : Workflow<<1..1>>
Reference instances : ActivityInstance<<0..*>>
Reference statusEvents : ActivityStatusEvent<<0..*>>
Reference parent : Activity
Reference children : Activity<<0..*>>
Class ActivityInstance
Attribute oid : EInt<<1..1>>
Attribute instid : ELong<<1..1>>
Attribute iterationID : ELong<<1..1>>
Reference baseActivity : Activity<<1..1>>
Reference parentWorkflow : Workflow
Reference parentInstance : ActivityInstance
Reference statusEvents : ActivityInstanceStatusEvent<<0..*>>
Class WorkflowStatusEvent
Attribute oid : EInt<<1..1>>
Attribute newStatus : EString<<1..1>>
Attribute oldStatus : EString<<1..1>>
Attribute timestamp : ELong<<1..1>>
Reference parentWorkflow : Workflow<<1..1>>
Class ActivityStatusEvent
Attribute oid : EInt<<1..1>>
Attribute newStatus : EString<<1..1>>
Attribute oldStatus : EString<<1..1>>
Attribute timestamp : ELong<<1..1>>
Reference parentActivity : Activity<<1..1>>
Class ActivityInstanceStatusEvent
Attribute oid : EInt<<1..1>>
Attribute newStatus : EString<<1..1>>
Attribute oldStatus : EString<<1..1>>
Attribute timestamp : ELong<<1..1>>
Reference parentInstance : ActivityInstance<<1..1>>
Class DeviceInstanceStatusEvent
Attribute oid : EInt<<1..1>>
Attribute deviceType : EString<<1..1>>
Attribute deviceID : ELong<<1..1>>
Attribute newStatus : EString<<1..1>>
Attribute oldStatus : EString<<1..1>>
Attribute timestamp : ELong<<1..1>>
Attribute executedImplID : ELong<<1..1>>
Attribute deviceSlotCount : ELong<<1..1>>
Reference parentWorkflow : Workflow
Reference executedInstance : ActivityInstance
Class ComponentStatusEvent
Attribute oid : EInt<<1..1>>
Attribute componentType : EString<<1..1>>
Attribute newStatus : EString<<1..1>>
Attribute oldStatus : EString<<1..1>>
Attribute timestamp : ELong<<1..1>>
Reference workflow : Workflow