Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2013-07-12 08:40:15 +0000
committerThomas Schuetz2013-07-12 08:40:15 +0000
commit12cda553738ca88662624b6f47066b5564549648 (patch)
treebfa65b6c38aa566a5f1cc98395da6546a6c6e282 /plugins/org.eclipse.etrice.core.etphys
parent3447749b1a453735ac54fc09ea7680acdbb19b69 (diff)
parentd65e1d1bdd43feadb43261b85aac2d8aef5e089c (diff)
downloadorg.eclipse.etrice-12cda553738ca88662624b6f47066b5564549648.tar.gz
org.eclipse.etrice-12cda553738ca88662624b6f47066b5564549648.tar.xz
org.eclipse.etrice-12cda553738ca88662624b6f47066b5564549648.zip
Merge remote-tracking branch 'origin/master'
Conflicts: plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.modellib.c.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.modellib.java.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.runtime.c.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.tutorials.c.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.tutorials.java.zip Change-Id: I98e2df3ab57d6e7e8f27e5b0aee7eaa189bfbc33
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etphys')
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/.classpath18
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/.gitignore4
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/.launch/Generate Language Infrastructure (org.eclipse.etrice.core.etphys).launch48
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/.project68
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/META-INF/MANIFEST.MF68
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/about.html54
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore432
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel134
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java98
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java212
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java2652
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java500
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java190
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java366
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java220
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java256
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java204
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java496
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java226
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java446
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java326
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java546
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java1502
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java466
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java980
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java662
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java714
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java624
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java1140
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java644
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java544
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java560
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens166
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java4312
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java5936
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java294
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java54
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext184
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysPostprocessor.ext32
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2298
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java62
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java132
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend486
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/PostprocessorController.java44
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/generator/ETPhysGenerator.java28
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java514
46 files changed, 13971 insertions, 13971 deletions
diff --git a/plugins/org.eclipse.etrice.core.etphys/.classpath b/plugins/org.eclipse.etrice.core.etphys/.classpath
index 18d312c8d..9389ddb61 100644
--- a/plugins/org.eclipse.etrice.core.etphys/.classpath
+++ b/plugins/org.eclipse.etrice.core.etphys/.classpath
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <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="src" path="src-gen"/>
- <classpathentry kind="src" path="xtend-gen"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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="src" path="src-gen"/>
+ <classpathentry kind="src" path="xtend-gen"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.etrice.core.etphys/.gitignore b/plugins/org.eclipse.etrice.core.etphys/.gitignore
index ffd5ca501..34eb7add5 100644
--- a/plugins/org.eclipse.etrice.core.etphys/.gitignore
+++ b/plugins/org.eclipse.etrice.core.etphys/.gitignore
@@ -1,3 +1,3 @@
-bin
-*._trace
+bin
+*._trace
/.antlr-generator-3.2.0.jar
diff --git a/plugins/org.eclipse.etrice.core.etphys/.launch/Generate Language Infrastructure (org.eclipse.etrice.core.etphys).launch b/plugins/org.eclipse.etrice.core.etphys/.launch/Generate Language Infrastructure (org.eclipse.etrice.core.etphys).launch
index 54c1dfb11..c74036855 100644
--- a/plugins/org.eclipse.etrice.core.etphys/.launch/Generate Language Infrastructure (org.eclipse.etrice.core.etphys).launch
+++ b/plugins/org.eclipse.etrice.core.etphys/.launch/Generate Language Infrastructure (org.eclipse.etrice.core.etphys).launch
@@ -1,27 +1,27 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.emf.mwe2.launch.Mwe2LaunchConfigurationType">
-<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys.generator&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys.tests&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys.ui&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.eclipse.etrice.core.etphys"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="4"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
-<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
-<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
-</listAttribute>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.emf.mwe2.launch.Mwe2LaunchConfigurationType">
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys.generator&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys.tests&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.core.etphys.ui&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.eclipse.etrice.core.etphys"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
+</listAttribute>
<<<<<<< HEAD
=======
-<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5&quot; javaProject=&quot;org.eclipse.etrice.core.etphys&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#13;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;org.eclipse.etrice.core.etphys&quot;/&gt;&#13;&#10;&lt;/runtimeClasspathEntry&gt;&#13;&#10;"/>
-<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/org.eclipse.etrice.core.room/.antlr-generator-3.2.0.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
-</listAttribute>
-<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
+<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5&quot; javaProject=&quot;org.eclipse.etrice.core.etphys&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#13;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;org.eclipse.etrice.core.etphys&quot;/&gt;&#13;&#10;&lt;/runtimeClasspathEntry&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/org.eclipse.etrice.core.room/.antlr-generator-3.2.0.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
>>>>>>> refs/remotes/origin/CGenPhysical
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.core.etphys"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m"/>
-</launchConfiguration>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.core.etphys"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m"/>
+</launchConfiguration>
diff --git a/plugins/org.eclipse.etrice.core.etphys/.project b/plugins/org.eclipse.etrice.core.etphys/.project
index 1035ae653..4ee1f2897 100644
--- a/plugins/org.eclipse.etrice.core.etphys/.project
+++ b/plugins/org.eclipse.etrice.core.etphys/.project
@@ -1,34 +1,34 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.etrice.core.etphys</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>
- <buildCommand>
- <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.etrice.core.etphys</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>
+ <buildCommand>
+ <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.etrice.core.etphys/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.core.etphys/META-INF/MANIFEST.MF
index 430aa9c61..b9694b3ed 100644
--- a/plugins/org.eclipse.etrice.core.etphys/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.etrice.core.etphys/META-INF/MANIFEST.MF
@@ -1,34 +1,34 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: org.eclipse.etrice.core.etphys
-Bundle-Vendor: Eclipse eTrice (Incubation)
-Bundle-Version: 0.3.0.qualifier
-Bundle-SymbolicName: org.eclipse.etrice.core.etphys; singleton:=true
-Bundle-ActivationPolicy: lazy
-Require-Bundle: org.eclipse.etrice.core.room;bundle-version="0.3.0",
- org.eclipse.xtext;visibility:=reexport,
- org.eclipse.xtext.generator;resolution:=optional,
- org.antlr.runtime,
- org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
- org.eclipse.emf.codegen.ecore;resolution:=optional,
- org.eclipse.emf.mwe.utils;resolution:=optional,
- org.eclipse.emf.mwe2.launch;resolution:=optional,
- org.eclipse.xtext.util,
- org.eclipse.emf.ecore,
- org.eclipse.emf.common
-Import-Package: org.apache.log4j,
- org.eclipse.xtext.xbase.lib
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.etrice.core.etphys,
- org.eclipse.etrice.core.etphys.services,
- org.eclipse.etrice.core.etphys.eTPhys,
- org.eclipse.etrice.core.etphys.eTPhys.impl,
- org.eclipse.etrice.core.etphys.eTPhys.util,
- org.eclipse.etrice.core.etphys.serializer,
- org.eclipse.etrice.core.etphys.parser.antlr,
- org.eclipse.etrice.core.etphys.parser.antlr.internal,
- org.eclipse.etrice.core.etphys.validation,
- org.eclipse.etrice.core.etphys.scoping,
- org.eclipse.etrice.core.etphys.generator,
- org.eclipse.etrice.core.etphys.formatting
-
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.etrice.core.etphys
+Bundle-Vendor: Eclipse eTrice (Incubation)
+Bundle-Version: 0.3.0.qualifier
+Bundle-SymbolicName: org.eclipse.etrice.core.etphys; singleton:=true
+Bundle-ActivationPolicy: lazy
+Require-Bundle: org.eclipse.etrice.core.room;bundle-version="0.3.0",
+ org.eclipse.xtext;visibility:=reexport,
+ org.eclipse.xtext.generator;resolution:=optional,
+ org.antlr.runtime,
+ org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
+ org.eclipse.emf.codegen.ecore;resolution:=optional,
+ org.eclipse.emf.mwe.utils;resolution:=optional,
+ org.eclipse.emf.mwe2.launch;resolution:=optional,
+ org.eclipse.xtext.util,
+ org.eclipse.emf.ecore,
+ org.eclipse.emf.common
+Import-Package: org.apache.log4j,
+ org.eclipse.xtext.xbase.lib
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Export-Package: org.eclipse.etrice.core.etphys,
+ org.eclipse.etrice.core.etphys.services,
+ org.eclipse.etrice.core.etphys.eTPhys,
+ org.eclipse.etrice.core.etphys.eTPhys.impl,
+ org.eclipse.etrice.core.etphys.eTPhys.util,
+ org.eclipse.etrice.core.etphys.serializer,
+ org.eclipse.etrice.core.etphys.parser.antlr,
+ org.eclipse.etrice.core.etphys.parser.antlr.internal,
+ org.eclipse.etrice.core.etphys.validation,
+ org.eclipse.etrice.core.etphys.scoping,
+ org.eclipse.etrice.core.etphys.generator,
+ org.eclipse.etrice.core.etphys.formatting
+
diff --git a/plugins/org.eclipse.etrice.core.etphys/about.html b/plugins/org.eclipse.etrice.core.etphys/about.html
index f47dbddbb..c258ef55d 100644
--- a/plugins/org.eclipse.etrice.core.etphys/about.html
+++ b/plugins/org.eclipse.etrice.core.etphys/about.html
@@ -1,28 +1,28 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2006</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
</html> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore
index 041dd0fbc..0e74f0f21 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore
@@ -1,216 +1,216 @@
-<?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="eTPhys" nsURI="http://www.eclipse.org/etrice/core/etphys/ETPhys"
- nsPrefix="eTPhys">
- <eClassifiers xsi:type="ecore:EClass" name="PhysicalModel">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The root object for the physical model. It gives access to the systems, node classes&#xD;&#xA;and runtimes defined.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The model name is a dot separated fully qualified name and is&#xD;&#xA;used to provide a name space.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1"
- eType="#//Import" containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>A list of all imported models.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="systems" upperBound="-1"
- eType="#//PhysicalSystem" containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>A list of all defined physical systems.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="nodeClasses" upperBound="-1"
- eType="#//NodeClass" containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>A list of all defined node classes.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="runtimeClasses" upperBound="-1"
- eType="#//RuntimeClass" containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>A list of all defined runtime classes.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PhysicalSystem">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This model object represents a complete physical system.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The name of the physical system by which it is referred to in the model.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
- containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="nodeRefs" upperBound="-1"
- eType="#//NodeRef" containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>A list of referenced nodes.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NodeRef">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This stands for a node instance in a specific role.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The name of the reference by which it is referred to in the model.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//NodeClass">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The node class of this reference.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
- containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NodeClass">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This defines a node class.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The name of the node class by which it is referred to in the model.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
- containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="runtime" eType="#//RuntimeClass">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the associated runtime class.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="priomin" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the minimal thread priority for this node type.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="priomax" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the maximum thread priority for this node type.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="threads" upperBound="-1"
- eType="#//PhysicalThread" containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is a list of all threads defined for this node.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PhysicalThread">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This defines a physical thread running in a node.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="default" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>If this is {@code true} then this is the default thread.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The name of the thread by which it is referred to in the model.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="execmode" eType="#//ExecMode">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the execution mode of the thread.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="prio" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the priority of the thread.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="stacksize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the stacksize of the thread.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="msgblocksize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the msgblocksize of the thread.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="msgpoolsize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the msgpoolsize of the thread.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="ExecMode">
- <eLiterals name="POLLED" literal="polled"/>
- <eLiterals name="BLOCKED" value="1" literal="blocked"/>
- <eLiterals name="MIXED" value="2" literal="mixed"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RuntimeClass">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This defines a runtime class.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The name of the runtime class by which it is referred to in the model.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
- containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="threadModel" eType="#//ThreadModel">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This distinguishes single and multi threaded.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="ThreadModel">
- <eLiterals name="SINGLE_THREADED" literal="singleThreaded"/>
- <eLiterals name="MULTI_THREADED" value="1" literal="multiThreaded"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Documentation">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>A piece of documentation that can be optionally attached at&#xD;&#xA;certain places in the model.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>This is the documentation's contents.&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Import">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The import declares an imported model (given as a URI) and&#xD;&#xA;an optional imported namespace.&#xD;&#xA;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The imported name space has to be a dot separated qualified name followed by .*.&#xD;&#xA;Example: my.namespace.*&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;br>The import URI can be a relative or absolute file system path.&#xD;&#xA;It may contain environment variables in ${} which will be expanded.&#xD;&#xA;&lt;p>&#xD;&#xA;Examples:&#xD;&#xA;&lt;ul>&#xD;&#xA; &lt;li>import model &quot;AnotherModel.room&quot;&lt;/li>&#xD;&#xA; &lt;li>import my.namespace.* from &quot;AnotherModel.room&quot;&lt;/li>&#xD;&#xA; &lt;li>import my.namespace.* from &quot;../../AnotherProject/models/AnotherModel.room&quot;&lt;/li>&#xD;&#xA; &lt;li>import my.namespace.* from &quot;/${ROOM_MODELS}/SomeModel.room&quot;&lt;/li>&#xD;&#xA;&lt;/ul>&#xD;&#xA;&lt;/p>&#xD;&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
+<?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="eTPhys" nsURI="http://www.eclipse.org/etrice/core/etphys/ETPhys"
+ nsPrefix="eTPhys">
+ <eClassifiers xsi:type="ecore:EClass" name="PhysicalModel">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The root object for the physical model. It gives access to the systems, node classes&#xD;&#xA;and runtimes defined.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The model name is a dot separated fully qualified name and is&#xD;&#xA;used to provide a name space.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1"
+ eType="#//Import" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>A list of all imported models.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="systems" upperBound="-1"
+ eType="#//PhysicalSystem" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>A list of all defined physical systems.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="nodeClasses" upperBound="-1"
+ eType="#//NodeClass" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>A list of all defined node classes.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="runtimeClasses" upperBound="-1"
+ eType="#//RuntimeClass" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>A list of all defined runtime classes.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PhysicalSystem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This model object represents a complete physical system.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The name of the physical system by which it is referred to in the model.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="nodeRefs" upperBound="-1"
+ eType="#//NodeRef" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>A list of referenced nodes.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="NodeRef">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This stands for a node instance in a specific role.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The name of the reference by which it is referred to in the model.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//NodeClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The node class of this reference.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="NodeClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This defines a node class.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The name of the node class by which it is referred to in the model.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="runtime" eType="#//RuntimeClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the associated runtime class.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="priomin" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the minimal thread priority for this node type.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="priomax" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the maximum thread priority for this node type.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="threads" upperBound="-1"
+ eType="#//PhysicalThread" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is a list of all threads defined for this node.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PhysicalThread">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This defines a physical thread running in a node.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="default" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>If this is {@code true} then this is the default thread.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The name of the thread by which it is referred to in the model.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="execmode" eType="#//ExecMode">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the execution mode of the thread.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="prio" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the priority of the thread.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="stacksize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the stacksize of the thread.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="msgblocksize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the msgblocksize of the thread.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="msgpoolsize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the msgpoolsize of the thread.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="ExecMode">
+ <eLiterals name="POLLED" literal="polled"/>
+ <eLiterals name="BLOCKED" value="1" literal="blocked"/>
+ <eLiterals name="MIXED" value="2" literal="mixed"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RuntimeClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This defines a runtime class.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The name of the runtime class by which it is referred to in the model.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation"
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is an optional documentation.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="threadModel" eType="#//ThreadModel">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This distinguishes single and multi threaded.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="ThreadModel">
+ <eLiterals name="SINGLE_THREADED" literal="singleThreaded"/>
+ <eLiterals name="MULTI_THREADED" value="1" literal="multiThreaded"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Documentation">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>A piece of documentation that can be optionally attached at&#xD;&#xA;certain places in the model.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>This is the documentation's contents.&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Import">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The import declares an imported model (given as a URI) and&#xD;&#xA;an optional imported namespace.&#xD;&#xA;"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The imported name space has to be a dot separated qualified name followed by .*.&#xD;&#xA;Example: my.namespace.*&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="&lt;br>The import URI can be a relative or absolute file system path.&#xD;&#xA;It may contain environment variables in ${} which will be expanded.&#xD;&#xA;&lt;p>&#xD;&#xA;Examples:&#xD;&#xA;&lt;ul>&#xD;&#xA; &lt;li>import model &quot;AnotherModel.room&quot;&lt;/li>&#xD;&#xA; &lt;li>import my.namespace.* from &quot;AnotherModel.room&quot;&lt;/li>&#xD;&#xA; &lt;li>import my.namespace.* from &quot;../../AnotherProject/models/AnotherModel.room&quot;&lt;/li>&#xD;&#xA; &lt;li>import my.namespace.* from &quot;/${ROOM_MODELS}/SomeModel.room&quot;&lt;/li>&#xD;&#xA;&lt;/ul>&#xD;&#xA;&lt;/p>&#xD;&#xA;"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel
index 625649045..1980d169e 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel
@@ -1,67 +1,67 @@
-<?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="/org.eclipse.etrice.core.etphys/src-gen" editDirectory="/org.eclipse.etrice.core.etphys.edit/src"
- editorDirectory="/org.eclipse.etrice.core.etphys.editor/src" modelPluginID="org.eclipse.etrice.core.etphys"
- forceOverwrite="true" modelName="ETPhys" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.etrice.core.etphys.edit"
- editorPluginID="org.eclipse.etrice.core.etphys.editor" runtimeVersion="2.9">
- <genPackages prefix="ETPhys" basePackage="org.eclipse.etrice.core.etphys" disposableProviderFactory="true"
- ecorePackage="ETPhys.ecore#/">
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="ETPhys.ecore#//ExecMode">
- <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ExecMode/POLLED"/>
- <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ExecMode/BLOCKED"/>
- <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ExecMode/MIXED"/>
- </genEnums>
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="ETPhys.ecore#//ThreadModel">
- <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ThreadModel/SINGLE_THREADED"/>
- <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ThreadModel/MULTI_THREADED"/>
- </genEnums>
- <genClasses ecoreClass="ETPhys.ecore#//PhysicalModel">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalModel/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/imports"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/systems"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/nodeClasses"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/runtimeClasses"/>
- </genClasses>
- <genClasses ecoreClass="ETPhys.ecore#//PhysicalSystem">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalSystem/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalSystem/docu"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalSystem/nodeRefs"/>
- </genClasses>
- <genClasses ecoreClass="ETPhys.ecore#//NodeRef">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeRef/name"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeRef/type"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeRef/docu"/>
- </genClasses>
- <genClasses ecoreClass="ETPhys.ecore#//NodeClass">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeClass/docu"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeClass/runtime"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/priomin"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/priomax"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeClass/threads"/>
- </genClasses>
- <genClasses ecoreClass="ETPhys.ecore#//PhysicalThread">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/default"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/execmode"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/time"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/prio"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/stacksize"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/msgblocksize"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/msgpoolsize"/>
- </genClasses>
- <genClasses ecoreClass="ETPhys.ecore#//RuntimeClass">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//RuntimeClass/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//RuntimeClass/docu"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//RuntimeClass/threadModel"/>
- </genClasses>
- <genClasses ecoreClass="ETPhys.ecore#//Documentation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Documentation/text"/>
- </genClasses>
- <genClasses ecoreClass="ETPhys.ecore#//Import">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Import/importedNamespace"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Import/importURI"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
+<?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="/org.eclipse.etrice.core.etphys/src-gen" editDirectory="/org.eclipse.etrice.core.etphys.edit/src"
+ editorDirectory="/org.eclipse.etrice.core.etphys.editor/src" modelPluginID="org.eclipse.etrice.core.etphys"
+ forceOverwrite="true" modelName="ETPhys" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
+ complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.etrice.core.etphys.edit"
+ editorPluginID="org.eclipse.etrice.core.etphys.editor" runtimeVersion="2.9">
+ <genPackages prefix="ETPhys" basePackage="org.eclipse.etrice.core.etphys" disposableProviderFactory="true"
+ ecorePackage="ETPhys.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="ETPhys.ecore#//ExecMode">
+ <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ExecMode/POLLED"/>
+ <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ExecMode/BLOCKED"/>
+ <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ExecMode/MIXED"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="ETPhys.ecore#//ThreadModel">
+ <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ThreadModel/SINGLE_THREADED"/>
+ <genEnumLiterals ecoreEnumLiteral="ETPhys.ecore#//ThreadModel/MULTI_THREADED"/>
+ </genEnums>
+ <genClasses ecoreClass="ETPhys.ecore#//PhysicalModel">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalModel/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/imports"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/systems"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/nodeClasses"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalModel/runtimeClasses"/>
+ </genClasses>
+ <genClasses ecoreClass="ETPhys.ecore#//PhysicalSystem">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalSystem/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalSystem/docu"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//PhysicalSystem/nodeRefs"/>
+ </genClasses>
+ <genClasses ecoreClass="ETPhys.ecore#//NodeRef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeRef/name"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeRef/type"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeRef/docu"/>
+ </genClasses>
+ <genClasses ecoreClass="ETPhys.ecore#//NodeClass">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeClass/docu"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeClass/runtime"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/priomin"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/priomax"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeClass/threads"/>
+ </genClasses>
+ <genClasses ecoreClass="ETPhys.ecore#//PhysicalThread">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/default"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/execmode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/time"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/prio"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/stacksize"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/msgblocksize"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/msgpoolsize"/>
+ </genClasses>
+ <genClasses ecoreClass="ETPhys.ecore#//RuntimeClass">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//RuntimeClass/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//RuntimeClass/docu"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//RuntimeClass/threadModel"/>
+ </genClasses>
+ <genClasses ecoreClass="ETPhys.ecore#//Documentation">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Documentation/text"/>
+ </genClasses>
+ <genClasses ecoreClass="ETPhys.ecore#//Import">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Import/importedNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Import/importURI"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java
index cad7c0146..c410ed495 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java
@@ -1,49 +1,49 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Documentation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>A piece of documentation that can be optionally attached at
- * certain places in the model.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText <em>Text</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getDocumentation()
- * @model
- * @generated
- */
-public interface Documentation extends EObject
-{
- /**
- * Returns the value of the '<em><b>Text</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the documentation's contents.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Text</em>' attribute list.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getDocumentation_Text()
- * @model unique="false"
- * @generated
- */
- EList<String> getText();
-
-} // Documentation
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Documentation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>A piece of documentation that can be optionally attached at
+ * certain places in the model.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText <em>Text</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getDocumentation()
+ * @model
+ * @generated
+ */
+public interface Documentation extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Text</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the documentation's contents.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Text</em>' attribute list.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getDocumentation_Text()
+ * @model unique="false"
+ * @generated
+ */
+ EList<String> getText();
+
+} // Documentation
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java
index b5ea631d8..65cf1c33a 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java
@@ -1,106 +1,106 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage
- * @generated
- */
-public interface ETPhysFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ETPhysFactory eINSTANCE = org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Physical Model</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Physical Model</em>'.
- * @generated
- */
- PhysicalModel createPhysicalModel();
-
- /**
- * Returns a new object of class '<em>Physical System</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Physical System</em>'.
- * @generated
- */
- PhysicalSystem createPhysicalSystem();
-
- /**
- * Returns a new object of class '<em>Node Ref</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Node Ref</em>'.
- * @generated
- */
- NodeRef createNodeRef();
-
- /**
- * Returns a new object of class '<em>Node Class</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Node Class</em>'.
- * @generated
- */
- NodeClass createNodeClass();
-
- /**
- * Returns a new object of class '<em>Physical Thread</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Physical Thread</em>'.
- * @generated
- */
- PhysicalThread createPhysicalThread();
-
- /**
- * Returns a new object of class '<em>Runtime Class</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Runtime Class</em>'.
- * @generated
- */
- RuntimeClass createRuntimeClass();
-
- /**
- * Returns a new object of class '<em>Documentation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Documentation</em>'.
- * @generated
- */
- Documentation createDocumentation();
-
- /**
- * Returns a new object of class '<em>Import</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Import</em>'.
- * @generated
- */
- Import createImport();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- ETPhysPackage getETPhysPackage();
-
-} //ETPhysFactory
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage
+ * @generated
+ */
+public interface ETPhysFactory extends EFactory
+{
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ETPhysFactory eINSTANCE = org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Physical Model</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Physical Model</em>'.
+ * @generated
+ */
+ PhysicalModel createPhysicalModel();
+
+ /**
+ * Returns a new object of class '<em>Physical System</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Physical System</em>'.
+ * @generated
+ */
+ PhysicalSystem createPhysicalSystem();
+
+ /**
+ * Returns a new object of class '<em>Node Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Node Ref</em>'.
+ * @generated
+ */
+ NodeRef createNodeRef();
+
+ /**
+ * Returns a new object of class '<em>Node Class</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Node Class</em>'.
+ * @generated
+ */
+ NodeClass createNodeClass();
+
+ /**
+ * Returns a new object of class '<em>Physical Thread</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Physical Thread</em>'.
+ * @generated
+ */
+ PhysicalThread createPhysicalThread();
+
+ /**
+ * Returns a new object of class '<em>Runtime Class</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Runtime Class</em>'.
+ * @generated
+ */
+ RuntimeClass createRuntimeClass();
+
+ /**
+ * Returns a new object of class '<em>Documentation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Documentation</em>'.
+ * @generated
+ */
+ Documentation createDocumentation();
+
+ /**
+ * Returns a new object of class '<em>Import</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Import</em>'.
+ * @generated
+ */
+ Import createImport();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ ETPhysPackage getETPhysPackage();
+
+} //ETPhysFactory
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java
index 9f1bd874c..1b6ef20f5 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java
@@ -1,1326 +1,1326 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysFactory
- * @model kind="package"
- * @generated
- */
-public interface ETPhysPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "eTPhys";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/etrice/core/etphys/ETPhys";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "eTPhys";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ETPhysPackage eINSTANCE = org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl <em>Physical Model</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalModel()
- * @generated
- */
- int PHYSICAL_MODEL = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_MODEL__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Imports</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_MODEL__IMPORTS = 1;
-
- /**
- * The feature id for the '<em><b>Systems</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_MODEL__SYSTEMS = 2;
-
- /**
- * The feature id for the '<em><b>Node Classes</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_MODEL__NODE_CLASSES = 3;
-
- /**
- * The feature id for the '<em><b>Runtime Classes</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_MODEL__RUNTIME_CLASSES = 4;
-
- /**
- * The number of structural features of the '<em>Physical Model</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_MODEL_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl <em>Physical System</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalSystem()
- * @generated
- */
- int PHYSICAL_SYSTEM = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_SYSTEM__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_SYSTEM__DOCU = 1;
-
- /**
- * The feature id for the '<em><b>Node Refs</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_SYSTEM__NODE_REFS = 2;
-
- /**
- * The number of structural features of the '<em>Physical System</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_SYSTEM_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl <em>Node Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeRef()
- * @generated
- */
- int NODE_REF = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_REF__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_REF__TYPE = 1;
-
- /**
- * The feature id for the '<em><b>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_REF__DOCU = 2;
-
- /**
- * The number of structural features of the '<em>Node Ref</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_REF_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl <em>Node Class</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeClass()
- * @generated
- */
- int NODE_CLASS = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_CLASS__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_CLASS__DOCU = 1;
-
- /**
- * The feature id for the '<em><b>Runtime</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_CLASS__RUNTIME = 2;
-
- /**
- * The feature id for the '<em><b>Priomin</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_CLASS__PRIOMIN = 3;
-
- /**
- * The feature id for the '<em><b>Priomax</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_CLASS__PRIOMAX = 4;
-
- /**
- * The feature id for the '<em><b>Threads</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_CLASS__THREADS = 5;
-
- /**
- * The number of structural features of the '<em>Node Class</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NODE_CLASS_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl <em>Physical Thread</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalThread()
- * @generated
- */
- int PHYSICAL_THREAD = 4;
-
- /**
- * The feature id for the '<em><b>Default</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__DEFAULT = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__NAME = 1;
-
- /**
- * The feature id for the '<em><b>Execmode</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__EXECMODE = 2;
-
- /**
- * The feature id for the '<em><b>Time</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__TIME = 3;
-
- /**
- * The feature id for the '<em><b>Prio</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__PRIO = 4;
-
- /**
- * The feature id for the '<em><b>Stacksize</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__STACKSIZE = 5;
-
- /**
- * The feature id for the '<em><b>Msgblocksize</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__MSGBLOCKSIZE = 6;
-
- /**
- * The feature id for the '<em><b>Msgpoolsize</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD__MSGPOOLSIZE = 7;
-
- /**
- * The number of structural features of the '<em>Physical Thread</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PHYSICAL_THREAD_FEATURE_COUNT = 8;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl <em>Runtime Class</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getRuntimeClass()
- * @generated
- */
- int RUNTIME_CLASS = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RUNTIME_CLASS__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RUNTIME_CLASS__DOCU = 1;
-
- /**
- * The feature id for the '<em><b>Thread Model</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RUNTIME_CLASS__THREAD_MODEL = 2;
-
- /**
- * The number of structural features of the '<em>Runtime Class</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RUNTIME_CLASS_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl <em>Documentation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getDocumentation()
- * @generated
- */
- int DOCUMENTATION = 6;
-
- /**
- * The feature id for the '<em><b>Text</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENTATION__TEXT = 0;
-
- /**
- * The number of structural features of the '<em>Documentation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENTATION_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl <em>Import</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getImport()
- * @generated
- */
- int IMPORT = 7;
-
- /**
- * The feature id for the '<em><b>Imported Namespace</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__IMPORTED_NAMESPACE = 0;
-
- /**
- * The feature id for the '<em><b>Import URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__IMPORT_URI = 1;
-
- /**
- * The number of structural features of the '<em>Import</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getExecMode()
- * @generated
- */
- int EXEC_MODE = 8;
-
- /**
- * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getThreadModel()
- * @generated
- */
- int THREAD_MODEL = 9;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel <em>Physical Model</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Physical Model</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel
- * @generated
- */
- EClass getPhysicalModel();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getName()
- * @see #getPhysicalModel()
- * @generated
- */
- EAttribute getPhysicalModel_Name();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getImports <em>Imports</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Imports</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getImports()
- * @see #getPhysicalModel()
- * @generated
- */
- EReference getPhysicalModel_Imports();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getSystems <em>Systems</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Systems</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getSystems()
- * @see #getPhysicalModel()
- * @generated
- */
- EReference getPhysicalModel_Systems();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getNodeClasses <em>Node Classes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Node Classes</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getNodeClasses()
- * @see #getPhysicalModel()
- * @generated
- */
- EReference getPhysicalModel_NodeClasses();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getRuntimeClasses <em>Runtime Classes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Runtime Classes</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getRuntimeClasses()
- * @see #getPhysicalModel()
- * @generated
- */
- EReference getPhysicalModel_RuntimeClasses();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem <em>Physical System</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Physical System</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem
- * @generated
- */
- EClass getPhysicalSystem();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getName()
- * @see #getPhysicalSystem()
- * @generated
- */
- EAttribute getPhysicalSystem_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu <em>Docu</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Docu</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu()
- * @see #getPhysicalSystem()
- * @generated
- */
- EReference getPhysicalSystem_Docu();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getNodeRefs <em>Node Refs</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Node Refs</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getNodeRefs()
- * @see #getPhysicalSystem()
- * @generated
- */
- EReference getPhysicalSystem_NodeRefs();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef <em>Node Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Node Ref</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef
- * @generated
- */
- EClass getNodeRef();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getName()
- * @see #getNodeRef()
- * @generated
- */
- EAttribute getNodeRef_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Type</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType()
- * @see #getNodeRef()
- * @generated
- */
- EReference getNodeRef_Type();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu <em>Docu</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Docu</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu()
- * @see #getNodeRef()
- * @generated
- */
- EReference getNodeRef_Docu();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass <em>Node Class</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Node Class</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass
- * @generated
- */
- EClass getNodeClass();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getName()
- * @see #getNodeClass()
- * @generated
- */
- EAttribute getNodeClass_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu <em>Docu</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Docu</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu()
- * @see #getNodeClass()
- * @generated
- */
- EReference getNodeClass_Docu();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime <em>Runtime</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Runtime</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime()
- * @see #getNodeClass()
- * @generated
- */
- EReference getNodeClass_Runtime();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin <em>Priomin</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Priomin</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin()
- * @see #getNodeClass()
- * @generated
- */
- EAttribute getNodeClass_Priomin();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax <em>Priomax</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Priomax</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax()
- * @see #getNodeClass()
- * @generated
- */
- EAttribute getNodeClass_Priomax();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getThreads <em>Threads</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Threads</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getThreads()
- * @see #getNodeClass()
- * @generated
- */
- EReference getNodeClass_Threads();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread <em>Physical Thread</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Physical Thread</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread
- * @generated
- */
- EClass getPhysicalThread();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault <em>Default</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Default</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Default();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getName()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode <em>Execmode</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Execmode</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Execmode();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime <em>Time</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Time</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Time();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio <em>Prio</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Prio</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Prio();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize <em>Stacksize</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Stacksize</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Stacksize();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize <em>Msgblocksize</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Msgblocksize</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Msgblocksize();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize <em>Msgpoolsize</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Msgpoolsize</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize()
- * @see #getPhysicalThread()
- * @generated
- */
- EAttribute getPhysicalThread_Msgpoolsize();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass <em>Runtime Class</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Runtime Class</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass
- * @generated
- */
- EClass getRuntimeClass();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getName()
- * @see #getRuntimeClass()
- * @generated
- */
- EAttribute getRuntimeClass_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu <em>Docu</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Docu</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu()
- * @see #getRuntimeClass()
- * @generated
- */
- EReference getRuntimeClass_Docu();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel <em>Thread Model</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Thread Model</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel()
- * @see #getRuntimeClass()
- * @generated
- */
- EAttribute getRuntimeClass_ThreadModel();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation <em>Documentation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Documentation</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.Documentation
- * @generated
- */
- EClass getDocumentation();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText <em>Text</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Text</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText()
- * @see #getDocumentation()
- * @generated
- */
- EAttribute getDocumentation_Text();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.Import <em>Import</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Import</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.Import
- * @generated
- */
- EClass getImport();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Imported Namespace</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace()
- * @see #getImport()
- * @generated
- */
- EAttribute getImport_ImportedNamespace();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Import URI</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI()
- * @see #getImport()
- * @generated
- */
- EAttribute getImport_ImportURI();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Exec Mode</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
- * @generated
- */
- EEnum getExecMode();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Thread Model</em>'.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
- * @generated
- */
- EEnum getThreadModel();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- ETPhysFactory getETPhysFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl <em>Physical Model</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalModel()
- * @generated
- */
- EClass PHYSICAL_MODEL = eINSTANCE.getPhysicalModel();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_MODEL__NAME = eINSTANCE.getPhysicalModel_Name();
-
- /**
- * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PHYSICAL_MODEL__IMPORTS = eINSTANCE.getPhysicalModel_Imports();
-
- /**
- * The meta object literal for the '<em><b>Systems</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PHYSICAL_MODEL__SYSTEMS = eINSTANCE.getPhysicalModel_Systems();
-
- /**
- * The meta object literal for the '<em><b>Node Classes</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PHYSICAL_MODEL__NODE_CLASSES = eINSTANCE.getPhysicalModel_NodeClasses();
-
- /**
- * The meta object literal for the '<em><b>Runtime Classes</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PHYSICAL_MODEL__RUNTIME_CLASSES = eINSTANCE.getPhysicalModel_RuntimeClasses();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl <em>Physical System</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalSystem()
- * @generated
- */
- EClass PHYSICAL_SYSTEM = eINSTANCE.getPhysicalSystem();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_SYSTEM__NAME = eINSTANCE.getPhysicalSystem_Name();
-
- /**
- * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PHYSICAL_SYSTEM__DOCU = eINSTANCE.getPhysicalSystem_Docu();
-
- /**
- * The meta object literal for the '<em><b>Node Refs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PHYSICAL_SYSTEM__NODE_REFS = eINSTANCE.getPhysicalSystem_NodeRefs();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl <em>Node Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeRef()
- * @generated
- */
- EClass NODE_REF = eINSTANCE.getNodeRef();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute NODE_REF__NAME = eINSTANCE.getNodeRef_Name();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NODE_REF__TYPE = eINSTANCE.getNodeRef_Type();
-
- /**
- * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NODE_REF__DOCU = eINSTANCE.getNodeRef_Docu();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl <em>Node Class</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeClass()
- * @generated
- */
- EClass NODE_CLASS = eINSTANCE.getNodeClass();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute NODE_CLASS__NAME = eINSTANCE.getNodeClass_Name();
-
- /**
- * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NODE_CLASS__DOCU = eINSTANCE.getNodeClass_Docu();
-
- /**
- * The meta object literal for the '<em><b>Runtime</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NODE_CLASS__RUNTIME = eINSTANCE.getNodeClass_Runtime();
-
- /**
- * The meta object literal for the '<em><b>Priomin</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute NODE_CLASS__PRIOMIN = eINSTANCE.getNodeClass_Priomin();
-
- /**
- * The meta object literal for the '<em><b>Priomax</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute NODE_CLASS__PRIOMAX = eINSTANCE.getNodeClass_Priomax();
-
- /**
- * The meta object literal for the '<em><b>Threads</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NODE_CLASS__THREADS = eINSTANCE.getNodeClass_Threads();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl <em>Physical Thread</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalThread()
- * @generated
- */
- EClass PHYSICAL_THREAD = eINSTANCE.getPhysicalThread();
-
- /**
- * The meta object literal for the '<em><b>Default</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__DEFAULT = eINSTANCE.getPhysicalThread_Default();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__NAME = eINSTANCE.getPhysicalThread_Name();
-
- /**
- * The meta object literal for the '<em><b>Execmode</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__EXECMODE = eINSTANCE.getPhysicalThread_Execmode();
-
- /**
- * The meta object literal for the '<em><b>Time</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__TIME = eINSTANCE.getPhysicalThread_Time();
-
- /**
- * The meta object literal for the '<em><b>Prio</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__PRIO = eINSTANCE.getPhysicalThread_Prio();
-
- /**
- * The meta object literal for the '<em><b>Stacksize</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__STACKSIZE = eINSTANCE.getPhysicalThread_Stacksize();
-
- /**
- * The meta object literal for the '<em><b>Msgblocksize</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__MSGBLOCKSIZE = eINSTANCE.getPhysicalThread_Msgblocksize();
-
- /**
- * The meta object literal for the '<em><b>Msgpoolsize</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PHYSICAL_THREAD__MSGPOOLSIZE = eINSTANCE.getPhysicalThread_Msgpoolsize();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl <em>Runtime Class</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getRuntimeClass()
- * @generated
- */
- EClass RUNTIME_CLASS = eINSTANCE.getRuntimeClass();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute RUNTIME_CLASS__NAME = eINSTANCE.getRuntimeClass_Name();
-
- /**
- * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference RUNTIME_CLASS__DOCU = eINSTANCE.getRuntimeClass_Docu();
-
- /**
- * The meta object literal for the '<em><b>Thread Model</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute RUNTIME_CLASS__THREAD_MODEL = eINSTANCE.getRuntimeClass_ThreadModel();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl <em>Documentation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getDocumentation()
- * @generated
- */
- EClass DOCUMENTATION = eINSTANCE.getDocumentation();
-
- /**
- * The meta object literal for the '<em><b>Text</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DOCUMENTATION__TEXT = eINSTANCE.getDocumentation_Text();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl <em>Import</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getImport()
- * @generated
- */
- EClass IMPORT = eINSTANCE.getImport();
-
- /**
- * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getImport_ImportedNamespace();
-
- /**
- * The meta object literal for the '<em><b>Import URI</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getExecMode()
- * @generated
- */
- EEnum EXEC_MODE = eINSTANCE.getExecMode();
-
- /**
- * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
- * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getThreadModel()
- * @generated
- */
- EEnum THREAD_MODEL = eINSTANCE.getThreadModel();
-
- }
-
-} //ETPhysPackage
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface ETPhysPackage extends EPackage
+{
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "eTPhys";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/etrice/core/etphys/ETPhys";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "eTPhys";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ETPhysPackage eINSTANCE = org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl <em>Physical Model</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalModel()
+ * @generated
+ */
+ int PHYSICAL_MODEL = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_MODEL__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Imports</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_MODEL__IMPORTS = 1;
+
+ /**
+ * The feature id for the '<em><b>Systems</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_MODEL__SYSTEMS = 2;
+
+ /**
+ * The feature id for the '<em><b>Node Classes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_MODEL__NODE_CLASSES = 3;
+
+ /**
+ * The feature id for the '<em><b>Runtime Classes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_MODEL__RUNTIME_CLASSES = 4;
+
+ /**
+ * The number of structural features of the '<em>Physical Model</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_MODEL_FEATURE_COUNT = 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl <em>Physical System</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalSystem()
+ * @generated
+ */
+ int PHYSICAL_SYSTEM = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_SYSTEM__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_SYSTEM__DOCU = 1;
+
+ /**
+ * The feature id for the '<em><b>Node Refs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_SYSTEM__NODE_REFS = 2;
+
+ /**
+ * The number of structural features of the '<em>Physical System</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_SYSTEM_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl <em>Node Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeRef()
+ * @generated
+ */
+ int NODE_REF = 2;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_REF__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_REF__TYPE = 1;
+
+ /**
+ * The feature id for the '<em><b>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_REF__DOCU = 2;
+
+ /**
+ * The number of structural features of the '<em>Node Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_REF_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl <em>Node Class</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeClass()
+ * @generated
+ */
+ int NODE_CLASS = 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_CLASS__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_CLASS__DOCU = 1;
+
+ /**
+ * The feature id for the '<em><b>Runtime</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_CLASS__RUNTIME = 2;
+
+ /**
+ * The feature id for the '<em><b>Priomin</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_CLASS__PRIOMIN = 3;
+
+ /**
+ * The feature id for the '<em><b>Priomax</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_CLASS__PRIOMAX = 4;
+
+ /**
+ * The feature id for the '<em><b>Threads</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_CLASS__THREADS = 5;
+
+ /**
+ * The number of structural features of the '<em>Node Class</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_CLASS_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl <em>Physical Thread</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalThread()
+ * @generated
+ */
+ int PHYSICAL_THREAD = 4;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__DEFAULT = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Execmode</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__EXECMODE = 2;
+
+ /**
+ * The feature id for the '<em><b>Time</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__TIME = 3;
+
+ /**
+ * The feature id for the '<em><b>Prio</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__PRIO = 4;
+
+ /**
+ * The feature id for the '<em><b>Stacksize</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__STACKSIZE = 5;
+
+ /**
+ * The feature id for the '<em><b>Msgblocksize</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__MSGBLOCKSIZE = 6;
+
+ /**
+ * The feature id for the '<em><b>Msgpoolsize</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD__MSGPOOLSIZE = 7;
+
+ /**
+ * The number of structural features of the '<em>Physical Thread</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PHYSICAL_THREAD_FEATURE_COUNT = 8;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl <em>Runtime Class</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getRuntimeClass()
+ * @generated
+ */
+ int RUNTIME_CLASS = 5;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RUNTIME_CLASS__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RUNTIME_CLASS__DOCU = 1;
+
+ /**
+ * The feature id for the '<em><b>Thread Model</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RUNTIME_CLASS__THREAD_MODEL = 2;
+
+ /**
+ * The number of structural features of the '<em>Runtime Class</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RUNTIME_CLASS_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl <em>Documentation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getDocumentation()
+ * @generated
+ */
+ int DOCUMENTATION = 6;
+
+ /**
+ * The feature id for the '<em><b>Text</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION__TEXT = 0;
+
+ /**
+ * The number of structural features of the '<em>Documentation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENTATION_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl <em>Import</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getImport()
+ * @generated
+ */
+ int IMPORT = 7;
+
+ /**
+ * The feature id for the '<em><b>Imported Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT__IMPORTED_NAMESPACE = 0;
+
+ /**
+ * The feature id for the '<em><b>Import URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT__IMPORT_URI = 1;
+
+ /**
+ * The number of structural features of the '<em>Import</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getExecMode()
+ * @generated
+ */
+ int EXEC_MODE = 8;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getThreadModel()
+ * @generated
+ */
+ int THREAD_MODEL = 9;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel <em>Physical Model</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Physical Model</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel
+ * @generated
+ */
+ EClass getPhysicalModel();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getName()
+ * @see #getPhysicalModel()
+ * @generated
+ */
+ EAttribute getPhysicalModel_Name();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getImports <em>Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Imports</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getImports()
+ * @see #getPhysicalModel()
+ * @generated
+ */
+ EReference getPhysicalModel_Imports();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getSystems <em>Systems</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Systems</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getSystems()
+ * @see #getPhysicalModel()
+ * @generated
+ */
+ EReference getPhysicalModel_Systems();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getNodeClasses <em>Node Classes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Node Classes</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getNodeClasses()
+ * @see #getPhysicalModel()
+ * @generated
+ */
+ EReference getPhysicalModel_NodeClasses();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getRuntimeClasses <em>Runtime Classes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Runtime Classes</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getRuntimeClasses()
+ * @see #getPhysicalModel()
+ * @generated
+ */
+ EReference getPhysicalModel_RuntimeClasses();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem <em>Physical System</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Physical System</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem
+ * @generated
+ */
+ EClass getPhysicalSystem();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getName()
+ * @see #getPhysicalSystem()
+ * @generated
+ */
+ EAttribute getPhysicalSystem_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu <em>Docu</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Docu</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu()
+ * @see #getPhysicalSystem()
+ * @generated
+ */
+ EReference getPhysicalSystem_Docu();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getNodeRefs <em>Node Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Node Refs</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getNodeRefs()
+ * @see #getPhysicalSystem()
+ * @generated
+ */
+ EReference getPhysicalSystem_NodeRefs();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef <em>Node Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Node Ref</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef
+ * @generated
+ */
+ EClass getNodeRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getName()
+ * @see #getNodeRef()
+ * @generated
+ */
+ EAttribute getNodeRef_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType()
+ * @see #getNodeRef()
+ * @generated
+ */
+ EReference getNodeRef_Type();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu <em>Docu</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Docu</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu()
+ * @see #getNodeRef()
+ * @generated
+ */
+ EReference getNodeRef_Docu();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass <em>Node Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Node Class</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass
+ * @generated
+ */
+ EClass getNodeClass();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getName()
+ * @see #getNodeClass()
+ * @generated
+ */
+ EAttribute getNodeClass_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu <em>Docu</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Docu</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu()
+ * @see #getNodeClass()
+ * @generated
+ */
+ EReference getNodeClass_Docu();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime <em>Runtime</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Runtime</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime()
+ * @see #getNodeClass()
+ * @generated
+ */
+ EReference getNodeClass_Runtime();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin <em>Priomin</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Priomin</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin()
+ * @see #getNodeClass()
+ * @generated
+ */
+ EAttribute getNodeClass_Priomin();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax <em>Priomax</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Priomax</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax()
+ * @see #getNodeClass()
+ * @generated
+ */
+ EAttribute getNodeClass_Priomax();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getThreads <em>Threads</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Threads</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getThreads()
+ * @see #getNodeClass()
+ * @generated
+ */
+ EReference getNodeClass_Threads();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread <em>Physical Thread</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Physical Thread</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread
+ * @generated
+ */
+ EClass getPhysicalThread();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Default();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getName()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode <em>Execmode</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Execmode</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Execmode();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime <em>Time</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Time</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Time();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio <em>Prio</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Prio</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Prio();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize <em>Stacksize</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Stacksize</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Stacksize();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize <em>Msgblocksize</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Msgblocksize</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Msgblocksize();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize <em>Msgpoolsize</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Msgpoolsize</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize()
+ * @see #getPhysicalThread()
+ * @generated
+ */
+ EAttribute getPhysicalThread_Msgpoolsize();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass <em>Runtime Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Runtime Class</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass
+ * @generated
+ */
+ EClass getRuntimeClass();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getName()
+ * @see #getRuntimeClass()
+ * @generated
+ */
+ EAttribute getRuntimeClass_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu <em>Docu</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Docu</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu()
+ * @see #getRuntimeClass()
+ * @generated
+ */
+ EReference getRuntimeClass_Docu();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel <em>Thread Model</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Thread Model</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel()
+ * @see #getRuntimeClass()
+ * @generated
+ */
+ EAttribute getRuntimeClass_ThreadModel();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation <em>Documentation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Documentation</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.Documentation
+ * @generated
+ */
+ EClass getDocumentation();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText <em>Text</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Text</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText()
+ * @see #getDocumentation()
+ * @generated
+ */
+ EAttribute getDocumentation_Text();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.Import <em>Import</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Import</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.Import
+ * @generated
+ */
+ EClass getImport();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Imported Namespace</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace()
+ * @see #getImport()
+ * @generated
+ */
+ EAttribute getImport_ImportedNamespace();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Import URI</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI()
+ * @see #getImport()
+ * @generated
+ */
+ EAttribute getImport_ImportURI();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Exec Mode</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
+ * @generated
+ */
+ EEnum getExecMode();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Thread Model</em>'.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
+ * @generated
+ */
+ EEnum getThreadModel();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ ETPhysFactory getETPhysFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals
+ {
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl <em>Physical Model</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalModel()
+ * @generated
+ */
+ EClass PHYSICAL_MODEL = eINSTANCE.getPhysicalModel();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_MODEL__NAME = eINSTANCE.getPhysicalModel_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PHYSICAL_MODEL__IMPORTS = eINSTANCE.getPhysicalModel_Imports();
+
+ /**
+ * The meta object literal for the '<em><b>Systems</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PHYSICAL_MODEL__SYSTEMS = eINSTANCE.getPhysicalModel_Systems();
+
+ /**
+ * The meta object literal for the '<em><b>Node Classes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PHYSICAL_MODEL__NODE_CLASSES = eINSTANCE.getPhysicalModel_NodeClasses();
+
+ /**
+ * The meta object literal for the '<em><b>Runtime Classes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PHYSICAL_MODEL__RUNTIME_CLASSES = eINSTANCE.getPhysicalModel_RuntimeClasses();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl <em>Physical System</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalSystem()
+ * @generated
+ */
+ EClass PHYSICAL_SYSTEM = eINSTANCE.getPhysicalSystem();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_SYSTEM__NAME = eINSTANCE.getPhysicalSystem_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PHYSICAL_SYSTEM__DOCU = eINSTANCE.getPhysicalSystem_Docu();
+
+ /**
+ * The meta object literal for the '<em><b>Node Refs</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PHYSICAL_SYSTEM__NODE_REFS = eINSTANCE.getPhysicalSystem_NodeRefs();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl <em>Node Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeRef()
+ * @generated
+ */
+ EClass NODE_REF = eINSTANCE.getNodeRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute NODE_REF__NAME = eINSTANCE.getNodeRef_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference NODE_REF__TYPE = eINSTANCE.getNodeRef_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference NODE_REF__DOCU = eINSTANCE.getNodeRef_Docu();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl <em>Node Class</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getNodeClass()
+ * @generated
+ */
+ EClass NODE_CLASS = eINSTANCE.getNodeClass();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute NODE_CLASS__NAME = eINSTANCE.getNodeClass_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference NODE_CLASS__DOCU = eINSTANCE.getNodeClass_Docu();
+
+ /**
+ * The meta object literal for the '<em><b>Runtime</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference NODE_CLASS__RUNTIME = eINSTANCE.getNodeClass_Runtime();
+
+ /**
+ * The meta object literal for the '<em><b>Priomin</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute NODE_CLASS__PRIOMIN = eINSTANCE.getNodeClass_Priomin();
+
+ /**
+ * The meta object literal for the '<em><b>Priomax</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute NODE_CLASS__PRIOMAX = eINSTANCE.getNodeClass_Priomax();
+
+ /**
+ * The meta object literal for the '<em><b>Threads</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference NODE_CLASS__THREADS = eINSTANCE.getNodeClass_Threads();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl <em>Physical Thread</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getPhysicalThread()
+ * @generated
+ */
+ EClass PHYSICAL_THREAD = eINSTANCE.getPhysicalThread();
+
+ /**
+ * The meta object literal for the '<em><b>Default</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__DEFAULT = eINSTANCE.getPhysicalThread_Default();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__NAME = eINSTANCE.getPhysicalThread_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Execmode</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__EXECMODE = eINSTANCE.getPhysicalThread_Execmode();
+
+ /**
+ * The meta object literal for the '<em><b>Time</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__TIME = eINSTANCE.getPhysicalThread_Time();
+
+ /**
+ * The meta object literal for the '<em><b>Prio</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__PRIO = eINSTANCE.getPhysicalThread_Prio();
+
+ /**
+ * The meta object literal for the '<em><b>Stacksize</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__STACKSIZE = eINSTANCE.getPhysicalThread_Stacksize();
+
+ /**
+ * The meta object literal for the '<em><b>Msgblocksize</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__MSGBLOCKSIZE = eINSTANCE.getPhysicalThread_Msgblocksize();
+
+ /**
+ * The meta object literal for the '<em><b>Msgpoolsize</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PHYSICAL_THREAD__MSGPOOLSIZE = eINSTANCE.getPhysicalThread_Msgpoolsize();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl <em>Runtime Class</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getRuntimeClass()
+ * @generated
+ */
+ EClass RUNTIME_CLASS = eINSTANCE.getRuntimeClass();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RUNTIME_CLASS__NAME = eINSTANCE.getRuntimeClass_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RUNTIME_CLASS__DOCU = eINSTANCE.getRuntimeClass_Docu();
+
+ /**
+ * The meta object literal for the '<em><b>Thread Model</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RUNTIME_CLASS__THREAD_MODEL = eINSTANCE.getRuntimeClass_ThreadModel();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl <em>Documentation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getDocumentation()
+ * @generated
+ */
+ EClass DOCUMENTATION = eINSTANCE.getDocumentation();
+
+ /**
+ * The meta object literal for the '<em><b>Text</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENTATION__TEXT = eINSTANCE.getDocumentation_Text();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl <em>Import</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getImport()
+ * @generated
+ */
+ EClass IMPORT = eINSTANCE.getImport();
+
+ /**
+ * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getImport_ImportedNamespace();
+
+ /**
+ * The meta object literal for the '<em><b>Import URI</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getExecMode()
+ * @generated
+ */
+ EEnum EXEC_MODE = eINSTANCE.getExecMode();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
+ * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getThreadModel()
+ * @generated
+ */
+ EEnum THREAD_MODEL = eINSTANCE.getThreadModel();
+
+ }
+
+} //ETPhysPackage
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java
index 8ac0ddc13..96bf16b80 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java
@@ -1,250 +1,250 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Exec Mode</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getExecMode()
- * @model
- * @generated
- */
-public enum ExecMode implements Enumerator
-{
- /**
- * The '<em><b>POLLED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #POLLED_VALUE
- * @generated
- * @ordered
- */
- POLLED(0, "POLLED", "polled"),
-
- /**
- * The '<em><b>BLOCKED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #BLOCKED_VALUE
- * @generated
- * @ordered
- */
- BLOCKED(1, "BLOCKED", "blocked"),
-
- /**
- * The '<em><b>MIXED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #MIXED_VALUE
- * @generated
- * @ordered
- */
- MIXED(2, "MIXED", "mixed");
-
- /**
- * The '<em><b>POLLED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>POLLED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #POLLED
- * @model literal="polled"
- * @generated
- * @ordered
- */
- public static final int POLLED_VALUE = 0;
-
- /**
- * The '<em><b>BLOCKED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>BLOCKED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #BLOCKED
- * @model literal="blocked"
- * @generated
- * @ordered
- */
- public static final int BLOCKED_VALUE = 1;
-
- /**
- * The '<em><b>MIXED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>MIXED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #MIXED
- * @model literal="mixed"
- * @generated
- * @ordered
- */
- public static final int MIXED_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Exec Mode</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final ExecMode[] VALUES_ARRAY =
- new ExecMode[]
- {
- POLLED,
- BLOCKED,
- MIXED,
- };
-
- /**
- * A public read-only list of all the '<em><b>Exec Mode</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<ExecMode> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Exec Mode</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ExecMode get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ExecMode result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Exec Mode</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ExecMode getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ExecMode result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Exec Mode</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ExecMode get(int value)
- {
- switch (value)
- {
- case POLLED_VALUE: return POLLED;
- case BLOCKED_VALUE: return BLOCKED;
- case MIXED_VALUE: return MIXED;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ExecMode(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //ExecMode
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Exec Mode</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getExecMode()
+ * @model
+ * @generated
+ */
+public enum ExecMode implements Enumerator
+{
+ /**
+ * The '<em><b>POLLED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #POLLED_VALUE
+ * @generated
+ * @ordered
+ */
+ POLLED(0, "POLLED", "polled"),
+
+ /**
+ * The '<em><b>BLOCKED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #BLOCKED_VALUE
+ * @generated
+ * @ordered
+ */
+ BLOCKED(1, "BLOCKED", "blocked"),
+
+ /**
+ * The '<em><b>MIXED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MIXED_VALUE
+ * @generated
+ * @ordered
+ */
+ MIXED(2, "MIXED", "mixed");
+
+ /**
+ * The '<em><b>POLLED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>POLLED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #POLLED
+ * @model literal="polled"
+ * @generated
+ * @ordered
+ */
+ public static final int POLLED_VALUE = 0;
+
+ /**
+ * The '<em><b>BLOCKED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>BLOCKED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #BLOCKED
+ * @model literal="blocked"
+ * @generated
+ * @ordered
+ */
+ public static final int BLOCKED_VALUE = 1;
+
+ /**
+ * The '<em><b>MIXED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>MIXED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MIXED
+ * @model literal="mixed"
+ * @generated
+ * @ordered
+ */
+ public static final int MIXED_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Exec Mode</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ExecMode[] VALUES_ARRAY =
+ new ExecMode[]
+ {
+ POLLED,
+ BLOCKED,
+ MIXED,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Exec Mode</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ExecMode> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Exec Mode</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ExecMode get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ ExecMode result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Exec Mode</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ExecMode getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ ExecMode result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Exec Mode</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ExecMode get(int value)
+ {
+ switch (value)
+ {
+ case POLLED_VALUE: return POLLED;
+ case BLOCKED_VALUE: return BLOCKED;
+ case MIXED_VALUE: return MIXED;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ExecMode(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //ExecMode
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java
index fe172ae0b..f7ecf02eb 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java
@@ -1,95 +1,95 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Import</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>The import declares an imported model (given as a URI) and
- * an optional imported namespace.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport()
- * @model
- * @generated
- */
-public interface Import extends EObject
-{
- /**
- * Returns the value of the '<em><b>Imported Namespace</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The imported name space has to be a dot separated qualified name followed by .*.
- * Example: my.namespace.*
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Imported Namespace</em>' attribute.
- * @see #setImportedNamespace(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport_ImportedNamespace()
- * @model
- * @generated
- */
- String getImportedNamespace();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Imported Namespace</em>' attribute.
- * @see #getImportedNamespace()
- * @generated
- */
- void setImportedNamespace(String value);
-
- /**
- * Returns the value of the '<em><b>Import URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The import URI can be a relative or absolute file system path.
- * It may contain environment variables in ${} which will be expanded.
- * <p>
- * Examples:
- * <ul>
- * <li>import model "AnotherModel.room"</li>
- * <li>import my.namespace.* from "AnotherModel.room"</li>
- * <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
- * <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
- * </ul>
- * </p>
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Import URI</em>' attribute.
- * @see #setImportURI(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport_ImportURI()
- * @model
- * @generated
- */
- String getImportURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Import URI</em>' attribute.
- * @see #getImportURI()
- * @generated
- */
- void setImportURI(String value);
-
-} // Import
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Import</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>The import declares an imported model (given as a URI) and
+ * an optional imported namespace.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport()
+ * @model
+ * @generated
+ */
+public interface Import extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Imported Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The imported name space has to be a dot separated qualified name followed by .*.
+ * Example: my.namespace.*
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Imported Namespace</em>' attribute.
+ * @see #setImportedNamespace(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport_ImportedNamespace()
+ * @model
+ * @generated
+ */
+ String getImportedNamespace();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Imported Namespace</em>' attribute.
+ * @see #getImportedNamespace()
+ * @generated
+ */
+ void setImportedNamespace(String value);
+
+ /**
+ * Returns the value of the '<em><b>Import URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The import URI can be a relative or absolute file system path.
+ * It may contain environment variables in ${} which will be expanded.
+ * <p>
+ * Examples:
+ * <ul>
+ * <li>import model "AnotherModel.room"</li>
+ * <li>import my.namespace.* from "AnotherModel.room"</li>
+ * <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
+ * <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
+ * </ul>
+ * </p>
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Import URI</em>' attribute.
+ * @see #setImportURI(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport_ImportURI()
+ * @model
+ * @generated
+ */
+ String getImportURI();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Import URI</em>' attribute.
+ * @see #getImportURI()
+ * @generated
+ */
+ void setImportURI(String value);
+
+} // Import
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java
index 301c5c231..333b9a200 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java
@@ -1,183 +1,183 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Node Class</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>This defines a node class.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu <em>Docu</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime <em>Runtime</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin <em>Priomin</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax <em>Priomax</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getThreads <em>Threads</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass()
- * @model
- * @generated
- */
-public interface NodeClass extends EObject
-{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The name of the node class by which it is referred to in the model.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#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>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is an optional documentation.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Docu</em>' containment reference.
- * @see #setDocu(Documentation)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Docu()
- * @model containment="true"
- * @generated
- */
- Documentation getDocu();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Docu</em>' containment reference.
- * @see #getDocu()
- * @generated
- */
- void setDocu(Documentation value);
-
- /**
- * Returns the value of the '<em><b>Runtime</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the associated runtime class.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Runtime</em>' reference.
- * @see #setRuntime(RuntimeClass)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Runtime()
- * @model
- * @generated
- */
- RuntimeClass getRuntime();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime <em>Runtime</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Runtime</em>' reference.
- * @see #getRuntime()
- * @generated
- */
- void setRuntime(RuntimeClass value);
-
- /**
- * Returns the value of the '<em><b>Priomin</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the minimal thread priority for this node type.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Priomin</em>' attribute.
- * @see #setPriomin(int)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Priomin()
- * @model
- * @generated
- */
- int getPriomin();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin <em>Priomin</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Priomin</em>' attribute.
- * @see #getPriomin()
- * @generated
- */
- void setPriomin(int value);
-
- /**
- * Returns the value of the '<em><b>Priomax</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the maximum thread priority for this node type.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Priomax</em>' attribute.
- * @see #setPriomax(int)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Priomax()
- * @model
- * @generated
- */
- int getPriomax();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax <em>Priomax</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Priomax</em>' attribute.
- * @see #getPriomax()
- * @generated
- */
- void setPriomax(int value);
-
- /**
- * Returns the value of the '<em><b>Threads</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is a list of all threads defined for this node.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Threads</em>' containment reference list.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Threads()
- * @model containment="true"
- * @generated
- */
- EList<PhysicalThread> getThreads();
-
-} // NodeClass
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Node Class</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>This defines a node class.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu <em>Docu</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime <em>Runtime</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin <em>Priomin</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax <em>Priomax</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getThreads <em>Threads</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass()
+ * @model
+ * @generated
+ */
+public interface NodeClass extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The name of the node class by which it is referred to in the model.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#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>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is an optional documentation.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Docu</em>' containment reference.
+ * @see #setDocu(Documentation)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Docu()
+ * @model containment="true"
+ * @generated
+ */
+ Documentation getDocu();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Docu</em>' containment reference.
+ * @see #getDocu()
+ * @generated
+ */
+ void setDocu(Documentation value);
+
+ /**
+ * Returns the value of the '<em><b>Runtime</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the associated runtime class.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Runtime</em>' reference.
+ * @see #setRuntime(RuntimeClass)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Runtime()
+ * @model
+ * @generated
+ */
+ RuntimeClass getRuntime();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getRuntime <em>Runtime</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Runtime</em>' reference.
+ * @see #getRuntime()
+ * @generated
+ */
+ void setRuntime(RuntimeClass value);
+
+ /**
+ * Returns the value of the '<em><b>Priomin</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the minimal thread priority for this node type.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Priomin</em>' attribute.
+ * @see #setPriomin(int)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Priomin()
+ * @model
+ * @generated
+ */
+ int getPriomin();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomin <em>Priomin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Priomin</em>' attribute.
+ * @see #getPriomin()
+ * @generated
+ */
+ void setPriomin(int value);
+
+ /**
+ * Returns the value of the '<em><b>Priomax</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the maximum thread priority for this node type.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Priomax</em>' attribute.
+ * @see #setPriomax(int)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Priomax()
+ * @model
+ * @generated
+ */
+ int getPriomax();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax <em>Priomax</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Priomax</em>' attribute.
+ * @see #getPriomax()
+ * @generated
+ */
+ void setPriomax(int value);
+
+ /**
+ * Returns the value of the '<em><b>Threads</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all threads defined for this node.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Threads</em>' containment reference list.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass_Threads()
+ * @model containment="true"
+ * @generated
+ */
+ EList<PhysicalThread> getThreads();
+
+} // NodeClass
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java
index 4966cd4dc..cac45bf46 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java
@@ -1,110 +1,110 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Node Ref</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>This stands for a node instance in a specific role.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu <em>Docu</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef()
- * @model
- * @generated
- */
-public interface NodeRef extends EObject
-{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The name of the reference by which it is referred to in the model.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#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>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The node class of this reference.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Type</em>' reference.
- * @see #setType(NodeClass)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef_Type()
- * @model
- * @generated
- */
- NodeClass getType();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType <em>Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' reference.
- * @see #getType()
- * @generated
- */
- void setType(NodeClass value);
-
- /**
- * Returns the value of the '<em><b>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is an optional documentation.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Docu</em>' containment reference.
- * @see #setDocu(Documentation)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef_Docu()
- * @model containment="true"
- * @generated
- */
- Documentation getDocu();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Docu</em>' containment reference.
- * @see #getDocu()
- * @generated
- */
- void setDocu(Documentation value);
-
-} // NodeRef
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Node Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>This stands for a node instance in a specific role.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu <em>Docu</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef()
+ * @model
+ * @generated
+ */
+public interface NodeRef extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The name of the reference by which it is referred to in the model.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#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>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The node class of this reference.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(NodeClass)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef_Type()
+ * @model
+ * @generated
+ */
+ NodeClass getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(NodeClass value);
+
+ /**
+ * Returns the value of the '<em><b>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is an optional documentation.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Docu</em>' containment reference.
+ * @see #setDocu(Documentation)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef_Docu()
+ * @model containment="true"
+ * @generated
+ */
+ Documentation getDocu();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Docu</em>' containment reference.
+ * @see #getDocu()
+ * @generated
+ */
+ void setDocu(Documentation value);
+
+} // NodeRef
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java
index ba365e1bb..2ef99ec1c 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java
@@ -1,128 +1,128 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Physical Model</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>The root object for the physical model. It gives access to the systems, node classes
- * and runtimes defined.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getImports <em>Imports</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getSystems <em>Systems</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getNodeClasses <em>Node Classes</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getRuntimeClasses <em>Runtime Classes</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel()
- * @model
- * @generated
- */
-public interface PhysicalModel extends EObject
-{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The model name is a dot separated fully qualified name and is
- * used to provide a name space.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#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>Imports</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.Import}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>A list of all imported models.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Imports</em>' containment reference list.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_Imports()
- * @model containment="true"
- * @generated
- */
- EList<Import> getImports();
-
- /**
- * Returns the value of the '<em><b>Systems</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>A list of all defined physical systems.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Systems</em>' containment reference list.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_Systems()
- * @model containment="true"
- * @generated
- */
- EList<PhysicalSystem> getSystems();
-
- /**
- * Returns the value of the '<em><b>Node Classes</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>A list of all defined node classes.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Node Classes</em>' containment reference list.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_NodeClasses()
- * @model containment="true"
- * @generated
- */
- EList<NodeClass> getNodeClasses();
-
- /**
- * Returns the value of the '<em><b>Runtime Classes</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>A list of all defined runtime classes.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Runtime Classes</em>' containment reference list.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_RuntimeClasses()
- * @model containment="true"
- * @generated
- */
- EList<RuntimeClass> getRuntimeClasses();
-
-} // PhysicalModel
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Physical Model</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>The root object for the physical model. It gives access to the systems, node classes
+ * and runtimes defined.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getImports <em>Imports</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getSystems <em>Systems</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getNodeClasses <em>Node Classes</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getRuntimeClasses <em>Runtime Classes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel()
+ * @model
+ * @generated
+ */
+public interface PhysicalModel extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The model name is a dot separated fully qualified name and is
+ * used to provide a name space.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#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>Imports</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.Import}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>A list of all imported models.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Imports</em>' containment reference list.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_Imports()
+ * @model containment="true"
+ * @generated
+ */
+ EList<Import> getImports();
+
+ /**
+ * Returns the value of the '<em><b>Systems</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>A list of all defined physical systems.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Systems</em>' containment reference list.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_Systems()
+ * @model containment="true"
+ * @generated
+ */
+ EList<PhysicalSystem> getSystems();
+
+ /**
+ * Returns the value of the '<em><b>Node Classes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>A list of all defined node classes.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Node Classes</em>' containment reference list.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_NodeClasses()
+ * @model containment="true"
+ * @generated
+ */
+ EList<NodeClass> getNodeClasses();
+
+ /**
+ * Returns the value of the '<em><b>Runtime Classes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>A list of all defined runtime classes.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Runtime Classes</em>' containment reference list.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel_RuntimeClasses()
+ * @model containment="true"
+ * @generated
+ */
+ EList<RuntimeClass> getRuntimeClasses();
+
+} // PhysicalModel
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java
index 671ace8ca..9b648f2d8 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java
@@ -1,102 +1,102 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Physical System</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>This model object represents a complete physical system.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu <em>Docu</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getNodeRefs <em>Node Refs</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem()
- * @model
- * @generated
- */
-public interface PhysicalSystem extends EObject
-{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The name of the physical system by which it is referred to in the model.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#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>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is an optional documentation.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Docu</em>' containment reference.
- * @see #setDocu(Documentation)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem_Docu()
- * @model containment="true"
- * @generated
- */
- Documentation getDocu();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Docu</em>' containment reference.
- * @see #getDocu()
- * @generated
- */
- void setDocu(Documentation value);
-
- /**
- * Returns the value of the '<em><b>Node Refs</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>A list of referenced nodes.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Node Refs</em>' containment reference list.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem_NodeRefs()
- * @model containment="true"
- * @generated
- */
- EList<NodeRef> getNodeRefs();
-
-} // PhysicalSystem
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Physical System</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>This model object represents a complete physical system.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu <em>Docu</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getNodeRefs <em>Node Refs</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem()
+ * @model
+ * @generated
+ */
+public interface PhysicalSystem extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The name of the physical system by which it is referred to in the model.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#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>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is an optional documentation.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Docu</em>' containment reference.
+ * @see #setDocu(Documentation)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem_Docu()
+ * @model containment="true"
+ * @generated
+ */
+ Documentation getDocu();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Docu</em>' containment reference.
+ * @see #getDocu()
+ * @generated
+ */
+ void setDocu(Documentation value);
+
+ /**
+ * Returns the value of the '<em><b>Node Refs</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>A list of referenced nodes.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Node Refs</em>' containment reference list.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem_NodeRefs()
+ * @model containment="true"
+ * @generated
+ */
+ EList<NodeRef> getNodeRefs();
+
+} // PhysicalSystem
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java
index 34776d1f3..fe58975ab 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java
@@ -1,248 +1,248 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Physical Thread</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>This defines a physical thread running in a node.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault <em>Default</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode <em>Execmode</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime <em>Time</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio <em>Prio</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize <em>Stacksize</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize <em>Msgblocksize</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize <em>Msgpoolsize</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread()
- * @model
- * @generated
- */
-public interface PhysicalThread extends EObject
-{
- /**
- * Returns the value of the '<em><b>Default</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>If this is {@code true} then this is the default thread.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Default</em>' attribute.
- * @see #setDefault(boolean)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Default()
- * @model
- * @generated
- */
- boolean isDefault();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault <em>Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default</em>' attribute.
- * @see #isDefault()
- * @generated
- */
- void setDefault(boolean value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The name of the thread by which it is referred to in the model.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#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>Execmode</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the execution mode of the thread.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Execmode</em>' attribute.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
- * @see #setExecmode(ExecMode)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Execmode()
- * @model
- * @generated
- */
- ExecMode getExecmode();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode <em>Execmode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Execmode</em>' attribute.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
- * @see #getExecmode()
- * @generated
- */
- void setExecmode(ExecMode value);
-
- /**
- * Returns the value of the '<em><b>Time</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Time</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Time</em>' attribute.
- * @see #setTime(int)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Time()
- * @model
- * @generated
- */
- int getTime();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime <em>Time</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Time</em>' attribute.
- * @see #getTime()
- * @generated
- */
- void setTime(int value);
-
- /**
- * Returns the value of the '<em><b>Prio</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the priority of the thread.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Prio</em>' attribute.
- * @see #setPrio(int)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Prio()
- * @model
- * @generated
- */
- int getPrio();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio <em>Prio</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Prio</em>' attribute.
- * @see #getPrio()
- * @generated
- */
- void setPrio(int value);
-
- /**
- * Returns the value of the '<em><b>Stacksize</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the stacksize of the thread.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Stacksize</em>' attribute.
- * @see #setStacksize(int)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Stacksize()
- * @model
- * @generated
- */
- int getStacksize();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize <em>Stacksize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Stacksize</em>' attribute.
- * @see #getStacksize()
- * @generated
- */
- void setStacksize(int value);
-
- /**
- * Returns the value of the '<em><b>Msgblocksize</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the msgblocksize of the thread.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Msgblocksize</em>' attribute.
- * @see #setMsgblocksize(int)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Msgblocksize()
- * @model
- * @generated
- */
- int getMsgblocksize();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize <em>Msgblocksize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Msgblocksize</em>' attribute.
- * @see #getMsgblocksize()
- * @generated
- */
- void setMsgblocksize(int value);
-
- /**
- * Returns the value of the '<em><b>Msgpoolsize</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is the msgpoolsize of the thread.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Msgpoolsize</em>' attribute.
- * @see #setMsgpoolsize(int)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Msgpoolsize()
- * @model
- * @generated
- */
- int getMsgpoolsize();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize <em>Msgpoolsize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Msgpoolsize</em>' attribute.
- * @see #getMsgpoolsize()
- * @generated
- */
- void setMsgpoolsize(int value);
-
-} // PhysicalThread
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Physical Thread</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>This defines a physical thread running in a node.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode <em>Execmode</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime <em>Time</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio <em>Prio</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize <em>Stacksize</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize <em>Msgblocksize</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize <em>Msgpoolsize</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread()
+ * @model
+ * @generated
+ */
+public interface PhysicalThread extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>If this is {@code true} then this is the default thread.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Default</em>' attribute.
+ * @see #setDefault(boolean)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Default()
+ * @model
+ * @generated
+ */
+ boolean isDefault();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault <em>Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default</em>' attribute.
+ * @see #isDefault()
+ * @generated
+ */
+ void setDefault(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The name of the thread by which it is referred to in the model.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#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>Execmode</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the execution mode of the thread.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Execmode</em>' attribute.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
+ * @see #setExecmode(ExecMode)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Execmode()
+ * @model
+ * @generated
+ */
+ ExecMode getExecmode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getExecmode <em>Execmode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Execmode</em>' attribute.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ExecMode
+ * @see #getExecmode()
+ * @generated
+ */
+ void setExecmode(ExecMode value);
+
+ /**
+ * Returns the value of the '<em><b>Time</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Time</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Time</em>' attribute.
+ * @see #setTime(int)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Time()
+ * @model
+ * @generated
+ */
+ int getTime();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getTime <em>Time</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Time</em>' attribute.
+ * @see #getTime()
+ * @generated
+ */
+ void setTime(int value);
+
+ /**
+ * Returns the value of the '<em><b>Prio</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the priority of the thread.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Prio</em>' attribute.
+ * @see #setPrio(int)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Prio()
+ * @model
+ * @generated
+ */
+ int getPrio();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getPrio <em>Prio</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Prio</em>' attribute.
+ * @see #getPrio()
+ * @generated
+ */
+ void setPrio(int value);
+
+ /**
+ * Returns the value of the '<em><b>Stacksize</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the stacksize of the thread.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Stacksize</em>' attribute.
+ * @see #setStacksize(int)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Stacksize()
+ * @model
+ * @generated
+ */
+ int getStacksize();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getStacksize <em>Stacksize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Stacksize</em>' attribute.
+ * @see #getStacksize()
+ * @generated
+ */
+ void setStacksize(int value);
+
+ /**
+ * Returns the value of the '<em><b>Msgblocksize</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the msgblocksize of the thread.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Msgblocksize</em>' attribute.
+ * @see #setMsgblocksize(int)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Msgblocksize()
+ * @model
+ * @generated
+ */
+ int getMsgblocksize();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize <em>Msgblocksize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Msgblocksize</em>' attribute.
+ * @see #getMsgblocksize()
+ * @generated
+ */
+ void setMsgblocksize(int value);
+
+ /**
+ * Returns the value of the '<em><b>Msgpoolsize</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the msgpoolsize of the thread.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Msgpoolsize</em>' attribute.
+ * @see #setMsgpoolsize(int)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread_Msgpoolsize()
+ * @model
+ * @generated
+ */
+ int getMsgpoolsize();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize <em>Msgpoolsize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Msgpoolsize</em>' attribute.
+ * @see #getMsgpoolsize()
+ * @generated
+ */
+ void setMsgpoolsize(int value);
+
+} // PhysicalThread
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java
index 8cd6d8ab2..f7f2c0a8c 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java
@@ -1,113 +1,113 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Runtime Class</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * <br>This defines a runtime class.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu <em>Docu</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel <em>Thread Model</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass()
- * @model
- * @generated
- */
-public interface RuntimeClass extends EObject
-{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>The name of the runtime class by which it is referred to in the model.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#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>Docu</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This is an optional documentation.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Docu</em>' containment reference.
- * @see #setDocu(Documentation)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass_Docu()
- * @model containment="true"
- * @generated
- */
- Documentation getDocu();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Docu</em>' containment reference.
- * @see #getDocu()
- * @generated
- */
- void setDocu(Documentation value);
-
- /**
- * Returns the value of the '<em><b>Thread Model</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <br>This distinguishes single and multi threaded.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Thread Model</em>' attribute.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
- * @see #setThreadModel(ThreadModel)
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass_ThreadModel()
- * @model
- * @generated
- */
- ThreadModel getThreadModel();
-
- /**
- * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel <em>Thread Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Thread Model</em>' attribute.
- * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
- * @see #getThreadModel()
- * @generated
- */
- void setThreadModel(ThreadModel value);
-
-} // RuntimeClass
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Runtime Class</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * <br>This defines a runtime class.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu <em>Docu</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel <em>Thread Model</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass()
+ * @model
+ * @generated
+ */
+public interface RuntimeClass extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>The name of the runtime class by which it is referred to in the model.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#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>Docu</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is an optional documentation.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Docu</em>' containment reference.
+ * @see #setDocu(Documentation)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass_Docu()
+ * @model containment="true"
+ * @generated
+ */
+ Documentation getDocu();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Docu</em>' containment reference.
+ * @see #getDocu()
+ * @generated
+ */
+ void setDocu(Documentation value);
+
+ /**
+ * Returns the value of the '<em><b>Thread Model</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This distinguishes single and multi threaded.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Thread Model</em>' attribute.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
+ * @see #setThreadModel(ThreadModel)
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass_ThreadModel()
+ * @model
+ * @generated
+ */
+ ThreadModel getThreadModel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel <em>Thread Model</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Thread Model</em>' attribute.
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ThreadModel
+ * @see #getThreadModel()
+ * @generated
+ */
+ void setThreadModel(ThreadModel value);
+
+} // RuntimeClass
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java
index 856b418dc..9ac9ff359 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java
@@ -1,223 +1,223 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Thread Model</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getThreadModel()
- * @model
- * @generated
- */
-public enum ThreadModel implements Enumerator
-{
- /**
- * The '<em><b>SINGLE THREADED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #SINGLE_THREADED_VALUE
- * @generated
- * @ordered
- */
- SINGLE_THREADED(0, "SINGLE_THREADED", "singleThreaded"),
-
- /**
- * The '<em><b>MULTI THREADED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #MULTI_THREADED_VALUE
- * @generated
- * @ordered
- */
- MULTI_THREADED(1, "MULTI_THREADED", "multiThreaded");
-
- /**
- * The '<em><b>SINGLE THREADED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>SINGLE THREADED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #SINGLE_THREADED
- * @model literal="singleThreaded"
- * @generated
- * @ordered
- */
- public static final int SINGLE_THREADED_VALUE = 0;
-
- /**
- * The '<em><b>MULTI THREADED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>MULTI THREADED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #MULTI_THREADED
- * @model literal="multiThreaded"
- * @generated
- * @ordered
- */
- public static final int MULTI_THREADED_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Thread Model</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final ThreadModel[] VALUES_ARRAY =
- new ThreadModel[]
- {
- SINGLE_THREADED,
- MULTI_THREADED,
- };
-
- /**
- * A public read-only list of all the '<em><b>Thread Model</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<ThreadModel> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Thread Model</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ThreadModel get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ThreadModel result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Thread Model</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ThreadModel getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ThreadModel result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Thread Model</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ThreadModel get(int value)
- {
- switch (value)
- {
- case SINGLE_THREADED_VALUE: return SINGLE_THREADED;
- case MULTI_THREADED_VALUE: return MULTI_THREADED;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ThreadModel(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //ThreadModel
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Thread Model</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getThreadModel()
+ * @model
+ * @generated
+ */
+public enum ThreadModel implements Enumerator
+{
+ /**
+ * The '<em><b>SINGLE THREADED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #SINGLE_THREADED_VALUE
+ * @generated
+ * @ordered
+ */
+ SINGLE_THREADED(0, "SINGLE_THREADED", "singleThreaded"),
+
+ /**
+ * The '<em><b>MULTI THREADED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MULTI_THREADED_VALUE
+ * @generated
+ * @ordered
+ */
+ MULTI_THREADED(1, "MULTI_THREADED", "multiThreaded");
+
+ /**
+ * The '<em><b>SINGLE THREADED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>SINGLE THREADED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #SINGLE_THREADED
+ * @model literal="singleThreaded"
+ * @generated
+ * @ordered
+ */
+ public static final int SINGLE_THREADED_VALUE = 0;
+
+ /**
+ * The '<em><b>MULTI THREADED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>MULTI THREADED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MULTI_THREADED
+ * @model literal="multiThreaded"
+ * @generated
+ * @ordered
+ */
+ public static final int MULTI_THREADED_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Thread Model</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ThreadModel[] VALUES_ARRAY =
+ new ThreadModel[]
+ {
+ SINGLE_THREADED,
+ MULTI_THREADED,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Thread Model</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ThreadModel> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Thread Model</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ThreadModel get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ ThreadModel result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Thread Model</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ThreadModel getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ ThreadModel result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Thread Model</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ThreadModel get(int value)
+ {
+ switch (value)
+ {
+ case SINGLE_THREADED_VALUE: return SINGLE_THREADED;
+ case MULTI_THREADED_VALUE: return MULTI_THREADED;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ThreadModel(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //ThreadModel
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java
index e6376d143..9a340391d 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java
@@ -1,163 +1,163 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-
-import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Documentation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl#getText <em>Text</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentationImpl extends MinimalEObjectImpl.Container implements Documentation
-{
- /**
- * The cached value of the '{@link #getText() <em>Text</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getText()
- * @generated
- * @ordered
- */
- protected EList<String> text;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.DOCUMENTATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getText()
- {
- if (text == null)
- {
- text = new EDataTypeEList<String>(String.class, this, ETPhysPackage.DOCUMENTATION__TEXT);
- }
- return text;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ETPhysPackage.DOCUMENTATION__TEXT:
- return getText();
- }
- 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 ETPhysPackage.DOCUMENTATION__TEXT:
- getText().clear();
- getText().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.DOCUMENTATION__TEXT:
- getText().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.DOCUMENTATION__TEXT:
- return text != null && !text.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(" (text: ");
- result.append(text);
- result.append(')');
- return result.toString();
- }
-
-} //DocumentationImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+
+import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Documentation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl#getText <em>Text</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentationImpl extends MinimalEObjectImpl.Container implements Documentation
+{
+ /**
+ * The cached value of the '{@link #getText() <em>Text</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getText()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> text;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentationImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.DOCUMENTATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getText()
+ {
+ if (text == null)
+ {
+ text = new EDataTypeEList<String>(String.class, this, ETPhysPackage.DOCUMENTATION__TEXT);
+ }
+ return text;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.DOCUMENTATION__TEXT:
+ return getText();
+ }
+ 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 ETPhysPackage.DOCUMENTATION__TEXT:
+ getText().clear();
+ getText().addAll((Collection<? extends String>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.DOCUMENTATION__TEXT:
+ getText().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.DOCUMENTATION__TEXT:
+ return text != null && !text.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(" (text: ");
+ result.append(text);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentationImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java
index f6b312562..1ee02b4e3 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java
@@ -1,273 +1,273 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-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;
-
-import org.eclipse.etrice.core.etphys.eTPhys.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ETPhysFactoryImpl extends EFactoryImpl implements ETPhysFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ETPhysFactory init()
- {
- try
- {
- ETPhysFactory theETPhysFactory = (ETPhysFactory)EPackage.Registry.INSTANCE.getEFactory(ETPhysPackage.eNS_URI);
- if (theETPhysFactory != null)
- {
- return theETPhysFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ETPhysFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ETPhysFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case ETPhysPackage.PHYSICAL_MODEL: return createPhysicalModel();
- case ETPhysPackage.PHYSICAL_SYSTEM: return createPhysicalSystem();
- case ETPhysPackage.NODE_REF: return createNodeRef();
- case ETPhysPackage.NODE_CLASS: return createNodeClass();
- case ETPhysPackage.PHYSICAL_THREAD: return createPhysicalThread();
- case ETPhysPackage.RUNTIME_CLASS: return createRuntimeClass();
- case ETPhysPackage.DOCUMENTATION: return createDocumentation();
- case ETPhysPackage.IMPORT: return createImport();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case ETPhysPackage.EXEC_MODE:
- return createExecModeFromString(eDataType, initialValue);
- case ETPhysPackage.THREAD_MODEL:
- return createThreadModelFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case ETPhysPackage.EXEC_MODE:
- return convertExecModeToString(eDataType, instanceValue);
- case ETPhysPackage.THREAD_MODEL:
- return convertThreadModelToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PhysicalModel createPhysicalModel()
- {
- PhysicalModelImpl physicalModel = new PhysicalModelImpl();
- return physicalModel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PhysicalSystem createPhysicalSystem()
- {
- PhysicalSystemImpl physicalSystem = new PhysicalSystemImpl();
- return physicalSystem;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NodeRef createNodeRef()
- {
- NodeRefImpl nodeRef = new NodeRefImpl();
- return nodeRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NodeClass createNodeClass()
- {
- NodeClassImpl nodeClass = new NodeClassImpl();
- return nodeClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PhysicalThread createPhysicalThread()
- {
- PhysicalThreadImpl physicalThread = new PhysicalThreadImpl();
- return physicalThread;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RuntimeClass createRuntimeClass()
- {
- RuntimeClassImpl runtimeClass = new RuntimeClassImpl();
- return runtimeClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Documentation createDocumentation()
- {
- DocumentationImpl documentation = new DocumentationImpl();
- return documentation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Import createImport()
- {
- ImportImpl import_ = new ImportImpl();
- return import_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExecMode createExecModeFromString(EDataType eDataType, String initialValue)
- {
- ExecMode result = ExecMode.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertExecModeToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ThreadModel createThreadModelFromString(EDataType eDataType, String initialValue)
- {
- ThreadModel result = ThreadModel.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertThreadModelToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ETPhysPackage getETPhysPackage()
- {
- return (ETPhysPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ETPhysPackage getPackage()
- {
- return ETPhysPackage.eINSTANCE;
- }
-
-} //ETPhysFactoryImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+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;
+
+import org.eclipse.etrice.core.etphys.eTPhys.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ETPhysFactoryImpl extends EFactoryImpl implements ETPhysFactory
+{
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ETPhysFactory init()
+ {
+ try
+ {
+ ETPhysFactory theETPhysFactory = (ETPhysFactory)EPackage.Registry.INSTANCE.getEFactory(ETPhysPackage.eNS_URI);
+ if (theETPhysFactory != null)
+ {
+ return theETPhysFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new ETPhysFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ETPhysFactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ case ETPhysPackage.PHYSICAL_MODEL: return createPhysicalModel();
+ case ETPhysPackage.PHYSICAL_SYSTEM: return createPhysicalSystem();
+ case ETPhysPackage.NODE_REF: return createNodeRef();
+ case ETPhysPackage.NODE_CLASS: return createNodeClass();
+ case ETPhysPackage.PHYSICAL_THREAD: return createPhysicalThread();
+ case ETPhysPackage.RUNTIME_CLASS: return createRuntimeClass();
+ case ETPhysPackage.DOCUMENTATION: return createDocumentation();
+ case ETPhysPackage.IMPORT: return createImport();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case ETPhysPackage.EXEC_MODE:
+ return createExecModeFromString(eDataType, initialValue);
+ case ETPhysPackage.THREAD_MODEL:
+ return createThreadModelFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case ETPhysPackage.EXEC_MODE:
+ return convertExecModeToString(eDataType, instanceValue);
+ case ETPhysPackage.THREAD_MODEL:
+ return convertThreadModelToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PhysicalModel createPhysicalModel()
+ {
+ PhysicalModelImpl physicalModel = new PhysicalModelImpl();
+ return physicalModel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PhysicalSystem createPhysicalSystem()
+ {
+ PhysicalSystemImpl physicalSystem = new PhysicalSystemImpl();
+ return physicalSystem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NodeRef createNodeRef()
+ {
+ NodeRefImpl nodeRef = new NodeRefImpl();
+ return nodeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NodeClass createNodeClass()
+ {
+ NodeClassImpl nodeClass = new NodeClassImpl();
+ return nodeClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PhysicalThread createPhysicalThread()
+ {
+ PhysicalThreadImpl physicalThread = new PhysicalThreadImpl();
+ return physicalThread;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RuntimeClass createRuntimeClass()
+ {
+ RuntimeClassImpl runtimeClass = new RuntimeClassImpl();
+ return runtimeClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Documentation createDocumentation()
+ {
+ DocumentationImpl documentation = new DocumentationImpl();
+ return documentation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Import createImport()
+ {
+ ImportImpl import_ = new ImportImpl();
+ return import_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExecMode createExecModeFromString(EDataType eDataType, String initialValue)
+ {
+ ExecMode result = ExecMode.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertExecModeToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ThreadModel createThreadModelFromString(EDataType eDataType, String initialValue)
+ {
+ ThreadModel result = ThreadModel.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertThreadModelToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ETPhysPackage getETPhysPackage()
+ {
+ return (ETPhysPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static ETPhysPackage getPackage()
+ {
+ return ETPhysPackage.eINSTANCE;
+ }
+
+} //ETPhysFactoryImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java
index 818c12913..5d29246d0 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java
@@ -1,751 +1,751 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysFactory;
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.ExecMode;
-import org.eclipse.etrice.core.etphys.eTPhys.Import;
-import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
-import org.eclipse.etrice.core.etphys.eTPhys.NodeRef;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
-import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
-import org.eclipse.etrice.core.etphys.eTPhys.ThreadModel;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass physicalModelEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass physicalSystemEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nodeRefEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nodeClassEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass physicalThreadEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass runtimeClassEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass importEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum execModeEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum threadModelEEnum = 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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ETPhysPackageImpl()
- {
- super(eNS_URI, ETPhysFactory.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 ETPhysPackage#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 ETPhysPackage init()
- {
- if (isInited) return (ETPhysPackage)EPackage.Registry.INSTANCE.getEPackage(ETPhysPackage.eNS_URI);
-
- // Obtain or create and register package
- ETPhysPackageImpl theETPhysPackage = (ETPhysPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ETPhysPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ETPhysPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theETPhysPackage.createPackageContents();
-
- // Initialize created meta-data
- theETPhysPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theETPhysPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ETPhysPackage.eNS_URI, theETPhysPackage);
- return theETPhysPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPhysicalModel()
- {
- return physicalModelEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalModel_Name()
- {
- return (EAttribute)physicalModelEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPhysicalModel_Imports()
- {
- return (EReference)physicalModelEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPhysicalModel_Systems()
- {
- return (EReference)physicalModelEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPhysicalModel_NodeClasses()
- {
- return (EReference)physicalModelEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPhysicalModel_RuntimeClasses()
- {
- return (EReference)physicalModelEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPhysicalSystem()
- {
- return physicalSystemEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalSystem_Name()
- {
- return (EAttribute)physicalSystemEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPhysicalSystem_Docu()
- {
- return (EReference)physicalSystemEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPhysicalSystem_NodeRefs()
- {
- return (EReference)physicalSystemEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNodeRef()
- {
- return nodeRefEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNodeRef_Name()
- {
- return (EAttribute)nodeRefEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNodeRef_Type()
- {
- return (EReference)nodeRefEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNodeRef_Docu()
- {
- return (EReference)nodeRefEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNodeClass()
- {
- return nodeClassEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNodeClass_Name()
- {
- return (EAttribute)nodeClassEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNodeClass_Docu()
- {
- return (EReference)nodeClassEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNodeClass_Runtime()
- {
- return (EReference)nodeClassEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNodeClass_Priomin()
- {
- return (EAttribute)nodeClassEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNodeClass_Priomax()
- {
- return (EAttribute)nodeClassEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNodeClass_Threads()
- {
- return (EReference)nodeClassEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPhysicalThread()
- {
- return physicalThreadEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Default()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Name()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Execmode()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Time()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Prio()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Stacksize()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Msgblocksize()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPhysicalThread_Msgpoolsize()
- {
- return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRuntimeClass()
- {
- return runtimeClassEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRuntimeClass_Name()
- {
- return (EAttribute)runtimeClassEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRuntimeClass_Docu()
- {
- return (EReference)runtimeClassEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRuntimeClass_ThreadModel()
- {
- return (EAttribute)runtimeClassEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentation()
- {
- return documentationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentation_Text()
- {
- return (EAttribute)documentationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getImport()
- {
- return importEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getImport_ImportedNamespace()
- {
- return (EAttribute)importEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getImport_ImportURI()
- {
- return (EAttribute)importEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getExecMode()
- {
- return execModeEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getThreadModel()
- {
- return threadModelEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ETPhysFactory getETPhysFactory()
- {
- return (ETPhysFactory)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
- physicalModelEClass = createEClass(PHYSICAL_MODEL);
- createEAttribute(physicalModelEClass, PHYSICAL_MODEL__NAME);
- createEReference(physicalModelEClass, PHYSICAL_MODEL__IMPORTS);
- createEReference(physicalModelEClass, PHYSICAL_MODEL__SYSTEMS);
- createEReference(physicalModelEClass, PHYSICAL_MODEL__NODE_CLASSES);
- createEReference(physicalModelEClass, PHYSICAL_MODEL__RUNTIME_CLASSES);
-
- physicalSystemEClass = createEClass(PHYSICAL_SYSTEM);
- createEAttribute(physicalSystemEClass, PHYSICAL_SYSTEM__NAME);
- createEReference(physicalSystemEClass, PHYSICAL_SYSTEM__DOCU);
- createEReference(physicalSystemEClass, PHYSICAL_SYSTEM__NODE_REFS);
-
- nodeRefEClass = createEClass(NODE_REF);
- createEAttribute(nodeRefEClass, NODE_REF__NAME);
- createEReference(nodeRefEClass, NODE_REF__TYPE);
- createEReference(nodeRefEClass, NODE_REF__DOCU);
-
- nodeClassEClass = createEClass(NODE_CLASS);
- createEAttribute(nodeClassEClass, NODE_CLASS__NAME);
- createEReference(nodeClassEClass, NODE_CLASS__DOCU);
- createEReference(nodeClassEClass, NODE_CLASS__RUNTIME);
- createEAttribute(nodeClassEClass, NODE_CLASS__PRIOMIN);
- createEAttribute(nodeClassEClass, NODE_CLASS__PRIOMAX);
- createEReference(nodeClassEClass, NODE_CLASS__THREADS);
-
- physicalThreadEClass = createEClass(PHYSICAL_THREAD);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__DEFAULT);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__NAME);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__EXECMODE);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__TIME);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__PRIO);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__STACKSIZE);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__MSGBLOCKSIZE);
- createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__MSGPOOLSIZE);
-
- runtimeClassEClass = createEClass(RUNTIME_CLASS);
- createEAttribute(runtimeClassEClass, RUNTIME_CLASS__NAME);
- createEReference(runtimeClassEClass, RUNTIME_CLASS__DOCU);
- createEAttribute(runtimeClassEClass, RUNTIME_CLASS__THREAD_MODEL);
-
- documentationEClass = createEClass(DOCUMENTATION);
- createEAttribute(documentationEClass, DOCUMENTATION__TEXT);
-
- importEClass = createEClass(IMPORT);
- createEAttribute(importEClass, IMPORT__IMPORTED_NAMESPACE);
- createEAttribute(importEClass, IMPORT__IMPORT_URI);
-
- // Create enums
- execModeEEnum = createEEnum(EXEC_MODE);
- threadModelEEnum = createEEnum(THREAD_MODEL);
- }
-
- /**
- * <!-- 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 and features; add operations and parameters
- initEClass(physicalModelEClass, PhysicalModel.class, "PhysicalModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPhysicalModel_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPhysicalModel_Imports(), this.getImport(), null, "imports", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPhysicalModel_Systems(), this.getPhysicalSystem(), null, "systems", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPhysicalModel_NodeClasses(), this.getNodeClass(), null, "nodeClasses", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPhysicalModel_RuntimeClasses(), this.getRuntimeClass(), null, "runtimeClasses", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(physicalSystemEClass, PhysicalSystem.class, "PhysicalSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPhysicalSystem_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPhysicalSystem_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPhysicalSystem_NodeRefs(), this.getNodeRef(), null, "nodeRefs", null, 0, -1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(nodeRefEClass, NodeRef.class, "NodeRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNodeRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNodeRef_Type(), this.getNodeClass(), null, "type", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNodeRef_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(nodeClassEClass, NodeClass.class, "NodeClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNodeClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNodeClass_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNodeClass_Runtime(), this.getRuntimeClass(), null, "runtime", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNodeClass_Priomin(), ecorePackage.getEInt(), "priomin", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNodeClass_Priomax(), ecorePackage.getEInt(), "priomax", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNodeClass_Threads(), this.getPhysicalThread(), null, "threads", null, 0, -1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(physicalThreadEClass, PhysicalThread.class, "PhysicalThread", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPhysicalThread_Default(), ecorePackage.getEBoolean(), "default", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPhysicalThread_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPhysicalThread_Execmode(), this.getExecMode(), "execmode", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPhysicalThread_Time(), ecorePackage.getEInt(), "time", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPhysicalThread_Prio(), ecorePackage.getEInt(), "prio", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPhysicalThread_Stacksize(), ecorePackage.getEInt(), "stacksize", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPhysicalThread_Msgblocksize(), ecorePackage.getEInt(), "msgblocksize", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPhysicalThread_Msgpoolsize(), ecorePackage.getEInt(), "msgpoolsize", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(runtimeClassEClass, RuntimeClass.class, "RuntimeClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRuntimeClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getRuntimeClass_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRuntimeClass_ThreadModel(), this.getThreadModel(), "threadModel", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(documentationEClass, Documentation.class, "Documentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentation_Text(), ecorePackage.getEString(), "text", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getImport_ImportedNamespace(), ecorePackage.getEString(), "importedNamespace", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(execModeEEnum, ExecMode.class, "ExecMode");
- addEEnumLiteral(execModeEEnum, ExecMode.POLLED);
- addEEnumLiteral(execModeEEnum, ExecMode.BLOCKED);
- addEEnumLiteral(execModeEEnum, ExecMode.MIXED);
-
- initEEnum(threadModelEEnum, ThreadModel.class, "ThreadModel");
- addEEnumLiteral(threadModelEEnum, ThreadModel.SINGLE_THREADED);
- addEEnumLiteral(threadModelEEnum, ThreadModel.MULTI_THREADED);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //ETPhysPackageImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysFactory;
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.ExecMode;
+import org.eclipse.etrice.core.etphys.eTPhys.Import;
+import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
+import org.eclipse.etrice.core.etphys.eTPhys.NodeRef;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
+import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
+import org.eclipse.etrice.core.etphys.eTPhys.ThreadModel;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass physicalModelEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass physicalSystemEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass nodeRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass nodeClassEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass physicalThreadEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass runtimeClassEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass importEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum execModeEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum threadModelEEnum = 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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private ETPhysPackageImpl()
+ {
+ super(eNS_URI, ETPhysFactory.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 ETPhysPackage#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 ETPhysPackage init()
+ {
+ if (isInited) return (ETPhysPackage)EPackage.Registry.INSTANCE.getEPackage(ETPhysPackage.eNS_URI);
+
+ // Obtain or create and register package
+ ETPhysPackageImpl theETPhysPackage = (ETPhysPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ETPhysPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ETPhysPackageImpl());
+
+ isInited = true;
+
+ // Create package meta-data objects
+ theETPhysPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theETPhysPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theETPhysPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(ETPhysPackage.eNS_URI, theETPhysPackage);
+ return theETPhysPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPhysicalModel()
+ {
+ return physicalModelEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalModel_Name()
+ {
+ return (EAttribute)physicalModelEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPhysicalModel_Imports()
+ {
+ return (EReference)physicalModelEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPhysicalModel_Systems()
+ {
+ return (EReference)physicalModelEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPhysicalModel_NodeClasses()
+ {
+ return (EReference)physicalModelEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPhysicalModel_RuntimeClasses()
+ {
+ return (EReference)physicalModelEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPhysicalSystem()
+ {
+ return physicalSystemEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalSystem_Name()
+ {
+ return (EAttribute)physicalSystemEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPhysicalSystem_Docu()
+ {
+ return (EReference)physicalSystemEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPhysicalSystem_NodeRefs()
+ {
+ return (EReference)physicalSystemEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNodeRef()
+ {
+ return nodeRefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNodeRef_Name()
+ {
+ return (EAttribute)nodeRefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getNodeRef_Type()
+ {
+ return (EReference)nodeRefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getNodeRef_Docu()
+ {
+ return (EReference)nodeRefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNodeClass()
+ {
+ return nodeClassEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNodeClass_Name()
+ {
+ return (EAttribute)nodeClassEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getNodeClass_Docu()
+ {
+ return (EReference)nodeClassEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getNodeClass_Runtime()
+ {
+ return (EReference)nodeClassEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNodeClass_Priomin()
+ {
+ return (EAttribute)nodeClassEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNodeClass_Priomax()
+ {
+ return (EAttribute)nodeClassEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getNodeClass_Threads()
+ {
+ return (EReference)nodeClassEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPhysicalThread()
+ {
+ return physicalThreadEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Default()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Name()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Execmode()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Time()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Prio()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Stacksize()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Msgblocksize()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPhysicalThread_Msgpoolsize()
+ {
+ return (EAttribute)physicalThreadEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRuntimeClass()
+ {
+ return runtimeClassEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRuntimeClass_Name()
+ {
+ return (EAttribute)runtimeClassEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRuntimeClass_Docu()
+ {
+ return (EReference)runtimeClassEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRuntimeClass_ThreadModel()
+ {
+ return (EAttribute)runtimeClassEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentation()
+ {
+ return documentationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentation_Text()
+ {
+ return (EAttribute)documentationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getImport()
+ {
+ return importEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getImport_ImportedNamespace()
+ {
+ return (EAttribute)importEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getImport_ImportURI()
+ {
+ return (EAttribute)importEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getExecMode()
+ {
+ return execModeEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getThreadModel()
+ {
+ return threadModelEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ETPhysFactory getETPhysFactory()
+ {
+ return (ETPhysFactory)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
+ physicalModelEClass = createEClass(PHYSICAL_MODEL);
+ createEAttribute(physicalModelEClass, PHYSICAL_MODEL__NAME);
+ createEReference(physicalModelEClass, PHYSICAL_MODEL__IMPORTS);
+ createEReference(physicalModelEClass, PHYSICAL_MODEL__SYSTEMS);
+ createEReference(physicalModelEClass, PHYSICAL_MODEL__NODE_CLASSES);
+ createEReference(physicalModelEClass, PHYSICAL_MODEL__RUNTIME_CLASSES);
+
+ physicalSystemEClass = createEClass(PHYSICAL_SYSTEM);
+ createEAttribute(physicalSystemEClass, PHYSICAL_SYSTEM__NAME);
+ createEReference(physicalSystemEClass, PHYSICAL_SYSTEM__DOCU);
+ createEReference(physicalSystemEClass, PHYSICAL_SYSTEM__NODE_REFS);
+
+ nodeRefEClass = createEClass(NODE_REF);
+ createEAttribute(nodeRefEClass, NODE_REF__NAME);
+ createEReference(nodeRefEClass, NODE_REF__TYPE);
+ createEReference(nodeRefEClass, NODE_REF__DOCU);
+
+ nodeClassEClass = createEClass(NODE_CLASS);
+ createEAttribute(nodeClassEClass, NODE_CLASS__NAME);
+ createEReference(nodeClassEClass, NODE_CLASS__DOCU);
+ createEReference(nodeClassEClass, NODE_CLASS__RUNTIME);
+ createEAttribute(nodeClassEClass, NODE_CLASS__PRIOMIN);
+ createEAttribute(nodeClassEClass, NODE_CLASS__PRIOMAX);
+ createEReference(nodeClassEClass, NODE_CLASS__THREADS);
+
+ physicalThreadEClass = createEClass(PHYSICAL_THREAD);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__DEFAULT);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__NAME);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__EXECMODE);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__TIME);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__PRIO);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__STACKSIZE);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__MSGBLOCKSIZE);
+ createEAttribute(physicalThreadEClass, PHYSICAL_THREAD__MSGPOOLSIZE);
+
+ runtimeClassEClass = createEClass(RUNTIME_CLASS);
+ createEAttribute(runtimeClassEClass, RUNTIME_CLASS__NAME);
+ createEReference(runtimeClassEClass, RUNTIME_CLASS__DOCU);
+ createEAttribute(runtimeClassEClass, RUNTIME_CLASS__THREAD_MODEL);
+
+ documentationEClass = createEClass(DOCUMENTATION);
+ createEAttribute(documentationEClass, DOCUMENTATION__TEXT);
+
+ importEClass = createEClass(IMPORT);
+ createEAttribute(importEClass, IMPORT__IMPORTED_NAMESPACE);
+ createEAttribute(importEClass, IMPORT__IMPORT_URI);
+
+ // Create enums
+ execModeEEnum = createEEnum(EXEC_MODE);
+ threadModelEEnum = createEEnum(THREAD_MODEL);
+ }
+
+ /**
+ * <!-- 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 and features; add operations and parameters
+ initEClass(physicalModelEClass, PhysicalModel.class, "PhysicalModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPhysicalModel_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPhysicalModel_Imports(), this.getImport(), null, "imports", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPhysicalModel_Systems(), this.getPhysicalSystem(), null, "systems", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPhysicalModel_NodeClasses(), this.getNodeClass(), null, "nodeClasses", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPhysicalModel_RuntimeClasses(), this.getRuntimeClass(), null, "runtimeClasses", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(physicalSystemEClass, PhysicalSystem.class, "PhysicalSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPhysicalSystem_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPhysicalSystem_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPhysicalSystem_NodeRefs(), this.getNodeRef(), null, "nodeRefs", null, 0, -1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(nodeRefEClass, NodeRef.class, "NodeRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNodeRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getNodeRef_Type(), this.getNodeClass(), null, "type", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getNodeRef_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(nodeClassEClass, NodeClass.class, "NodeClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNodeClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getNodeClass_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getNodeClass_Runtime(), this.getRuntimeClass(), null, "runtime", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNodeClass_Priomin(), ecorePackage.getEInt(), "priomin", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNodeClass_Priomax(), ecorePackage.getEInt(), "priomax", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getNodeClass_Threads(), this.getPhysicalThread(), null, "threads", null, 0, -1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(physicalThreadEClass, PhysicalThread.class, "PhysicalThread", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPhysicalThread_Default(), ecorePackage.getEBoolean(), "default", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPhysicalThread_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPhysicalThread_Execmode(), this.getExecMode(), "execmode", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPhysicalThread_Time(), ecorePackage.getEInt(), "time", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPhysicalThread_Prio(), ecorePackage.getEInt(), "prio", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPhysicalThread_Stacksize(), ecorePackage.getEInt(), "stacksize", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPhysicalThread_Msgblocksize(), ecorePackage.getEInt(), "msgblocksize", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPhysicalThread_Msgpoolsize(), ecorePackage.getEInt(), "msgpoolsize", null, 0, 1, PhysicalThread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(runtimeClassEClass, RuntimeClass.class, "RuntimeClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getRuntimeClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getRuntimeClass_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRuntimeClass_ThreadModel(), this.getThreadModel(), "threadModel", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(documentationEClass, Documentation.class, "Documentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentation_Text(), ecorePackage.getEString(), "text", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getImport_ImportedNamespace(), ecorePackage.getEString(), "importedNamespace", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(execModeEEnum, ExecMode.class, "ExecMode");
+ addEEnumLiteral(execModeEEnum, ExecMode.POLLED);
+ addEEnumLiteral(execModeEEnum, ExecMode.BLOCKED);
+ addEEnumLiteral(execModeEEnum, ExecMode.MIXED);
+
+ initEEnum(threadModelEEnum, ThreadModel.class, "ThreadModel");
+ addEEnumLiteral(threadModelEEnum, ThreadModel.SINGLE_THREADED);
+ addEEnumLiteral(threadModelEEnum, ThreadModel.MULTI_THREADED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //ETPhysPackageImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java
index 9a3df8acb..007235343 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java
@@ -1,233 +1,233 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.Import;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Import</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl#getImportedNamespace <em>Imported Namespace</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl#getImportURI <em>Import URI</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ImportImpl extends MinimalEObjectImpl.Container implements Import
-{
- /**
- * The default value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImportedNamespace()
- * @generated
- * @ordered
- */
- protected static final String IMPORTED_NAMESPACE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImportedNamespace()
- * @generated
- * @ordered
- */
- protected String importedNamespace = IMPORTED_NAMESPACE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getImportURI() <em>Import URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImportURI()
- * @generated
- * @ordered
- */
- protected static final String IMPORT_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getImportURI() <em>Import URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImportURI()
- * @generated
- * @ordered
- */
- protected String importURI = IMPORT_URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ImportImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.IMPORT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getImportedNamespace()
- {
- return importedNamespace;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setImportedNamespace(String newImportedNamespace)
- {
- String oldImportedNamespace = importedNamespace;
- importedNamespace = newImportedNamespace;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.IMPORT__IMPORTED_NAMESPACE, oldImportedNamespace, importedNamespace));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getImportURI()
- {
- return importURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setImportURI(String newImportURI)
- {
- String oldImportURI = importURI;
- importURI = newImportURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.IMPORT__IMPORT_URI, oldImportURI, importURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
- return getImportedNamespace();
- case ETPhysPackage.IMPORT__IMPORT_URI:
- return getImportURI();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
- setImportedNamespace((String)newValue);
- return;
- case ETPhysPackage.IMPORT__IMPORT_URI:
- setImportURI((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
- setImportedNamespace(IMPORTED_NAMESPACE_EDEFAULT);
- return;
- case ETPhysPackage.IMPORT__IMPORT_URI:
- setImportURI(IMPORT_URI_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
- return IMPORTED_NAMESPACE_EDEFAULT == null ? importedNamespace != null : !IMPORTED_NAMESPACE_EDEFAULT.equals(importedNamespace);
- case ETPhysPackage.IMPORT__IMPORT_URI:
- return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI);
- }
- 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(" (importedNamespace: ");
- result.append(importedNamespace);
- result.append(", importURI: ");
- result.append(importURI);
- result.append(')');
- return result.toString();
- }
-
-} //ImportImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.Import;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Import</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl#getImportedNamespace <em>Imported Namespace</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl#getImportURI <em>Import URI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ImportImpl extends MinimalEObjectImpl.Container implements Import
+{
+ /**
+ * The default value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImportedNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPORTED_NAMESPACE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImportedNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String importedNamespace = IMPORTED_NAMESPACE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getImportURI() <em>Import URI</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImportURI()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMPORT_URI_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImportURI() <em>Import URI</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImportURI()
+ * @generated
+ * @ordered
+ */
+ protected String importURI = IMPORT_URI_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ImportImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.IMPORT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImportedNamespace()
+ {
+ return importedNamespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImportedNamespace(String newImportedNamespace)
+ {
+ String oldImportedNamespace = importedNamespace;
+ importedNamespace = newImportedNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.IMPORT__IMPORTED_NAMESPACE, oldImportedNamespace, importedNamespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImportURI()
+ {
+ return importURI;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImportURI(String newImportURI)
+ {
+ String oldImportURI = importURI;
+ importURI = newImportURI;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.IMPORT__IMPORT_URI, oldImportURI, importURI));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
+ return getImportedNamespace();
+ case ETPhysPackage.IMPORT__IMPORT_URI:
+ return getImportURI();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
+ setImportedNamespace((String)newValue);
+ return;
+ case ETPhysPackage.IMPORT__IMPORT_URI:
+ setImportURI((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
+ setImportedNamespace(IMPORTED_NAMESPACE_EDEFAULT);
+ return;
+ case ETPhysPackage.IMPORT__IMPORT_URI:
+ setImportURI(IMPORT_URI_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE:
+ return IMPORTED_NAMESPACE_EDEFAULT == null ? importedNamespace != null : !IMPORTED_NAMESPACE_EDEFAULT.equals(importedNamespace);
+ case ETPhysPackage.IMPORT__IMPORT_URI:
+ return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI);
+ }
+ 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(" (importedNamespace: ");
+ result.append(importedNamespace);
+ result.append(", importURI: ");
+ result.append(importURI);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ImportImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java
index 44bc0ac66..6181e7ae2 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java
@@ -1,490 +1,490 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-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.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
-import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Node Class</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getDocu <em>Docu</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getRuntime <em>Runtime</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getPriomin <em>Priomin</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getPriomax <em>Priomax</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getThreads <em>Threads</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NodeClassImpl extends MinimalEObjectImpl.Container implements NodeClass
-{
- /**
- * 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 #getDocu() <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDocu()
- * @generated
- * @ordered
- */
- protected Documentation docu;
-
- /**
- * The cached value of the '{@link #getRuntime() <em>Runtime</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRuntime()
- * @generated
- * @ordered
- */
- protected RuntimeClass runtime;
-
- /**
- * The default value of the '{@link #getPriomin() <em>Priomin</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPriomin()
- * @generated
- * @ordered
- */
- protected static final int PRIOMIN_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getPriomin() <em>Priomin</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPriomin()
- * @generated
- * @ordered
- */
- protected int priomin = PRIOMIN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPriomax() <em>Priomax</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPriomax()
- * @generated
- * @ordered
- */
- protected static final int PRIOMAX_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getPriomax() <em>Priomax</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPriomax()
- * @generated
- * @ordered
- */
- protected int priomax = PRIOMAX_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getThreads() <em>Threads</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getThreads()
- * @generated
- * @ordered
- */
- protected EList<PhysicalThread> threads;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NodeClassImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.NODE_CLASS;
- }
-
- /**
- * <!-- 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, ETPhysPackage.NODE_CLASS__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Documentation getDocu()
- {
- return docu;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
- {
- Documentation oldDocu = docu;
- docu = newDocu;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__DOCU, oldDocu, newDocu);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDocu(Documentation newDocu)
- {
- if (newDocu != docu)
- {
- NotificationChain msgs = null;
- if (docu != null)
- msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_CLASS__DOCU, null, msgs);
- if (newDocu != null)
- msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_CLASS__DOCU, null, msgs);
- msgs = basicSetDocu(newDocu, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__DOCU, newDocu, newDocu));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RuntimeClass getRuntime()
- {
- if (runtime != null && runtime.eIsProxy())
- {
- InternalEObject oldRuntime = (InternalEObject)runtime;
- runtime = (RuntimeClass)eResolveProxy(oldRuntime);
- if (runtime != oldRuntime)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ETPhysPackage.NODE_CLASS__RUNTIME, oldRuntime, runtime));
- }
- }
- return runtime;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RuntimeClass basicGetRuntime()
- {
- return runtime;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRuntime(RuntimeClass newRuntime)
- {
- RuntimeClass oldRuntime = runtime;
- runtime = newRuntime;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__RUNTIME, oldRuntime, runtime));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getPriomin()
- {
- return priomin;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPriomin(int newPriomin)
- {
- int oldPriomin = priomin;
- priomin = newPriomin;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__PRIOMIN, oldPriomin, priomin));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getPriomax()
- {
- return priomax;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPriomax(int newPriomax)
- {
- int oldPriomax = priomax;
- priomax = newPriomax;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__PRIOMAX, oldPriomax, priomax));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<PhysicalThread> getThreads()
- {
- if (threads == null)
- {
- threads = new EObjectContainmentEList<PhysicalThread>(PhysicalThread.class, this, ETPhysPackage.NODE_CLASS__THREADS);
- }
- return threads;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ETPhysPackage.NODE_CLASS__DOCU:
- return basicSetDocu(null, msgs);
- case ETPhysPackage.NODE_CLASS__THREADS:
- return ((InternalEList<?>)getThreads()).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 ETPhysPackage.NODE_CLASS__NAME:
- return getName();
- case ETPhysPackage.NODE_CLASS__DOCU:
- return getDocu();
- case ETPhysPackage.NODE_CLASS__RUNTIME:
- if (resolve) return getRuntime();
- return basicGetRuntime();
- case ETPhysPackage.NODE_CLASS__PRIOMIN:
- return getPriomin();
- case ETPhysPackage.NODE_CLASS__PRIOMAX:
- return getPriomax();
- case ETPhysPackage.NODE_CLASS__THREADS:
- return getThreads();
- }
- 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 ETPhysPackage.NODE_CLASS__NAME:
- setName((String)newValue);
- return;
- case ETPhysPackage.NODE_CLASS__DOCU:
- setDocu((Documentation)newValue);
- return;
- case ETPhysPackage.NODE_CLASS__RUNTIME:
- setRuntime((RuntimeClass)newValue);
- return;
- case ETPhysPackage.NODE_CLASS__PRIOMIN:
- setPriomin((Integer)newValue);
- return;
- case ETPhysPackage.NODE_CLASS__PRIOMAX:
- setPriomax((Integer)newValue);
- return;
- case ETPhysPackage.NODE_CLASS__THREADS:
- getThreads().clear();
- getThreads().addAll((Collection<? extends PhysicalThread>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.NODE_CLASS__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ETPhysPackage.NODE_CLASS__DOCU:
- setDocu((Documentation)null);
- return;
- case ETPhysPackage.NODE_CLASS__RUNTIME:
- setRuntime((RuntimeClass)null);
- return;
- case ETPhysPackage.NODE_CLASS__PRIOMIN:
- setPriomin(PRIOMIN_EDEFAULT);
- return;
- case ETPhysPackage.NODE_CLASS__PRIOMAX:
- setPriomax(PRIOMAX_EDEFAULT);
- return;
- case ETPhysPackage.NODE_CLASS__THREADS:
- getThreads().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.NODE_CLASS__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ETPhysPackage.NODE_CLASS__DOCU:
- return docu != null;
- case ETPhysPackage.NODE_CLASS__RUNTIME:
- return runtime != null;
- case ETPhysPackage.NODE_CLASS__PRIOMIN:
- return priomin != PRIOMIN_EDEFAULT;
- case ETPhysPackage.NODE_CLASS__PRIOMAX:
- return priomax != PRIOMAX_EDEFAULT;
- case ETPhysPackage.NODE_CLASS__THREADS:
- return threads != null && !threads.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(" (name: ");
- result.append(name);
- result.append(", priomin: ");
- result.append(priomin);
- result.append(", priomax: ");
- result.append(priomax);
- result.append(')');
- return result.toString();
- }
-
-} //NodeClassImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+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.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
+import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Node Class</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getDocu <em>Docu</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getRuntime <em>Runtime</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getPriomin <em>Priomin</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getPriomax <em>Priomax</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getThreads <em>Threads</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class NodeClassImpl extends MinimalEObjectImpl.Container implements NodeClass
+{
+ /**
+ * 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 #getDocu() <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDocu()
+ * @generated
+ * @ordered
+ */
+ protected Documentation docu;
+
+ /**
+ * The cached value of the '{@link #getRuntime() <em>Runtime</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRuntime()
+ * @generated
+ * @ordered
+ */
+ protected RuntimeClass runtime;
+
+ /**
+ * The default value of the '{@link #getPriomin() <em>Priomin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPriomin()
+ * @generated
+ * @ordered
+ */
+ protected static final int PRIOMIN_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPriomin() <em>Priomin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPriomin()
+ * @generated
+ * @ordered
+ */
+ protected int priomin = PRIOMIN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPriomax() <em>Priomax</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPriomax()
+ * @generated
+ * @ordered
+ */
+ protected static final int PRIOMAX_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPriomax() <em>Priomax</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPriomax()
+ * @generated
+ * @ordered
+ */
+ protected int priomax = PRIOMAX_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getThreads() <em>Threads</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getThreads()
+ * @generated
+ * @ordered
+ */
+ protected EList<PhysicalThread> threads;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NodeClassImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.NODE_CLASS;
+ }
+
+ /**
+ * <!-- 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, ETPhysPackage.NODE_CLASS__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Documentation getDocu()
+ {
+ return docu;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
+ {
+ Documentation oldDocu = docu;
+ docu = newDocu;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__DOCU, oldDocu, newDocu);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDocu(Documentation newDocu)
+ {
+ if (newDocu != docu)
+ {
+ NotificationChain msgs = null;
+ if (docu != null)
+ msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_CLASS__DOCU, null, msgs);
+ if (newDocu != null)
+ msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_CLASS__DOCU, null, msgs);
+ msgs = basicSetDocu(newDocu, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__DOCU, newDocu, newDocu));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RuntimeClass getRuntime()
+ {
+ if (runtime != null && runtime.eIsProxy())
+ {
+ InternalEObject oldRuntime = (InternalEObject)runtime;
+ runtime = (RuntimeClass)eResolveProxy(oldRuntime);
+ if (runtime != oldRuntime)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ETPhysPackage.NODE_CLASS__RUNTIME, oldRuntime, runtime));
+ }
+ }
+ return runtime;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RuntimeClass basicGetRuntime()
+ {
+ return runtime;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRuntime(RuntimeClass newRuntime)
+ {
+ RuntimeClass oldRuntime = runtime;
+ runtime = newRuntime;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__RUNTIME, oldRuntime, runtime));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPriomin()
+ {
+ return priomin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPriomin(int newPriomin)
+ {
+ int oldPriomin = priomin;
+ priomin = newPriomin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__PRIOMIN, oldPriomin, priomin));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPriomax()
+ {
+ return priomax;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPriomax(int newPriomax)
+ {
+ int oldPriomax = priomax;
+ priomax = newPriomax;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_CLASS__PRIOMAX, oldPriomax, priomax));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<PhysicalThread> getThreads()
+ {
+ if (threads == null)
+ {
+ threads = new EObjectContainmentEList<PhysicalThread>(PhysicalThread.class, this, ETPhysPackage.NODE_CLASS__THREADS);
+ }
+ return threads;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.NODE_CLASS__DOCU:
+ return basicSetDocu(null, msgs);
+ case ETPhysPackage.NODE_CLASS__THREADS:
+ return ((InternalEList<?>)getThreads()).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 ETPhysPackage.NODE_CLASS__NAME:
+ return getName();
+ case ETPhysPackage.NODE_CLASS__DOCU:
+ return getDocu();
+ case ETPhysPackage.NODE_CLASS__RUNTIME:
+ if (resolve) return getRuntime();
+ return basicGetRuntime();
+ case ETPhysPackage.NODE_CLASS__PRIOMIN:
+ return getPriomin();
+ case ETPhysPackage.NODE_CLASS__PRIOMAX:
+ return getPriomax();
+ case ETPhysPackage.NODE_CLASS__THREADS:
+ return getThreads();
+ }
+ 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 ETPhysPackage.NODE_CLASS__NAME:
+ setName((String)newValue);
+ return;
+ case ETPhysPackage.NODE_CLASS__DOCU:
+ setDocu((Documentation)newValue);
+ return;
+ case ETPhysPackage.NODE_CLASS__RUNTIME:
+ setRuntime((RuntimeClass)newValue);
+ return;
+ case ETPhysPackage.NODE_CLASS__PRIOMIN:
+ setPriomin((Integer)newValue);
+ return;
+ case ETPhysPackage.NODE_CLASS__PRIOMAX:
+ setPriomax((Integer)newValue);
+ return;
+ case ETPhysPackage.NODE_CLASS__THREADS:
+ getThreads().clear();
+ getThreads().addAll((Collection<? extends PhysicalThread>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.NODE_CLASS__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ETPhysPackage.NODE_CLASS__DOCU:
+ setDocu((Documentation)null);
+ return;
+ case ETPhysPackage.NODE_CLASS__RUNTIME:
+ setRuntime((RuntimeClass)null);
+ return;
+ case ETPhysPackage.NODE_CLASS__PRIOMIN:
+ setPriomin(PRIOMIN_EDEFAULT);
+ return;
+ case ETPhysPackage.NODE_CLASS__PRIOMAX:
+ setPriomax(PRIOMAX_EDEFAULT);
+ return;
+ case ETPhysPackage.NODE_CLASS__THREADS:
+ getThreads().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.NODE_CLASS__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ETPhysPackage.NODE_CLASS__DOCU:
+ return docu != null;
+ case ETPhysPackage.NODE_CLASS__RUNTIME:
+ return runtime != null;
+ case ETPhysPackage.NODE_CLASS__PRIOMIN:
+ return priomin != PRIOMIN_EDEFAULT;
+ case ETPhysPackage.NODE_CLASS__PRIOMAX:
+ return priomax != PRIOMAX_EDEFAULT;
+ case ETPhysPackage.NODE_CLASS__THREADS:
+ return threads != null && !threads.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(" (name: ");
+ result.append(name);
+ result.append(", priomin: ");
+ result.append(priomin);
+ result.append(", priomax: ");
+ result.append(priomax);
+ result.append(')');
+ return result.toString();
+ }
+
+} //NodeClassImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java
index 01cc279d7..a79601f99 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java
@@ -1,331 +1,331 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-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.etrice.core.etphys.eTPhys.Documentation;
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
-import org.eclipse.etrice.core.etphys.eTPhys.NodeRef;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Node Ref</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getDocu <em>Docu</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NodeRefImpl extends MinimalEObjectImpl.Container implements NodeRef
-{
- /**
- * 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 #getType() <em>Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected NodeClass type;
-
- /**
- * The cached value of the '{@link #getDocu() <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDocu()
- * @generated
- * @ordered
- */
- protected Documentation docu;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NodeRefImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.NODE_REF;
- }
-
- /**
- * <!-- 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, ETPhysPackage.NODE_REF__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NodeClass getType()
- {
- if (type != null && type.eIsProxy())
- {
- InternalEObject oldType = (InternalEObject)type;
- type = (NodeClass)eResolveProxy(oldType);
- if (type != oldType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ETPhysPackage.NODE_REF__TYPE, oldType, type));
- }
- }
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NodeClass basicGetType()
- {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(NodeClass newType)
- {
- NodeClass oldType = type;
- type = newType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_REF__TYPE, oldType, type));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Documentation getDocu()
- {
- return docu;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
- {
- Documentation oldDocu = docu;
- docu = newDocu;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_REF__DOCU, oldDocu, newDocu);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDocu(Documentation newDocu)
- {
- if (newDocu != docu)
- {
- NotificationChain msgs = null;
- if (docu != null)
- msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_REF__DOCU, null, msgs);
- if (newDocu != null)
- msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_REF__DOCU, null, msgs);
- msgs = basicSetDocu(newDocu, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_REF__DOCU, newDocu, newDocu));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ETPhysPackage.NODE_REF__DOCU:
- return basicSetDocu(null, 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 ETPhysPackage.NODE_REF__NAME:
- return getName();
- case ETPhysPackage.NODE_REF__TYPE:
- if (resolve) return getType();
- return basicGetType();
- case ETPhysPackage.NODE_REF__DOCU:
- return getDocu();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ETPhysPackage.NODE_REF__NAME:
- setName((String)newValue);
- return;
- case ETPhysPackage.NODE_REF__TYPE:
- setType((NodeClass)newValue);
- return;
- case ETPhysPackage.NODE_REF__DOCU:
- setDocu((Documentation)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.NODE_REF__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ETPhysPackage.NODE_REF__TYPE:
- setType((NodeClass)null);
- return;
- case ETPhysPackage.NODE_REF__DOCU:
- setDocu((Documentation)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.NODE_REF__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ETPhysPackage.NODE_REF__TYPE:
- return type != null;
- case ETPhysPackage.NODE_REF__DOCU:
- return docu != 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(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //NodeRefImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+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.etrice.core.etphys.eTPhys.Documentation;
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
+import org.eclipse.etrice.core.etphys.eTPhys.NodeRef;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Node Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getDocu <em>Docu</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class NodeRefImpl extends MinimalEObjectImpl.Container implements NodeRef
+{
+ /**
+ * 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 #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected NodeClass type;
+
+ /**
+ * The cached value of the '{@link #getDocu() <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDocu()
+ * @generated
+ * @ordered
+ */
+ protected Documentation docu;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NodeRefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.NODE_REF;
+ }
+
+ /**
+ * <!-- 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, ETPhysPackage.NODE_REF__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NodeClass getType()
+ {
+ if (type != null && type.eIsProxy())
+ {
+ InternalEObject oldType = (InternalEObject)type;
+ type = (NodeClass)eResolveProxy(oldType);
+ if (type != oldType)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ETPhysPackage.NODE_REF__TYPE, oldType, type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NodeClass basicGetType()
+ {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(NodeClass newType)
+ {
+ NodeClass oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_REF__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Documentation getDocu()
+ {
+ return docu;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
+ {
+ Documentation oldDocu = docu;
+ docu = newDocu;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_REF__DOCU, oldDocu, newDocu);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDocu(Documentation newDocu)
+ {
+ if (newDocu != docu)
+ {
+ NotificationChain msgs = null;
+ if (docu != null)
+ msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_REF__DOCU, null, msgs);
+ if (newDocu != null)
+ msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.NODE_REF__DOCU, null, msgs);
+ msgs = basicSetDocu(newDocu, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.NODE_REF__DOCU, newDocu, newDocu));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.NODE_REF__DOCU:
+ return basicSetDocu(null, 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 ETPhysPackage.NODE_REF__NAME:
+ return getName();
+ case ETPhysPackage.NODE_REF__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case ETPhysPackage.NODE_REF__DOCU:
+ return getDocu();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.NODE_REF__NAME:
+ setName((String)newValue);
+ return;
+ case ETPhysPackage.NODE_REF__TYPE:
+ setType((NodeClass)newValue);
+ return;
+ case ETPhysPackage.NODE_REF__DOCU:
+ setDocu((Documentation)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.NODE_REF__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ETPhysPackage.NODE_REF__TYPE:
+ setType((NodeClass)null);
+ return;
+ case ETPhysPackage.NODE_REF__DOCU:
+ setDocu((Documentation)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.NODE_REF__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ETPhysPackage.NODE_REF__TYPE:
+ return type != null;
+ case ETPhysPackage.NODE_REF__DOCU:
+ return docu != 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //NodeRefImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java
index 094c1514d..29d2d91da 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java
@@ -1,357 +1,357 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-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.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.Import;
-import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
-import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Physical Model</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getImports <em>Imports</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getSystems <em>Systems</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getNodeClasses <em>Node Classes</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getRuntimeClasses <em>Runtime Classes</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PhysicalModelImpl extends MinimalEObjectImpl.Container implements PhysicalModel
-{
- /**
- * 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 #getImports() <em>Imports</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImports()
- * @generated
- * @ordered
- */
- protected EList<Import> imports;
-
- /**
- * The cached value of the '{@link #getSystems() <em>Systems</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSystems()
- * @generated
- * @ordered
- */
- protected EList<PhysicalSystem> systems;
-
- /**
- * The cached value of the '{@link #getNodeClasses() <em>Node Classes</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNodeClasses()
- * @generated
- * @ordered
- */
- protected EList<NodeClass> nodeClasses;
-
- /**
- * The cached value of the '{@link #getRuntimeClasses() <em>Runtime Classes</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRuntimeClasses()
- * @generated
- * @ordered
- */
- protected EList<RuntimeClass> runtimeClasses;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PhysicalModelImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.PHYSICAL_MODEL;
- }
-
- /**
- * <!-- 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, ETPhysPackage.PHYSICAL_MODEL__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Import> getImports()
- {
- if (imports == null)
- {
- imports = new EObjectContainmentEList<Import>(Import.class, this, ETPhysPackage.PHYSICAL_MODEL__IMPORTS);
- }
- return imports;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<PhysicalSystem> getSystems()
- {
- if (systems == null)
- {
- systems = new EObjectContainmentEList<PhysicalSystem>(PhysicalSystem.class, this, ETPhysPackage.PHYSICAL_MODEL__SYSTEMS);
- }
- return systems;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<NodeClass> getNodeClasses()
- {
- if (nodeClasses == null)
- {
- nodeClasses = new EObjectContainmentEList<NodeClass>(NodeClass.class, this, ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES);
- }
- return nodeClasses;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<RuntimeClass> getRuntimeClasses()
- {
- if (runtimeClasses == null)
- {
- runtimeClasses = new EObjectContainmentEList<RuntimeClass>(RuntimeClass.class, this, ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES);
- }
- return runtimeClasses;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
- return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs);
- case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
- return ((InternalEList<?>)getSystems()).basicRemove(otherEnd, msgs);
- case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
- return ((InternalEList<?>)getNodeClasses()).basicRemove(otherEnd, msgs);
- case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
- return ((InternalEList<?>)getRuntimeClasses()).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 ETPhysPackage.PHYSICAL_MODEL__NAME:
- return getName();
- case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
- return getImports();
- case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
- return getSystems();
- case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
- return getNodeClasses();
- case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
- return getRuntimeClasses();
- }
- 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 ETPhysPackage.PHYSICAL_MODEL__NAME:
- setName((String)newValue);
- return;
- case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
- getImports().clear();
- getImports().addAll((Collection<? extends Import>)newValue);
- return;
- case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
- getSystems().clear();
- getSystems().addAll((Collection<? extends PhysicalSystem>)newValue);
- return;
- case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
- getNodeClasses().clear();
- getNodeClasses().addAll((Collection<? extends NodeClass>)newValue);
- return;
- case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
- getRuntimeClasses().clear();
- getRuntimeClasses().addAll((Collection<? extends RuntimeClass>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_MODEL__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
- getImports().clear();
- return;
- case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
- getSystems().clear();
- return;
- case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
- getNodeClasses().clear();
- return;
- case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
- getRuntimeClasses().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_MODEL__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
- return imports != null && !imports.isEmpty();
- case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
- return systems != null && !systems.isEmpty();
- case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
- return nodeClasses != null && !nodeClasses.isEmpty();
- case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
- return runtimeClasses != null && !runtimeClasses.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(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //PhysicalModelImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+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.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.Import;
+import org.eclipse.etrice.core.etphys.eTPhys.NodeClass;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
+import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Physical Model</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getImports <em>Imports</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getSystems <em>Systems</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getNodeClasses <em>Node Classes</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getRuntimeClasses <em>Runtime Classes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PhysicalModelImpl extends MinimalEObjectImpl.Container implements PhysicalModel
+{
+ /**
+ * 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 #getImports() <em>Imports</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<Import> imports;
+
+ /**
+ * The cached value of the '{@link #getSystems() <em>Systems</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSystems()
+ * @generated
+ * @ordered
+ */
+ protected EList<PhysicalSystem> systems;
+
+ /**
+ * The cached value of the '{@link #getNodeClasses() <em>Node Classes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNodeClasses()
+ * @generated
+ * @ordered
+ */
+ protected EList<NodeClass> nodeClasses;
+
+ /**
+ * The cached value of the '{@link #getRuntimeClasses() <em>Runtime Classes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRuntimeClasses()
+ * @generated
+ * @ordered
+ */
+ protected EList<RuntimeClass> runtimeClasses;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PhysicalModelImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.PHYSICAL_MODEL;
+ }
+
+ /**
+ * <!-- 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, ETPhysPackage.PHYSICAL_MODEL__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Import> getImports()
+ {
+ if (imports == null)
+ {
+ imports = new EObjectContainmentEList<Import>(Import.class, this, ETPhysPackage.PHYSICAL_MODEL__IMPORTS);
+ }
+ return imports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<PhysicalSystem> getSystems()
+ {
+ if (systems == null)
+ {
+ systems = new EObjectContainmentEList<PhysicalSystem>(PhysicalSystem.class, this, ETPhysPackage.PHYSICAL_MODEL__SYSTEMS);
+ }
+ return systems;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NodeClass> getNodeClasses()
+ {
+ if (nodeClasses == null)
+ {
+ nodeClasses = new EObjectContainmentEList<NodeClass>(NodeClass.class, this, ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES);
+ }
+ return nodeClasses;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<RuntimeClass> getRuntimeClasses()
+ {
+ if (runtimeClasses == null)
+ {
+ runtimeClasses = new EObjectContainmentEList<RuntimeClass>(RuntimeClass.class, this, ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES);
+ }
+ return runtimeClasses;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
+ return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs);
+ case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
+ return ((InternalEList<?>)getSystems()).basicRemove(otherEnd, msgs);
+ case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
+ return ((InternalEList<?>)getNodeClasses()).basicRemove(otherEnd, msgs);
+ case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
+ return ((InternalEList<?>)getRuntimeClasses()).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 ETPhysPackage.PHYSICAL_MODEL__NAME:
+ return getName();
+ case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
+ return getImports();
+ case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
+ return getSystems();
+ case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
+ return getNodeClasses();
+ case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
+ return getRuntimeClasses();
+ }
+ 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 ETPhysPackage.PHYSICAL_MODEL__NAME:
+ setName((String)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
+ getImports().clear();
+ getImports().addAll((Collection<? extends Import>)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
+ getSystems().clear();
+ getSystems().addAll((Collection<? extends PhysicalSystem>)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
+ getNodeClasses().clear();
+ getNodeClasses().addAll((Collection<? extends NodeClass>)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
+ getRuntimeClasses().clear();
+ getRuntimeClasses().addAll((Collection<? extends RuntimeClass>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_MODEL__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
+ getImports().clear();
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
+ getSystems().clear();
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
+ getNodeClasses().clear();
+ return;
+ case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
+ getRuntimeClasses().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_MODEL__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ETPhysPackage.PHYSICAL_MODEL__IMPORTS:
+ return imports != null && !imports.isEmpty();
+ case ETPhysPackage.PHYSICAL_MODEL__SYSTEMS:
+ return systems != null && !systems.isEmpty();
+ case ETPhysPackage.PHYSICAL_MODEL__NODE_CLASSES:
+ return nodeClasses != null && !nodeClasses.isEmpty();
+ case ETPhysPackage.PHYSICAL_MODEL__RUNTIME_CLASSES:
+ return runtimeClasses != null && !runtimeClasses.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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PhysicalModelImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java
index e1ac2982a..ae425cb7e 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java
@@ -1,312 +1,312 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-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.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.NodeRef;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Physical System</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getDocu <em>Docu</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getNodeRefs <em>Node Refs</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PhysicalSystemImpl extends MinimalEObjectImpl.Container implements PhysicalSystem
-{
- /**
- * 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 #getDocu() <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDocu()
- * @generated
- * @ordered
- */
- protected Documentation docu;
-
- /**
- * The cached value of the '{@link #getNodeRefs() <em>Node Refs</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNodeRefs()
- * @generated
- * @ordered
- */
- protected EList<NodeRef> nodeRefs;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PhysicalSystemImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.PHYSICAL_SYSTEM;
- }
-
- /**
- * <!-- 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, ETPhysPackage.PHYSICAL_SYSTEM__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Documentation getDocu()
- {
- return docu;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
- {
- Documentation oldDocu = docu;
- docu = newDocu;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_SYSTEM__DOCU, oldDocu, newDocu);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDocu(Documentation newDocu)
- {
- if (newDocu != docu)
- {
- NotificationChain msgs = null;
- if (docu != null)
- msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.PHYSICAL_SYSTEM__DOCU, null, msgs);
- if (newDocu != null)
- msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.PHYSICAL_SYSTEM__DOCU, null, msgs);
- msgs = basicSetDocu(newDocu, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_SYSTEM__DOCU, newDocu, newDocu));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<NodeRef> getNodeRefs()
- {
- if (nodeRefs == null)
- {
- nodeRefs = new EObjectContainmentEList<NodeRef>(NodeRef.class, this, ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS);
- }
- return nodeRefs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
- return basicSetDocu(null, msgs);
- case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
- return ((InternalEList<?>)getNodeRefs()).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 ETPhysPackage.PHYSICAL_SYSTEM__NAME:
- return getName();
- case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
- return getDocu();
- case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
- return getNodeRefs();
- }
- 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 ETPhysPackage.PHYSICAL_SYSTEM__NAME:
- setName((String)newValue);
- return;
- case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
- setDocu((Documentation)newValue);
- return;
- case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
- getNodeRefs().clear();
- getNodeRefs().addAll((Collection<? extends NodeRef>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_SYSTEM__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
- setDocu((Documentation)null);
- return;
- case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
- getNodeRefs().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_SYSTEM__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
- return docu != null;
- case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
- return nodeRefs != null && !nodeRefs.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(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //PhysicalSystemImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+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.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.etrice.core.etphys.eTPhys.Documentation;
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.NodeRef;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Physical System</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getDocu <em>Docu</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getNodeRefs <em>Node Refs</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PhysicalSystemImpl extends MinimalEObjectImpl.Container implements PhysicalSystem
+{
+ /**
+ * 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 #getDocu() <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDocu()
+ * @generated
+ * @ordered
+ */
+ protected Documentation docu;
+
+ /**
+ * The cached value of the '{@link #getNodeRefs() <em>Node Refs</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNodeRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<NodeRef> nodeRefs;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PhysicalSystemImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.PHYSICAL_SYSTEM;
+ }
+
+ /**
+ * <!-- 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, ETPhysPackage.PHYSICAL_SYSTEM__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Documentation getDocu()
+ {
+ return docu;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
+ {
+ Documentation oldDocu = docu;
+ docu = newDocu;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_SYSTEM__DOCU, oldDocu, newDocu);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDocu(Documentation newDocu)
+ {
+ if (newDocu != docu)
+ {
+ NotificationChain msgs = null;
+ if (docu != null)
+ msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.PHYSICAL_SYSTEM__DOCU, null, msgs);
+ if (newDocu != null)
+ msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.PHYSICAL_SYSTEM__DOCU, null, msgs);
+ msgs = basicSetDocu(newDocu, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_SYSTEM__DOCU, newDocu, newDocu));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<NodeRef> getNodeRefs()
+ {
+ if (nodeRefs == null)
+ {
+ nodeRefs = new EObjectContainmentEList<NodeRef>(NodeRef.class, this, ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS);
+ }
+ return nodeRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
+ return basicSetDocu(null, msgs);
+ case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
+ return ((InternalEList<?>)getNodeRefs()).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 ETPhysPackage.PHYSICAL_SYSTEM__NAME:
+ return getName();
+ case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
+ return getDocu();
+ case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
+ return getNodeRefs();
+ }
+ 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 ETPhysPackage.PHYSICAL_SYSTEM__NAME:
+ setName((String)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
+ setDocu((Documentation)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
+ getNodeRefs().clear();
+ getNodeRefs().addAll((Collection<? extends NodeRef>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_SYSTEM__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
+ setDocu((Documentation)null);
+ return;
+ case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
+ getNodeRefs().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_SYSTEM__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ETPhysPackage.PHYSICAL_SYSTEM__DOCU:
+ return docu != null;
+ case ETPhysPackage.PHYSICAL_SYSTEM__NODE_REFS:
+ return nodeRefs != null && !nodeRefs.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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PhysicalSystemImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java
index e2dedc509..f80fc9c8a 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java
@@ -1,570 +1,570 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.ExecMode;
-import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Physical Thread</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#isDefault <em>Default</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getExecmode <em>Execmode</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getTime <em>Time</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getPrio <em>Prio</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getStacksize <em>Stacksize</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getMsgblocksize <em>Msgblocksize</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getMsgpoolsize <em>Msgpoolsize</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PhysicalThreadImpl extends MinimalEObjectImpl.Container implements PhysicalThread
-{
- /**
- * The default value of the '{@link #isDefault() <em>Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isDefault()
- * @generated
- * @ordered
- */
- protected static final boolean DEFAULT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isDefault() <em>Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isDefault()
- * @generated
- * @ordered
- */
- protected boolean default_ = DEFAULT_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 #getExecmode() <em>Execmode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExecmode()
- * @generated
- * @ordered
- */
- protected static final ExecMode EXECMODE_EDEFAULT = ExecMode.POLLED;
-
- /**
- * The cached value of the '{@link #getExecmode() <em>Execmode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExecmode()
- * @generated
- * @ordered
- */
- protected ExecMode execmode = EXECMODE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTime() <em>Time</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTime()
- * @generated
- * @ordered
- */
- protected static final int TIME_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getTime() <em>Time</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTime()
- * @generated
- * @ordered
- */
- protected int time = TIME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPrio() <em>Prio</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrio()
- * @generated
- * @ordered
- */
- protected static final int PRIO_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getPrio() <em>Prio</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrio()
- * @generated
- * @ordered
- */
- protected int prio = PRIO_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStacksize() <em>Stacksize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStacksize()
- * @generated
- * @ordered
- */
- protected static final int STACKSIZE_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getStacksize() <em>Stacksize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStacksize()
- * @generated
- * @ordered
- */
- protected int stacksize = STACKSIZE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMsgblocksize() <em>Msgblocksize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMsgblocksize()
- * @generated
- * @ordered
- */
- protected static final int MSGBLOCKSIZE_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getMsgblocksize() <em>Msgblocksize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMsgblocksize()
- * @generated
- * @ordered
- */
- protected int msgblocksize = MSGBLOCKSIZE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMsgpoolsize() <em>Msgpoolsize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMsgpoolsize()
- * @generated
- * @ordered
- */
- protected static final int MSGPOOLSIZE_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getMsgpoolsize() <em>Msgpoolsize</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMsgpoolsize()
- * @generated
- * @ordered
- */
- protected int msgpoolsize = MSGPOOLSIZE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PhysicalThreadImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.PHYSICAL_THREAD;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isDefault()
- {
- return default_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefault(boolean newDefault)
- {
- boolean oldDefault = default_;
- default_ = newDefault;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__DEFAULT, oldDefault, default_));
- }
-
- /**
- * <!-- 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, ETPhysPackage.PHYSICAL_THREAD__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExecMode getExecmode()
- {
- return execmode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setExecmode(ExecMode newExecmode)
- {
- ExecMode oldExecmode = execmode;
- execmode = newExecmode == null ? EXECMODE_EDEFAULT : newExecmode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__EXECMODE, oldExecmode, execmode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getTime()
- {
- return time;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTime(int newTime)
- {
- int oldTime = time;
- time = newTime;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__TIME, oldTime, time));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getPrio()
- {
- return prio;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPrio(int newPrio)
- {
- int oldPrio = prio;
- prio = newPrio;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__PRIO, oldPrio, prio));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getStacksize()
- {
- return stacksize;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStacksize(int newStacksize)
- {
- int oldStacksize = stacksize;
- stacksize = newStacksize;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__STACKSIZE, oldStacksize, stacksize));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getMsgblocksize()
- {
- return msgblocksize;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMsgblocksize(int newMsgblocksize)
- {
- int oldMsgblocksize = msgblocksize;
- msgblocksize = newMsgblocksize;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE, oldMsgblocksize, msgblocksize));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getMsgpoolsize()
- {
- return msgpoolsize;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMsgpoolsize(int newMsgpoolsize)
- {
- int oldMsgpoolsize = msgpoolsize;
- msgpoolsize = newMsgpoolsize;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE, oldMsgpoolsize, msgpoolsize));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
- return isDefault();
- case ETPhysPackage.PHYSICAL_THREAD__NAME:
- return getName();
- case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
- return getExecmode();
- case ETPhysPackage.PHYSICAL_THREAD__TIME:
- return getTime();
- case ETPhysPackage.PHYSICAL_THREAD__PRIO:
- return getPrio();
- case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
- return getStacksize();
- case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
- return getMsgblocksize();
- case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
- return getMsgpoolsize();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
- setDefault((Boolean)newValue);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__NAME:
- setName((String)newValue);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
- setExecmode((ExecMode)newValue);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__TIME:
- setTime((Integer)newValue);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__PRIO:
- setPrio((Integer)newValue);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
- setStacksize((Integer)newValue);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
- setMsgblocksize((Integer)newValue);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
- setMsgpoolsize((Integer)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
- setDefault(DEFAULT_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
- setExecmode(EXECMODE_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__TIME:
- setTime(TIME_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__PRIO:
- setPrio(PRIO_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
- setStacksize(STACKSIZE_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
- setMsgblocksize(MSGBLOCKSIZE_EDEFAULT);
- return;
- case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
- setMsgpoolsize(MSGPOOLSIZE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
- return default_ != DEFAULT_EDEFAULT;
- case ETPhysPackage.PHYSICAL_THREAD__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
- return execmode != EXECMODE_EDEFAULT;
- case ETPhysPackage.PHYSICAL_THREAD__TIME:
- return time != TIME_EDEFAULT;
- case ETPhysPackage.PHYSICAL_THREAD__PRIO:
- return prio != PRIO_EDEFAULT;
- case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
- return stacksize != STACKSIZE_EDEFAULT;
- case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
- return msgblocksize != MSGBLOCKSIZE_EDEFAULT;
- case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
- return msgpoolsize != MSGPOOLSIZE_EDEFAULT;
- }
- 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(" (default: ");
- result.append(default_);
- result.append(", name: ");
- result.append(name);
- result.append(", execmode: ");
- result.append(execmode);
- result.append(", time: ");
- result.append(time);
- result.append(", prio: ");
- result.append(prio);
- result.append(", stacksize: ");
- result.append(stacksize);
- result.append(", msgblocksize: ");
- result.append(msgblocksize);
- result.append(", msgpoolsize: ");
- result.append(msgpoolsize);
- result.append(')');
- return result.toString();
- }
-
-} //PhysicalThreadImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.ExecMode;
+import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Physical Thread</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#isDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getExecmode <em>Execmode</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getTime <em>Time</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getPrio <em>Prio</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getStacksize <em>Stacksize</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getMsgblocksize <em>Msgblocksize</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getMsgpoolsize <em>Msgpoolsize</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PhysicalThreadImpl extends MinimalEObjectImpl.Container implements PhysicalThread
+{
+ /**
+ * The default value of the '{@link #isDefault() <em>Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDefault()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean DEFAULT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isDefault() <em>Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDefault()
+ * @generated
+ * @ordered
+ */
+ protected boolean default_ = DEFAULT_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 #getExecmode() <em>Execmode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExecmode()
+ * @generated
+ * @ordered
+ */
+ protected static final ExecMode EXECMODE_EDEFAULT = ExecMode.POLLED;
+
+ /**
+ * The cached value of the '{@link #getExecmode() <em>Execmode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExecmode()
+ * @generated
+ * @ordered
+ */
+ protected ExecMode execmode = EXECMODE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTime() <em>Time</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTime()
+ * @generated
+ * @ordered
+ */
+ protected static final int TIME_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTime() <em>Time</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTime()
+ * @generated
+ * @ordered
+ */
+ protected int time = TIME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPrio() <em>Prio</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrio()
+ * @generated
+ * @ordered
+ */
+ protected static final int PRIO_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPrio() <em>Prio</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrio()
+ * @generated
+ * @ordered
+ */
+ protected int prio = PRIO_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getStacksize() <em>Stacksize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStacksize()
+ * @generated
+ * @ordered
+ */
+ protected static final int STACKSIZE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getStacksize() <em>Stacksize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStacksize()
+ * @generated
+ * @ordered
+ */
+ protected int stacksize = STACKSIZE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMsgblocksize() <em>Msgblocksize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMsgblocksize()
+ * @generated
+ * @ordered
+ */
+ protected static final int MSGBLOCKSIZE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMsgblocksize() <em>Msgblocksize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMsgblocksize()
+ * @generated
+ * @ordered
+ */
+ protected int msgblocksize = MSGBLOCKSIZE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMsgpoolsize() <em>Msgpoolsize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMsgpoolsize()
+ * @generated
+ * @ordered
+ */
+ protected static final int MSGPOOLSIZE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMsgpoolsize() <em>Msgpoolsize</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMsgpoolsize()
+ * @generated
+ * @ordered
+ */
+ protected int msgpoolsize = MSGPOOLSIZE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PhysicalThreadImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.PHYSICAL_THREAD;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isDefault()
+ {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefault(boolean newDefault)
+ {
+ boolean oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__DEFAULT, oldDefault, default_));
+ }
+
+ /**
+ * <!-- 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, ETPhysPackage.PHYSICAL_THREAD__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExecMode getExecmode()
+ {
+ return execmode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExecmode(ExecMode newExecmode)
+ {
+ ExecMode oldExecmode = execmode;
+ execmode = newExecmode == null ? EXECMODE_EDEFAULT : newExecmode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__EXECMODE, oldExecmode, execmode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTime()
+ {
+ return time;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTime(int newTime)
+ {
+ int oldTime = time;
+ time = newTime;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__TIME, oldTime, time));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPrio()
+ {
+ return prio;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPrio(int newPrio)
+ {
+ int oldPrio = prio;
+ prio = newPrio;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__PRIO, oldPrio, prio));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getStacksize()
+ {
+ return stacksize;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStacksize(int newStacksize)
+ {
+ int oldStacksize = stacksize;
+ stacksize = newStacksize;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__STACKSIZE, oldStacksize, stacksize));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMsgblocksize()
+ {
+ return msgblocksize;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMsgblocksize(int newMsgblocksize)
+ {
+ int oldMsgblocksize = msgblocksize;
+ msgblocksize = newMsgblocksize;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE, oldMsgblocksize, msgblocksize));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMsgpoolsize()
+ {
+ return msgpoolsize;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMsgpoolsize(int newMsgpoolsize)
+ {
+ int oldMsgpoolsize = msgpoolsize;
+ msgpoolsize = newMsgpoolsize;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE, oldMsgpoolsize, msgpoolsize));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
+ return isDefault();
+ case ETPhysPackage.PHYSICAL_THREAD__NAME:
+ return getName();
+ case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
+ return getExecmode();
+ case ETPhysPackage.PHYSICAL_THREAD__TIME:
+ return getTime();
+ case ETPhysPackage.PHYSICAL_THREAD__PRIO:
+ return getPrio();
+ case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
+ return getStacksize();
+ case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
+ return getMsgblocksize();
+ case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
+ return getMsgpoolsize();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
+ setDefault((Boolean)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__NAME:
+ setName((String)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
+ setExecmode((ExecMode)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__TIME:
+ setTime((Integer)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__PRIO:
+ setPrio((Integer)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
+ setStacksize((Integer)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
+ setMsgblocksize((Integer)newValue);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
+ setMsgpoolsize((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
+ setDefault(DEFAULT_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
+ setExecmode(EXECMODE_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__TIME:
+ setTime(TIME_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__PRIO:
+ setPrio(PRIO_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
+ setStacksize(STACKSIZE_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
+ setMsgblocksize(MSGBLOCKSIZE_EDEFAULT);
+ return;
+ case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
+ setMsgpoolsize(MSGPOOLSIZE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.PHYSICAL_THREAD__DEFAULT:
+ return default_ != DEFAULT_EDEFAULT;
+ case ETPhysPackage.PHYSICAL_THREAD__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ETPhysPackage.PHYSICAL_THREAD__EXECMODE:
+ return execmode != EXECMODE_EDEFAULT;
+ case ETPhysPackage.PHYSICAL_THREAD__TIME:
+ return time != TIME_EDEFAULT;
+ case ETPhysPackage.PHYSICAL_THREAD__PRIO:
+ return prio != PRIO_EDEFAULT;
+ case ETPhysPackage.PHYSICAL_THREAD__STACKSIZE:
+ return stacksize != STACKSIZE_EDEFAULT;
+ case ETPhysPackage.PHYSICAL_THREAD__MSGBLOCKSIZE:
+ return msgblocksize != MSGBLOCKSIZE_EDEFAULT;
+ case ETPhysPackage.PHYSICAL_THREAD__MSGPOOLSIZE:
+ return msgpoolsize != MSGPOOLSIZE_EDEFAULT;
+ }
+ 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(" (default: ");
+ result.append(default_);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", execmode: ");
+ result.append(execmode);
+ result.append(", time: ");
+ result.append(time);
+ result.append(", prio: ");
+ result.append(prio);
+ result.append(", stacksize: ");
+ result.append(stacksize);
+ result.append(", msgblocksize: ");
+ result.append(msgblocksize);
+ result.append(", msgpoolsize: ");
+ result.append(msgpoolsize);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PhysicalThreadImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java
index 1fc5c74c9..3d43fc8b5 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java
@@ -1,322 +1,322 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.impl;
-
-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.etrice.core.etphys.eTPhys.Documentation;
-import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
-import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
-import org.eclipse.etrice.core.etphys.eTPhys.ThreadModel;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Runtime Class</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getDocu <em>Docu</em>}</li>
- * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getThreadModel <em>Thread Model</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RuntimeClassImpl extends MinimalEObjectImpl.Container implements RuntimeClass
-{
- /**
- * 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 #getDocu() <em>Docu</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDocu()
- * @generated
- * @ordered
- */
- protected Documentation docu;
-
- /**
- * The default value of the '{@link #getThreadModel() <em>Thread Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getThreadModel()
- * @generated
- * @ordered
- */
- protected static final ThreadModel THREAD_MODEL_EDEFAULT = ThreadModel.SINGLE_THREADED;
-
- /**
- * The cached value of the '{@link #getThreadModel() <em>Thread Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getThreadModel()
- * @generated
- * @ordered
- */
- protected ThreadModel threadModel = THREAD_MODEL_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RuntimeClassImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ETPhysPackage.Literals.RUNTIME_CLASS;
- }
-
- /**
- * <!-- 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, ETPhysPackage.RUNTIME_CLASS__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Documentation getDocu()
- {
- return docu;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
- {
- Documentation oldDocu = docu;
- docu = newDocu;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.RUNTIME_CLASS__DOCU, oldDocu, newDocu);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDocu(Documentation newDocu)
- {
- if (newDocu != docu)
- {
- NotificationChain msgs = null;
- if (docu != null)
- msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.RUNTIME_CLASS__DOCU, null, msgs);
- if (newDocu != null)
- msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.RUNTIME_CLASS__DOCU, null, msgs);
- msgs = basicSetDocu(newDocu, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.RUNTIME_CLASS__DOCU, newDocu, newDocu));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ThreadModel getThreadModel()
- {
- return threadModel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setThreadModel(ThreadModel newThreadModel)
- {
- ThreadModel oldThreadModel = threadModel;
- threadModel = newThreadModel == null ? THREAD_MODEL_EDEFAULT : newThreadModel;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL, oldThreadModel, threadModel));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case ETPhysPackage.RUNTIME_CLASS__DOCU:
- return basicSetDocu(null, 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 ETPhysPackage.RUNTIME_CLASS__NAME:
- return getName();
- case ETPhysPackage.RUNTIME_CLASS__DOCU:
- return getDocu();
- case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
- return getThreadModel();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case ETPhysPackage.RUNTIME_CLASS__NAME:
- setName((String)newValue);
- return;
- case ETPhysPackage.RUNTIME_CLASS__DOCU:
- setDocu((Documentation)newValue);
- return;
- case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
- setThreadModel((ThreadModel)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.RUNTIME_CLASS__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ETPhysPackage.RUNTIME_CLASS__DOCU:
- setDocu((Documentation)null);
- return;
- case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
- setThreadModel(THREAD_MODEL_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case ETPhysPackage.RUNTIME_CLASS__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ETPhysPackage.RUNTIME_CLASS__DOCU:
- return docu != null;
- case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
- return threadModel != THREAD_MODEL_EDEFAULT;
- }
- 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(" (name: ");
- result.append(name);
- result.append(", threadModel: ");
- result.append(threadModel);
- result.append(')');
- return result.toString();
- }
-
-} //RuntimeClassImpl
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.impl;
+
+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.etrice.core.etphys.eTPhys.Documentation;
+import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage;
+import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
+import org.eclipse.etrice.core.etphys.eTPhys.ThreadModel;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Runtime Class</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getDocu <em>Docu</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getThreadModel <em>Thread Model</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RuntimeClassImpl extends MinimalEObjectImpl.Container implements RuntimeClass
+{
+ /**
+ * 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 #getDocu() <em>Docu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDocu()
+ * @generated
+ * @ordered
+ */
+ protected Documentation docu;
+
+ /**
+ * The default value of the '{@link #getThreadModel() <em>Thread Model</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getThreadModel()
+ * @generated
+ * @ordered
+ */
+ protected static final ThreadModel THREAD_MODEL_EDEFAULT = ThreadModel.SINGLE_THREADED;
+
+ /**
+ * The cached value of the '{@link #getThreadModel() <em>Thread Model</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getThreadModel()
+ * @generated
+ * @ordered
+ */
+ protected ThreadModel threadModel = THREAD_MODEL_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RuntimeClassImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ETPhysPackage.Literals.RUNTIME_CLASS;
+ }
+
+ /**
+ * <!-- 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, ETPhysPackage.RUNTIME_CLASS__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Documentation getDocu()
+ {
+ return docu;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
+ {
+ Documentation oldDocu = docu;
+ docu = newDocu;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ETPhysPackage.RUNTIME_CLASS__DOCU, oldDocu, newDocu);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDocu(Documentation newDocu)
+ {
+ if (newDocu != docu)
+ {
+ NotificationChain msgs = null;
+ if (docu != null)
+ msgs = ((InternalEObject)docu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.RUNTIME_CLASS__DOCU, null, msgs);
+ if (newDocu != null)
+ msgs = ((InternalEObject)newDocu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ETPhysPackage.RUNTIME_CLASS__DOCU, null, msgs);
+ msgs = basicSetDocu(newDocu, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.RUNTIME_CLASS__DOCU, newDocu, newDocu));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ThreadModel getThreadModel()
+ {
+ return threadModel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setThreadModel(ThreadModel newThreadModel)
+ {
+ ThreadModel oldThreadModel = threadModel;
+ threadModel = newThreadModel == null ? THREAD_MODEL_EDEFAULT : newThreadModel;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL, oldThreadModel, threadModel));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.RUNTIME_CLASS__DOCU:
+ return basicSetDocu(null, 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 ETPhysPackage.RUNTIME_CLASS__NAME:
+ return getName();
+ case ETPhysPackage.RUNTIME_CLASS__DOCU:
+ return getDocu();
+ case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
+ return getThreadModel();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.RUNTIME_CLASS__NAME:
+ setName((String)newValue);
+ return;
+ case ETPhysPackage.RUNTIME_CLASS__DOCU:
+ setDocu((Documentation)newValue);
+ return;
+ case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
+ setThreadModel((ThreadModel)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.RUNTIME_CLASS__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ETPhysPackage.RUNTIME_CLASS__DOCU:
+ setDocu((Documentation)null);
+ return;
+ case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
+ setThreadModel(THREAD_MODEL_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ETPhysPackage.RUNTIME_CLASS__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ETPhysPackage.RUNTIME_CLASS__DOCU:
+ return docu != null;
+ case ETPhysPackage.RUNTIME_CLASS__THREAD_MODEL:
+ return threadModel != THREAD_MODEL_EDEFAULT;
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(", threadModel: ");
+ result.append(threadModel);
+ result.append(')');
+ return result.toString();
+ }
+
+} //RuntimeClassImpl
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java
index fcedf08cc..a7a8c9a94 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java
@@ -1,272 +1,272 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.util;
-
-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;
-
-import org.eclipse.etrice.core.etphys.eTPhys.*;
-
-/**
- * <!-- 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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage
- * @generated
- */
-public class ETPhysAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ETPhysPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ETPhysAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = ETPhysPackage.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 ETPhysSwitch<Adapter> modelSwitch =
- new ETPhysSwitch<Adapter>()
- {
- @Override
- public Adapter casePhysicalModel(PhysicalModel object)
- {
- return createPhysicalModelAdapter();
- }
- @Override
- public Adapter casePhysicalSystem(PhysicalSystem object)
- {
- return createPhysicalSystemAdapter();
- }
- @Override
- public Adapter caseNodeRef(NodeRef object)
- {
- return createNodeRefAdapter();
- }
- @Override
- public Adapter caseNodeClass(NodeClass object)
- {
- return createNodeClassAdapter();
- }
- @Override
- public Adapter casePhysicalThread(PhysicalThread object)
- {
- return createPhysicalThreadAdapter();
- }
- @Override
- public Adapter caseRuntimeClass(RuntimeClass object)
- {
- return createRuntimeClassAdapter();
- }
- @Override
- public Adapter caseDocumentation(Documentation object)
- {
- return createDocumentationAdapter();
- }
- @Override
- public Adapter caseImport(Import object)
- {
- return createImportAdapter();
- }
- @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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel <em>Physical Model</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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel
- * @generated
- */
- public Adapter createPhysicalModelAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem <em>Physical System</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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem
- * @generated
- */
- public Adapter createPhysicalSystemAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef <em>Node Ref</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 org.eclipse.etrice.core.etphys.eTPhys.NodeRef
- * @generated
- */
- public Adapter createNodeRefAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass <em>Node Class</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 org.eclipse.etrice.core.etphys.eTPhys.NodeClass
- * @generated
- */
- public Adapter createNodeClassAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread <em>Physical Thread</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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread
- * @generated
- */
- public Adapter createPhysicalThreadAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass <em>Runtime Class</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 org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass
- * @generated
- */
- public Adapter createRuntimeClassAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation <em>Documentation</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 org.eclipse.etrice.core.etphys.eTPhys.Documentation
- * @generated
- */
- public Adapter createDocumentationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.Import <em>Import</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 org.eclipse.etrice.core.etphys.eTPhys.Import
- * @generated
- */
- public Adapter createImportAdapter()
- {
- 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;
- }
-
-} //ETPhysAdapterFactory
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.util;
+
+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;
+
+import org.eclipse.etrice.core.etphys.eTPhys.*;
+
+/**
+ * <!-- 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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage
+ * @generated
+ */
+public class ETPhysAdapterFactory extends AdapterFactoryImpl
+{
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ETPhysPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ETPhysAdapterFactory()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = ETPhysPackage.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 ETPhysSwitch<Adapter> modelSwitch =
+ new ETPhysSwitch<Adapter>()
+ {
+ @Override
+ public Adapter casePhysicalModel(PhysicalModel object)
+ {
+ return createPhysicalModelAdapter();
+ }
+ @Override
+ public Adapter casePhysicalSystem(PhysicalSystem object)
+ {
+ return createPhysicalSystemAdapter();
+ }
+ @Override
+ public Adapter caseNodeRef(NodeRef object)
+ {
+ return createNodeRefAdapter();
+ }
+ @Override
+ public Adapter caseNodeClass(NodeClass object)
+ {
+ return createNodeClassAdapter();
+ }
+ @Override
+ public Adapter casePhysicalThread(PhysicalThread object)
+ {
+ return createPhysicalThreadAdapter();
+ }
+ @Override
+ public Adapter caseRuntimeClass(RuntimeClass object)
+ {
+ return createRuntimeClassAdapter();
+ }
+ @Override
+ public Adapter caseDocumentation(Documentation object)
+ {
+ return createDocumentationAdapter();
+ }
+ @Override
+ public Adapter caseImport(Import object)
+ {
+ return createImportAdapter();
+ }
+ @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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel <em>Physical Model</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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel
+ * @generated
+ */
+ public Adapter createPhysicalModelAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem <em>Physical System</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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem
+ * @generated
+ */
+ public Adapter createPhysicalSystemAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef <em>Node Ref</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 org.eclipse.etrice.core.etphys.eTPhys.NodeRef
+ * @generated
+ */
+ public Adapter createNodeRefAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass <em>Node Class</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 org.eclipse.etrice.core.etphys.eTPhys.NodeClass
+ * @generated
+ */
+ public Adapter createNodeClassAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread <em>Physical Thread</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 org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread
+ * @generated
+ */
+ public Adapter createPhysicalThreadAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass <em>Runtime Class</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 org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass
+ * @generated
+ */
+ public Adapter createRuntimeClassAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation <em>Documentation</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 org.eclipse.etrice.core.etphys.eTPhys.Documentation
+ * @generated
+ */
+ public Adapter createDocumentationAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.Import <em>Import</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 org.eclipse.etrice.core.etphys.eTPhys.Import
+ * @generated
+ */
+ public Adapter createImportAdapter()
+ {
+ 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;
+ }
+
+} //ETPhysAdapterFactory
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java
index c097f14c1..a0bf3b0f3 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java
@@ -1,280 +1,280 @@
-/**
- */
-package org.eclipse.etrice.core.etphys.eTPhys.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.etrice.core.etphys.eTPhys.*;
-
-/**
- * <!-- 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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage
- * @generated
- */
-public class ETPhysSwitch<T> extends Switch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ETPhysPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ETPhysSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = ETPhysPackage.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 ETPhysPackage.PHYSICAL_MODEL:
- {
- PhysicalModel physicalModel = (PhysicalModel)theEObject;
- T result = casePhysicalModel(physicalModel);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ETPhysPackage.PHYSICAL_SYSTEM:
- {
- PhysicalSystem physicalSystem = (PhysicalSystem)theEObject;
- T result = casePhysicalSystem(physicalSystem);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ETPhysPackage.NODE_REF:
- {
- NodeRef nodeRef = (NodeRef)theEObject;
- T result = caseNodeRef(nodeRef);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ETPhysPackage.NODE_CLASS:
- {
- NodeClass nodeClass = (NodeClass)theEObject;
- T result = caseNodeClass(nodeClass);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ETPhysPackage.PHYSICAL_THREAD:
- {
- PhysicalThread physicalThread = (PhysicalThread)theEObject;
- T result = casePhysicalThread(physicalThread);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ETPhysPackage.RUNTIME_CLASS:
- {
- RuntimeClass runtimeClass = (RuntimeClass)theEObject;
- T result = caseRuntimeClass(runtimeClass);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ETPhysPackage.DOCUMENTATION:
- {
- Documentation documentation = (Documentation)theEObject;
- T result = caseDocumentation(documentation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ETPhysPackage.IMPORT:
- {
- Import import_ = (Import)theEObject;
- T result = caseImport(import_);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Physical Model</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>Physical Model</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePhysicalModel(PhysicalModel object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Physical System</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>Physical System</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePhysicalSystem(PhysicalSystem object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Node Ref</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>Node Ref</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNodeRef(NodeRef object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Node Class</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>Node Class</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNodeClass(NodeClass object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Physical Thread</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>Physical Thread</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePhysicalThread(PhysicalThread object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Runtime Class</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>Runtime Class</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRuntimeClass(RuntimeClass object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Documentation</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>Documentation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDocumentation(Documentation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Import</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>Import</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseImport(Import 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;
- }
-
-} //ETPhysSwitch
+/**
+ */
+package org.eclipse.etrice.core.etphys.eTPhys.util;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+import org.eclipse.etrice.core.etphys.eTPhys.*;
+
+/**
+ * <!-- 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 org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage
+ * @generated
+ */
+public class ETPhysSwitch<T> extends Switch<T>
+{
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ETPhysPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ETPhysSwitch()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = ETPhysPackage.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 ETPhysPackage.PHYSICAL_MODEL:
+ {
+ PhysicalModel physicalModel = (PhysicalModel)theEObject;
+ T result = casePhysicalModel(physicalModel);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ETPhysPackage.PHYSICAL_SYSTEM:
+ {
+ PhysicalSystem physicalSystem = (PhysicalSystem)theEObject;
+ T result = casePhysicalSystem(physicalSystem);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ETPhysPackage.NODE_REF:
+ {
+ NodeRef nodeRef = (NodeRef)theEObject;
+ T result = caseNodeRef(nodeRef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ETPhysPackage.NODE_CLASS:
+ {
+ NodeClass nodeClass = (NodeClass)theEObject;
+ T result = caseNodeClass(nodeClass);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ETPhysPackage.PHYSICAL_THREAD:
+ {
+ PhysicalThread physicalThread = (PhysicalThread)theEObject;
+ T result = casePhysicalThread(physicalThread);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ETPhysPackage.RUNTIME_CLASS:
+ {
+ RuntimeClass runtimeClass = (RuntimeClass)theEObject;
+ T result = caseRuntimeClass(runtimeClass);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ETPhysPackage.DOCUMENTATION:
+ {
+ Documentation documentation = (Documentation)theEObject;
+ T result = caseDocumentation(documentation);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ETPhysPackage.IMPORT:
+ {
+ Import import_ = (Import)theEObject;
+ T result = caseImport(import_);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Physical Model</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>Physical Model</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePhysicalModel(PhysicalModel object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Physical System</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>Physical System</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePhysicalSystem(PhysicalSystem object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Node Ref</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>Node Ref</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNodeRef(NodeRef object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Node Class</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>Node Class</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNodeClass(NodeClass object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Physical Thread</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>Physical Thread</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePhysicalThread(PhysicalThread object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Runtime Class</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>Runtime Class</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRuntimeClass(RuntimeClass object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Documentation</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>Documentation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentation(Documentation object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Import</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>Import</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseImport(Import 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;
+ }
+
+} //ETPhysSwitch
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens
index 76426607a..581d49d5a 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens
@@ -1,83 +1,83 @@
-RULE_ID=4
-T__29=29
-T__28=28
-T__27=27
-T__26=26
-T__25=25
-T__24=24
-T__23=23
-T__22=22
-RULE_ANY_OTHER=10
-T__21=21
-T__20=20
-T__19=19
-T__16=16
-T__15=15
-T__18=18
-T__17=17
-T__12=12
-T__11=11
-T__14=14
-T__13=13
-RULE_INT=5
-T__42=42
-T__43=43
-T__40=40
-T__41=41
-T__46=46
-T__47=47
-T__44=44
-T__45=45
-T__48=48
-RULE_SL_COMMENT=8
-RULE_ML_COMMENT=7
-T__30=30
-T__31=31
-RULE_STRING=6
-T__32=32
-T__33=33
-T__34=34
-T__35=35
-T__36=36
-T__37=37
-T__38=38
-T__39=39
-RULE_WS=9
-'singleThreaded'=47
-'ns'=43
-'NodeRef'=15
-'PhysicalModel'=11
-'prio'=26
-'ms'=41
-'model'=31
-'multiThreaded'=48
-'priomax'=21
-'.*'=38
-'msgpoolsize'=29
-'='=19
-'execmode'=24
-'interval'=25
-'mixed'=46
-'+'=34
-'.'=39
-'msgblocksize'=28
-'Thread'=23
-'import'=36
-'}'=13
-'priomin'=20
-'blocked'=45
-'us'=42
-'runtime'=18
-'DefaultThread'=22
-'stacksize'=27
-'{'=12
-'NodeClass'=17
-'PhysicalSystem'=14
-'polled'=44
-'s'=40
-'RuntimeClass'=30
-':'=16
-'['=32
-'-'=35
-']'=33
-'from'=37
+RULE_ID=4
+T__29=29
+T__28=28
+T__27=27
+T__26=26
+T__25=25
+T__24=24
+T__23=23
+T__22=22
+RULE_ANY_OTHER=10
+T__21=21
+T__20=20
+T__19=19
+T__16=16
+T__15=15
+T__18=18
+T__17=17
+T__12=12
+T__11=11
+T__14=14
+T__13=13
+RULE_INT=5
+T__42=42
+T__43=43
+T__40=40
+T__41=41
+T__46=46
+T__47=47
+T__44=44
+T__45=45
+T__48=48
+RULE_SL_COMMENT=8
+RULE_ML_COMMENT=7
+T__30=30
+T__31=31
+RULE_STRING=6
+T__32=32
+T__33=33
+T__34=34
+T__35=35
+T__36=36
+T__37=37
+T__38=38
+T__39=39
+RULE_WS=9
+'singleThreaded'=47
+'ns'=43
+'NodeRef'=15
+'PhysicalModel'=11
+'prio'=26
+'ms'=41
+'model'=31
+'multiThreaded'=48
+'priomax'=21
+'.*'=38
+'msgpoolsize'=29
+'='=19
+'execmode'=24
+'interval'=25
+'mixed'=46
+'+'=34
+'.'=39
+'msgblocksize'=28
+'Thread'=23
+'import'=36
+'}'=13
+'priomin'=20
+'blocked'=45
+'us'=42
+'runtime'=18
+'DefaultThread'=22
+'stacksize'=27
+'{'=12
+'NodeClass'=17
+'PhysicalSystem'=14
+'polled'=44
+'s'=40
+'RuntimeClass'=30
+':'=16
+'['=32
+'-'=35
+']'=33
+'from'=37
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java
index 8b3abfd38..3f10a3519 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java
@@ -1,2158 +1,2158 @@
-package org.eclipse.etrice.core.etphys.parser.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.parser.antlr.Lexer;
-
-
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
-
+package org.eclipse.etrice.core.etphys.parser.antlr.internal;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.parser.antlr.Lexer;
+
+
+import org.antlr.runtime.*;
+import java.util.Stack;
+import java.util.List;
+import java.util.ArrayList;
+
@SuppressWarnings("all")
-public class InternalETPhysLexer extends Lexer {
- public static final int RULE_ID=4;
- public static final int T__29=29;
- public static final int T__28=28;
- public static final int T__27=27;
- public static final int T__26=26;
- public static final int T__25=25;
- public static final int T__24=24;
- public static final int T__23=23;
- public static final int T__22=22;
- public static final int T__21=21;
- public static final int RULE_ANY_OTHER=10;
- public static final int T__20=20;
- public static final int EOF=-1;
- public static final int T__19=19;
- public static final int T__16=16;
- public static final int T__15=15;
- public static final int T__18=18;
- public static final int T__17=17;
- public static final int T__12=12;
- public static final int T__11=11;
- public static final int T__14=14;
- public static final int T__13=13;
- public static final int RULE_INT=5;
- public static final int T__42=42;
- public static final int T__43=43;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__46=46;
- public static final int T__47=47;
- public static final int T__44=44;
- public static final int T__45=45;
- public static final int T__48=48;
- public static final int RULE_SL_COMMENT=8;
- public static final int RULE_ML_COMMENT=7;
- public static final int T__30=30;
- public static final int T__31=31;
- public static final int RULE_STRING=6;
- public static final int T__32=32;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int T__36=36;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int RULE_WS=9;
-
- // delegates
- // delegators
-
- public InternalETPhysLexer() {;}
- public InternalETPhysLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
- public InternalETPhysLexer(CharStream input, RecognizerSharedState state) {
- super(input,state);
-
- }
- public String getGrammarFileName() { return "../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g"; }
-
- // $ANTLR start "T__11"
- public final void mT__11() throws RecognitionException {
- try {
- int _type = T__11;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:11:7: ( 'PhysicalModel' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:11:9: 'PhysicalModel'
- {
- match("PhysicalModel");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__11"
-
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:7: ( '{' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:9: '{'
- {
- match('{');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__12"
-
- // $ANTLR start "T__13"
- public final void mT__13() throws RecognitionException {
- try {
- int _type = T__13;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:7: ( '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:9: '}'
- {
- match('}');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__13"
-
- // $ANTLR start "T__14"
- public final void mT__14() throws RecognitionException {
- try {
- int _type = T__14;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:7: ( 'PhysicalSystem' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:9: 'PhysicalSystem'
- {
- match("PhysicalSystem");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__14"
-
- // $ANTLR start "T__15"
- public final void mT__15() throws RecognitionException {
- try {
- int _type = T__15;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:7: ( 'NodeRef' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:9: 'NodeRef'
- {
- match("NodeRef");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__15"
-
- // $ANTLR start "T__16"
- public final void mT__16() throws RecognitionException {
- try {
- int _type = T__16;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:7: ( ':' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:9: ':'
- {
- match(':');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__16"
-
- // $ANTLR start "T__17"
- public final void mT__17() throws RecognitionException {
- try {
- int _type = T__17;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:7: ( 'NodeClass' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:9: 'NodeClass'
- {
- match("NodeClass");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__17"
-
- // $ANTLR start "T__18"
- public final void mT__18() throws RecognitionException {
- try {
- int _type = T__18;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:7: ( 'runtime' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:9: 'runtime'
- {
- match("runtime");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__18"
-
- // $ANTLR start "T__19"
- public final void mT__19() throws RecognitionException {
- try {
- int _type = T__19;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:7: ( '=' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:9: '='
- {
- match('=');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__19"
-
- // $ANTLR start "T__20"
- public final void mT__20() throws RecognitionException {
- try {
- int _type = T__20;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:7: ( 'priomin' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:9: 'priomin'
- {
- match("priomin");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__20"
-
- // $ANTLR start "T__21"
- public final void mT__21() throws RecognitionException {
- try {
- int _type = T__21;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:7: ( 'priomax' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:9: 'priomax'
- {
- match("priomax");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__21"
-
- // $ANTLR start "T__22"
- public final void mT__22() throws RecognitionException {
- try {
- int _type = T__22;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:7: ( 'DefaultThread' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:9: 'DefaultThread'
- {
- match("DefaultThread");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__22"
-
- // $ANTLR start "T__23"
- public final void mT__23() throws RecognitionException {
- try {
- int _type = T__23;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:7: ( 'Thread' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:9: 'Thread'
- {
- match("Thread");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__23"
-
- // $ANTLR start "T__24"
- public final void mT__24() throws RecognitionException {
- try {
- int _type = T__24;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:7: ( 'execmode' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:9: 'execmode'
- {
- match("execmode");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__24"
-
- // $ANTLR start "T__25"
- public final void mT__25() throws RecognitionException {
- try {
- int _type = T__25;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:7: ( 'interval' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:9: 'interval'
- {
- match("interval");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__25"
-
- // $ANTLR start "T__26"
- public final void mT__26() throws RecognitionException {
- try {
- int _type = T__26;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:7: ( 'prio' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:9: 'prio'
- {
- match("prio");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__26"
-
- // $ANTLR start "T__27"
- public final void mT__27() throws RecognitionException {
- try {
- int _type = T__27;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:7: ( 'stacksize' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:9: 'stacksize'
- {
- match("stacksize");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__27"
-
- // $ANTLR start "T__28"
- public final void mT__28() throws RecognitionException {
- try {
- int _type = T__28;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:7: ( 'msgblocksize' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:9: 'msgblocksize'
- {
- match("msgblocksize");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__28"
-
- // $ANTLR start "T__29"
- public final void mT__29() throws RecognitionException {
- try {
- int _type = T__29;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:7: ( 'msgpoolsize' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:9: 'msgpoolsize'
- {
- match("msgpoolsize");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__29"
-
- // $ANTLR start "T__30"
- public final void mT__30() throws RecognitionException {
- try {
- int _type = T__30;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:7: ( 'RuntimeClass' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:9: 'RuntimeClass'
- {
- match("RuntimeClass");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__30"
-
- // $ANTLR start "T__31"
- public final void mT__31() throws RecognitionException {
- try {
- int _type = T__31;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:7: ( 'model' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:9: 'model'
- {
- match("model");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__31"
-
- // $ANTLR start "T__32"
- public final void mT__32() throws RecognitionException {
- try {
- int _type = T__32;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:7: ( '[' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:9: '['
- {
- match('[');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__32"
-
- // $ANTLR start "T__33"
- public final void mT__33() throws RecognitionException {
- try {
- int _type = T__33;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:7: ( ']' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:9: ']'
- {
- match(']');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__33"
-
- // $ANTLR start "T__34"
- public final void mT__34() throws RecognitionException {
- try {
- int _type = T__34;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:7: ( '+' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:9: '+'
- {
- match('+');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__34"
-
- // $ANTLR start "T__35"
- public final void mT__35() throws RecognitionException {
- try {
- int _type = T__35;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:7: ( '-' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:9: '-'
- {
- match('-');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__35"
-
- // $ANTLR start "T__36"
- public final void mT__36() throws RecognitionException {
- try {
- int _type = T__36;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:7: ( 'import' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:9: 'import'
- {
- match("import");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__36"
-
- // $ANTLR start "T__37"
- public final void mT__37() throws RecognitionException {
- try {
- int _type = T__37;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:7: ( 'from' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:9: 'from'
- {
- match("from");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__37"
-
- // $ANTLR start "T__38"
- public final void mT__38() throws RecognitionException {
- try {
- int _type = T__38;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:7: ( '.*' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:9: '.*'
- {
- match(".*");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__38"
-
- // $ANTLR start "T__39"
- public final void mT__39() throws RecognitionException {
- try {
- int _type = T__39;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:7: ( '.' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:9: '.'
- {
- match('.');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__39"
-
- // $ANTLR start "T__40"
- public final void mT__40() throws RecognitionException {
- try {
- int _type = T__40;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:7: ( 's' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:9: 's'
- {
- match('s');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__40"
-
- // $ANTLR start "T__41"
- public final void mT__41() throws RecognitionException {
- try {
- int _type = T__41;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:7: ( 'ms' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:9: 'ms'
- {
- match("ms");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__41"
-
- // $ANTLR start "T__42"
- public final void mT__42() throws RecognitionException {
- try {
- int _type = T__42;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:7: ( 'us' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:9: 'us'
- {
- match("us");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__42"
-
- // $ANTLR start "T__43"
- public final void mT__43() throws RecognitionException {
- try {
- int _type = T__43;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:7: ( 'ns' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:9: 'ns'
- {
- match("ns");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__43"
-
- // $ANTLR start "T__44"
- public final void mT__44() throws RecognitionException {
- try {
- int _type = T__44;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:7: ( 'polled' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:9: 'polled'
- {
- match("polled");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__44"
-
- // $ANTLR start "T__45"
- public final void mT__45() throws RecognitionException {
- try {
- int _type = T__45;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:7: ( 'blocked' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:9: 'blocked'
- {
- match("blocked");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__45"
-
- // $ANTLR start "T__46"
- public final void mT__46() throws RecognitionException {
- try {
- int _type = T__46;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:7: ( 'mixed' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:9: 'mixed'
- {
- match("mixed");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__46"
-
- // $ANTLR start "T__47"
- public final void mT__47() throws RecognitionException {
- try {
- int _type = T__47;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:7: ( 'singleThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:9: 'singleThreaded'
- {
- match("singleThreaded");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__47"
-
- // $ANTLR start "T__48"
- public final void mT__48() throws RecognitionException {
- try {
- int _type = T__48;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:7: ( 'multiThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:9: 'multiThreaded'
- {
- match("multiThreaded");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__48"
-
- // $ANTLR start "RULE_ID"
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:11: ( '^' )?
- int alt1=2;
- int LA1_0 = input.LA(1);
-
- if ( (LA1_0=='^') ) {
- alt1=1;
- }
- switch (alt1) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:11: '^'
- {
- match('^');
-
- }
- break;
-
- }
-
- if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop2:
- do {
- int alt2=2;
- int LA2_0 = input.LA(1);
-
- if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {
- alt2=1;
- }
-
-
- switch (alt2) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:
- {
- if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop2;
- }
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:12: ( '0' .. '9' )+
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:12: ( '0' .. '9' )+
- int cnt3=0;
- loop3:
- do {
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( ((LA3_0>='0' && LA3_0<='9')) ) {
- alt3=1;
- }
-
-
- switch (alt3) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:13: '0' .. '9'
- {
- matchRange('0','9');
-
- }
- break;
-
- default :
- if ( cnt3 >= 1 ) break loop3;
- EarlyExitException eee =
- new EarlyExitException(3, input);
- throw eee;
- }
- cnt3++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_INT"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( (LA6_0=='\"') ) {
- alt6=1;
- }
- else if ( (LA6_0=='\'') ) {
- alt6=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 6, 0, input);
-
- throw nvae;
- }
- switch (alt6) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
- {
- match('\"');
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop4:
- do {
- int alt4=3;
- int LA4_0 = input.LA(1);
-
- if ( (LA4_0=='\\') ) {
- alt4=1;
- }
- else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
- alt4=2;
- }
-
-
- switch (alt4) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
- {
- match('\\');
- if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:66: ~ ( ( '\\\\' | '\"' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop4;
- }
- } while (true);
-
- match('\"');
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
- {
- match('\'');
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop5:
- do {
- int alt5=3;
- int LA5_0 = input.LA(1);
-
- if ( (LA5_0=='\\') ) {
- alt5=1;
- }
- else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
- alt5=2;
- }
-
-
- switch (alt5) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
- {
- match('\\');
- if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:137: ~ ( ( '\\\\' | '\\'' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop5;
- }
- } while (true);
-
- match('\'');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:19: '/*' ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:24: ( options {greedy=false; } : . )*
- loop7:
- do {
- int alt7=2;
- int LA7_0 = input.LA(1);
-
- if ( (LA7_0=='*') ) {
- int LA7_1 = input.LA(2);
-
- if ( (LA7_1=='/') ) {
- alt7=2;
- }
- else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
- alt7=1;
- }
-
-
- }
- else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
- alt7=1;
- }
-
-
- switch (alt7) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:52: .
- {
- matchAny();
-
- }
- break;
-
- default :
- break loop7;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ML_COMMENT"
-
- // $ANTLR start "RULE_SL_COMMENT"
- public final void mRULE_SL_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_SL_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop8:
- do {
- int alt8=2;
- int LA8_0 = input.LA(1);
-
- if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
- alt8=1;
- }
-
-
- switch (alt8) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:24: ~ ( ( '\\n' | '\\r' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop8;
- }
- } while (true);
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:40: ( ( '\\r' )? '\\n' )?
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( (LA10_0=='\n'||LA10_0=='\r') ) {
- alt10=1;
- }
- switch (alt10) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:41: ( '\\r' )? '\\n'
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:41: ( '\\r' )?
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( (LA9_0=='\r') ) {
- alt9=1;
- }
- switch (alt9) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:41: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_WS"
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1216:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1216:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1216:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt11=0;
- loop11:
- do {
- int alt11=2;
- int LA11_0 = input.LA(1);
-
- if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {
- alt11=1;
- }
-
-
- switch (alt11) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:
- {
- if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- if ( cnt11 >= 1 ) break loop11;
- EarlyExitException eee =
- new EarlyExitException(11, input);
- throw eee;
- }
- cnt11++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1218:16: ( . )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1218:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ANY_OTHER"
-
- public void mTokens() throws RecognitionException {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt12=45;
- alt12 = dfa12.predict(input);
- switch (alt12) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:10: T__11
- {
- mT__11();
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:16: T__12
- {
- mT__12();
-
- }
- break;
- case 3 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:22: T__13
- {
- mT__13();
-
- }
- break;
- case 4 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:28: T__14
- {
- mT__14();
-
- }
- break;
- case 5 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:34: T__15
- {
- mT__15();
-
- }
- break;
- case 6 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:40: T__16
- {
- mT__16();
-
- }
- break;
- case 7 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:46: T__17
- {
- mT__17();
-
- }
- break;
- case 8 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:52: T__18
- {
- mT__18();
-
- }
- break;
- case 9 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:58: T__19
- {
- mT__19();
-
- }
- break;
- case 10 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:64: T__20
- {
- mT__20();
-
- }
- break;
- case 11 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:70: T__21
- {
- mT__21();
-
- }
- break;
- case 12 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:76: T__22
- {
- mT__22();
-
- }
- break;
- case 13 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:82: T__23
- {
- mT__23();
-
- }
- break;
- case 14 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:88: T__24
- {
- mT__24();
-
- }
- break;
- case 15 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:94: T__25
- {
- mT__25();
-
- }
- break;
- case 16 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:100: T__26
- {
- mT__26();
-
- }
- break;
- case 17 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:106: T__27
- {
- mT__27();
-
- }
- break;
- case 18 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:112: T__28
- {
- mT__28();
-
- }
- break;
- case 19 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:118: T__29
- {
- mT__29();
-
- }
- break;
- case 20 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:124: T__30
- {
- mT__30();
-
- }
- break;
- case 21 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:130: T__31
- {
- mT__31();
-
- }
- break;
- case 22 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:136: T__32
- {
- mT__32();
-
- }
- break;
- case 23 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:142: T__33
- {
- mT__33();
-
- }
- break;
- case 24 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:148: T__34
- {
- mT__34();
-
- }
- break;
- case 25 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:154: T__35
- {
- mT__35();
-
- }
- break;
- case 26 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:160: T__36
- {
- mT__36();
-
- }
- break;
- case 27 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:166: T__37
- {
- mT__37();
-
- }
- break;
- case 28 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:172: T__38
- {
- mT__38();
-
- }
- break;
- case 29 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:178: T__39
- {
- mT__39();
-
- }
- break;
- case 30 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:184: T__40
- {
- mT__40();
-
- }
- break;
- case 31 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:190: T__41
- {
- mT__41();
-
- }
- break;
- case 32 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:196: T__42
- {
- mT__42();
-
- }
- break;
- case 33 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:202: T__43
- {
- mT__43();
-
- }
- break;
- case 34 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:208: T__44
- {
- mT__44();
-
- }
- break;
- case 35 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:214: T__45
- {
- mT__45();
-
- }
- break;
- case 36 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:220: T__46
- {
- mT__46();
-
- }
- break;
- case 37 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:226: T__47
- {
- mT__47();
-
- }
- break;
- case 38 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:232: T__48
- {
- mT__48();
-
- }
- break;
- case 39 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:238: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 40 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:246: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 41 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:255: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 42 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:267: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 43 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:283: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 44 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:299: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 45 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:307: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA12 dfa12 = new DFA12(this);
- static final String DFA12_eotS =
- "\1\uffff\1\42\2\uffff\1\42\1\uffff\1\42\1\uffff\5\42\1\62\2\42"+
- "\4\uffff\1\42\1\76\3\42\1\40\2\uffff\3\40\2\uffff\1\42\3\uffff\1"+
- "\42\1\uffff\1\42\1\uffff\11\42\1\uffff\1\124\4\42\4\uffff\1\42\2"+
- "\uffff\1\132\1\133\1\42\5\uffff\15\42\1\uffff\5\42\2\uffff\4\42"+
- "\1\166\16\42\1\u0085\6\42\1\uffff\12\42\1\u0097\1\u0098\2\42\1\uffff"+
- "\7\42\1\u00a2\1\42\1\u00a4\2\42\1\u00a7\4\42\2\uffff\4\42\1\u00b0"+
- "\1\42\1\u00b2\1\u00b3\1\u00b4\1\uffff\1\42\1\uffff\2\42\1\uffff"+
- "\6\42\1\u00be\1\42\1\uffff\1\42\3\uffff\1\42\1\u00c3\1\u00c4\6\42"+
- "\1\uffff\2\42\1\u00cd\1\42\2\uffff\1\u00cf\7\42\1\uffff\1\42\1\uffff"+
- "\12\42\1\u00e2\6\42\1\u00e9\1\uffff\1\42\1\u00eb\1\u00ec\1\42\1"+
- "\u00ee\1\42\1\uffff\1\u00f0\2\uffff\1\u00f1\1\uffff\1\u00f2\3\uffff";
- static final String DFA12_eofS =
- "\u00f3\uffff";
- static final String DFA12_minS =
- "\1\0\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\157\1\145\1\150"+
- "\1\170\1\155\1\60\1\151\1\165\4\uffff\1\162\1\52\2\163\1\154\1\101"+
- "\2\uffff\2\0\1\52\2\uffff\1\171\3\uffff\1\144\1\uffff\1\156\1\uffff"+
- "\1\151\1\154\1\146\1\162\1\145\1\164\1\160\1\141\1\156\1\uffff\1"+
- "\60\1\144\1\170\1\154\1\156\4\uffff\1\157\2\uffff\2\60\1\157\5\uffff"+
- "\1\163\1\145\1\164\1\157\1\154\1\141\1\145\1\143\1\145\1\157\1\143"+
- "\1\147\1\142\1\uffff\2\145\2\164\1\155\2\uffff\1\143\1\151\1\103"+
- "\1\151\1\60\1\145\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154"+
- "\1\144\2\151\1\60\1\153\1\143\1\145\1\154\1\155\1\141\1\uffff\1"+
- "\144\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2\157\2\60\1\124"+
- "\1\155\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1\170\1\60\1"+
- "\164\1\60\1\144\1\141\1\60\1\151\1\124\1\143\1\154\2\uffff\1\150"+
- "\1\145\1\144\1\154\1\60\1\163\3\60\1\uffff\1\124\1\uffff\1\145\1"+
- "\154\1\uffff\1\172\1\150\1\153\1\163\1\162\1\103\1\60\1\115\1\uffff"+
- "\1\163\3\uffff\1\150\2\60\1\145\1\162\1\163\1\151\1\145\1\154\1"+
- "\uffff\1\157\1\171\1\60\1\162\2\uffff\1\60\1\145\1\151\1\172\2\141"+
- "\1\144\1\163\1\uffff\1\145\1\uffff\1\141\1\172\1\145\1\144\1\163"+
- "\1\145\1\164\1\141\1\144\1\145\1\60\1\145\1\163\1\154\1\145\1\144"+
- "\1\145\1\60\1\uffff\1\144\2\60\1\155\1\60\1\144\1\uffff\1\60\2\uffff"+
- "\1\60\1\uffff\1\60\3\uffff";
- static final String DFA12_maxS =
- "\1\uffff\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\162\1\145"+
- "\1\150\1\170\1\156\1\172\2\165\4\uffff\1\162\1\52\2\163\1\154\1"+
- "\172\2\uffff\2\uffff\1\57\2\uffff\1\171\3\uffff\1\144\1\uffff\1"+
- "\156\1\uffff\1\151\1\154\1\146\1\162\1\145\1\164\1\160\1\141\1\156"+
- "\1\uffff\1\172\1\144\1\170\1\154\1\156\4\uffff\1\157\2\uffff\2\172"+
- "\1\157\5\uffff\1\163\1\145\1\164\1\157\1\154\1\141\1\145\1\143\1"+
- "\145\1\157\1\143\1\147\1\160\1\uffff\2\145\2\164\1\155\2\uffff\1"+
- "\143\1\151\1\122\1\151\1\172\1\145\1\165\1\141\1\155\2\162\1\153"+
- "\2\154\1\157\1\154\1\144\2\151\1\172\1\153\1\143\1\145\1\154\1\155"+
- "\1\151\1\uffff\1\144\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2"+
- "\157\2\172\1\124\1\155\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156"+
- "\1\170\1\172\1\164\1\172\1\144\1\141\1\172\1\151\1\124\1\143\1\154"+
- "\2\uffff\1\150\1\145\1\144\1\154\1\172\1\163\3\172\1\uffff\1\124"+
- "\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163\1\162\1\103"+
- "\1\172\1\123\1\uffff\1\163\3\uffff\1\150\2\172\1\145\1\162\1\163"+
- "\1\151\1\145\1\154\1\uffff\1\157\1\171\1\172\1\162\2\uffff\1\172"+
- "\1\145\1\151\1\172\2\141\1\144\1\163\1\uffff\1\145\1\uffff\1\141"+
- "\1\172\1\145\1\144\1\163\1\145\1\164\1\141\1\144\1\145\1\172\1\145"+
- "\1\163\1\154\1\145\1\144\1\145\1\172\1\uffff\1\144\2\172\1\155\1"+
- "\172\1\144\1\uffff\1\172\2\uffff\1\172\1\uffff\1\172\3\uffff";
- static final String DFA12_acceptS =
- "\2\uffff\1\2\1\3\1\uffff\1\6\1\uffff\1\11\10\uffff\1\26\1\27\1"+
- "\30\1\31\6\uffff\1\47\1\50\3\uffff\1\54\1\55\1\uffff\1\47\1\2\1"+
- "\3\1\uffff\1\6\1\uffff\1\11\11\uffff\1\36\5\uffff\1\26\1\27\1\30"+
- "\1\31\1\uffff\1\34\1\35\3\uffff\1\50\1\51\1\52\1\53\1\54\15\uffff"+
- "\1\37\5\uffff\1\40\1\41\32\uffff\1\20\16\uffff\1\33\21\uffff\1\25"+
- "\1\44\11\uffff\1\42\1\uffff\1\15\2\uffff\1\32\10\uffff\1\5\1\uffff"+
- "\1\10\1\12\1\13\11\uffff\1\43\4\uffff\1\16\1\17\10\uffff\1\7\1\uffff"+
- "\1\21\22\uffff\1\23\6\uffff\1\22\1\uffff\1\24\1\1\1\uffff\1\14\1"+
- "\uffff\1\46\1\4\1\45";
- static final String DFA12_specialS =
- "\1\1\33\uffff\1\2\1\0\u00d5\uffff}>";
- static final String[] DFA12_transitionS = {
- "\11\40\2\37\2\40\1\37\22\40\1\37\1\40\1\34\4\40\1\35\3\40\1"+
- "\22\1\40\1\23\1\25\1\36\12\33\1\5\2\40\1\7\3\40\3\32\1\11\11"+
- "\32\1\4\1\32\1\1\1\32\1\17\1\32\1\12\6\32\1\20\1\40\1\21\1\31"+
- "\1\32\1\40\1\32\1\30\2\32\1\13\1\24\2\32\1\14\3\32\1\16\1\27"+
- "\1\32\1\10\1\32\1\6\1\15\1\32\1\26\5\32\1\2\1\40\1\3\uff82\40",
- "\1\41",
- "",
- "",
- "\1\45",
- "",
- "\1\47",
- "",
- "\1\52\2\uffff\1\51",
- "\1\53",
- "\1\54",
- "\1\55",
- "\1\57\1\56",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\10\42\1\61\12\42"+
- "\1\60\6\42",
- "\1\65\5\uffff\1\64\3\uffff\1\63\1\uffff\1\66",
- "\1\67",
- "",
- "",
- "",
- "",
- "\1\74",
- "\1\75",
- "\1\77",
- "\1\100",
- "\1\101",
- "\32\42\4\uffff\1\42\1\uffff\32\42",
- "",
- "",
- "\0\103",
- "\0\103",
- "\1\104\4\uffff\1\105",
- "",
- "",
- "\1\107",
- "",
- "",
- "",
- "\1\110",
- "",
- "\1\111",
- "",
- "\1\112",
- "\1\113",
- "\1\114",
- "\1\115",
- "\1\116",
- "\1\117",
- "\1\120",
- "\1\121",
- "\1\122",
- "",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\6\42\1\123\23\42",
- "\1\125",
- "\1\126",
- "\1\127",
- "\1\130",
- "",
- "",
- "",
- "",
- "\1\131",
- "",
- "",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\134",
- "",
- "",
- "",
- "",
- "",
- "\1\135",
- "\1\136",
- "\1\137",
- "\1\140",
- "\1\141",
- "\1\142",
- "\1\143",
- "\1\144",
- "\1\145",
- "\1\146",
- "\1\147",
- "\1\150",
- "\1\151\15\uffff\1\152",
- "",
- "\1\153",
- "\1\154",
- "\1\155",
- "\1\156",
- "\1\157",
- "",
- "",
- "\1\160",
- "\1\161",
- "\1\163\16\uffff\1\162",
- "\1\164",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\14\42\1\165\15\42",
- "\1\167",
- "\1\170",
- "\1\171",
- "\1\172",
- "\1\173",
- "\1\174",
- "\1\175",
- "\1\176",
- "\1\177",
- "\1\u0080",
- "\1\u0081",
- "\1\u0082",
- "\1\u0083",
- "\1\u0084",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u0086",
- "\1\u0087",
- "\1\u0088",
- "\1\u0089",
- "\1\u008a",
- "\1\u008c\7\uffff\1\u008b",
- "",
- "\1\u008d",
- "\1\u008e",
- "\1\u008f",
- "\1\u0090",
- "\1\u0091",
- "\1\u0092",
- "\1\u0093",
- "\1\u0094",
- "\1\u0095",
- "\1\u0096",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u0099",
- "\1\u009a",
- "",
- "\1\u009b",
- "\1\u009c",
- "\1\u009d",
- "\1\u009e",
- "\1\u009f",
- "\1\u00a0",
- "\1\u00a1",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00a3",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00a5",
- "\1\u00a6",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00a8",
- "\1\u00a9",
- "\1\u00aa",
- "\1\u00ab",
- "",
- "",
- "\1\u00ac",
- "\1\u00ad",
- "\1\u00ae",
- "\1\u00af",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00b1",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "",
- "\1\u00b5",
- "",
- "\1\u00b6",
- "\1\u00b7",
- "",
- "\1\u00b8",
- "\1\u00b9",
- "\1\u00ba",
- "\1\u00bb",
- "\1\u00bc",
- "\1\u00bd",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00bf\5\uffff\1\u00c0",
- "",
- "\1\u00c1",
- "",
- "",
- "",
- "\1\u00c2",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00c5",
- "\1\u00c6",
- "\1\u00c7",
- "\1\u00c8",
- "\1\u00c9",
- "\1\u00ca",
- "",
- "\1\u00cb",
- "\1\u00cc",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00ce",
- "",
- "",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00d0",
- "\1\u00d1",
- "\1\u00d2",
- "\1\u00d3",
- "\1\u00d4",
- "\1\u00d5",
- "\1\u00d6",
- "",
- "\1\u00d7",
- "",
- "\1\u00d8",
- "\1\u00d9",
- "\1\u00da",
- "\1\u00db",
- "\1\u00dc",
- "\1\u00dd",
- "\1\u00de",
- "\1\u00df",
- "\1\u00e0",
- "\1\u00e1",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00e3",
- "\1\u00e4",
- "\1\u00e5",
- "\1\u00e6",
- "\1\u00e7",
- "\1\u00e8",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "",
- "\1\u00ea",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00ed",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "\1\u00ef",
- "",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "",
- "",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "",
- "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
- "",
- "",
- ""
- };
-
- static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
- static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
- static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
- static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
- static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
- static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
- static final short[][] DFA12_transition;
-
- static {
- int numStates = DFA12_transitionS.length;
- DFA12_transition = new short[numStates][];
- for (int i=0; i<numStates; i++) {
- DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
- }
- }
-
- class DFA12 extends DFA {
-
- public DFA12(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 12;
- this.eot = DFA12_eot;
- this.eof = DFA12_eof;
- this.min = DFA12_min;
- this.max = DFA12_max;
- this.accept = DFA12_accept;
- this.special = DFA12_special;
- this.transition = DFA12_transition;
- }
- public String getDescription() {
- return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
- }
- public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
- IntStream input = _input;
- int _s = s;
- switch ( s ) {
- case 0 :
- int LA12_29 = input.LA(1);
-
- s = -1;
- if ( ((LA12_29>='\u0000' && LA12_29<='\uFFFF')) ) {s = 67;}
-
- else s = 32;
-
- if ( s>=0 ) return s;
- break;
- case 1 :
- int LA12_0 = input.LA(1);
-
- s = -1;
- if ( (LA12_0=='P') ) {s = 1;}
-
- else if ( (LA12_0=='{') ) {s = 2;}
-
- else if ( (LA12_0=='}') ) {s = 3;}
-
- else if ( (LA12_0=='N') ) {s = 4;}
-
- else if ( (LA12_0==':') ) {s = 5;}
-
- else if ( (LA12_0=='r') ) {s = 6;}
-
- else if ( (LA12_0=='=') ) {s = 7;}
-
- else if ( (LA12_0=='p') ) {s = 8;}
-
- else if ( (LA12_0=='D') ) {s = 9;}
-
- else if ( (LA12_0=='T') ) {s = 10;}
-
- else if ( (LA12_0=='e') ) {s = 11;}
-
- else if ( (LA12_0=='i') ) {s = 12;}
-
- else if ( (LA12_0=='s') ) {s = 13;}
-
- else if ( (LA12_0=='m') ) {s = 14;}
-
- else if ( (LA12_0=='R') ) {s = 15;}
-
- else if ( (LA12_0=='[') ) {s = 16;}
-
- else if ( (LA12_0==']') ) {s = 17;}
-
- else if ( (LA12_0=='+') ) {s = 18;}
-
- else if ( (LA12_0=='-') ) {s = 19;}
-
- else if ( (LA12_0=='f') ) {s = 20;}
-
- else if ( (LA12_0=='.') ) {s = 21;}
-
- else if ( (LA12_0=='u') ) {s = 22;}
-
- else if ( (LA12_0=='n') ) {s = 23;}
-
- else if ( (LA12_0=='b') ) {s = 24;}
-
- else if ( (LA12_0=='^') ) {s = 25;}
-
- else if ( ((LA12_0>='A' && LA12_0<='C')||(LA12_0>='E' && LA12_0<='M')||LA12_0=='O'||LA12_0=='Q'||LA12_0=='S'||(LA12_0>='U' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='a'||(LA12_0>='c' && LA12_0<='d')||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='o'||LA12_0=='q'||LA12_0=='t'||(LA12_0>='v' && LA12_0<='z')) ) {s = 26;}
-
- else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 27;}
-
- else if ( (LA12_0=='\"') ) {s = 28;}
-
- else if ( (LA12_0=='\'') ) {s = 29;}
-
- else if ( (LA12_0=='/') ) {s = 30;}
-
- else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 31;}
-
- else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='*')||LA12_0==','||(LA12_0>=';' && LA12_0<='<')||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 32;}
-
- if ( s>=0 ) return s;
- break;
- case 2 :
- int LA12_28 = input.LA(1);
-
- s = -1;
- if ( ((LA12_28>='\u0000' && LA12_28<='\uFFFF')) ) {s = 67;}
-
- else s = 32;
-
- if ( s>=0 ) return s;
- break;
- }
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 12, _s, input);
- error(nvae);
- throw nvae;
- }
- }
-
-
+public class InternalETPhysLexer extends Lexer {
+ public static final int RULE_ID=4;
+ public static final int T__29=29;
+ public static final int T__28=28;
+ public static final int T__27=27;
+ public static final int T__26=26;
+ public static final int T__25=25;
+ public static final int T__24=24;
+ public static final int T__23=23;
+ public static final int T__22=22;
+ public static final int T__21=21;
+ public static final int RULE_ANY_OTHER=10;
+ public static final int T__20=20;
+ public static final int EOF=-1;
+ public static final int T__19=19;
+ public static final int T__16=16;
+ public static final int T__15=15;
+ public static final int T__18=18;
+ public static final int T__17=17;
+ public static final int T__12=12;
+ public static final int T__11=11;
+ public static final int T__14=14;
+ public static final int T__13=13;
+ public static final int RULE_INT=5;
+ public static final int T__42=42;
+ public static final int T__43=43;
+ public static final int T__40=40;
+ public static final int T__41=41;
+ public static final int T__46=46;
+ public static final int T__47=47;
+ public static final int T__44=44;
+ public static final int T__45=45;
+ public static final int T__48=48;
+ public static final int RULE_SL_COMMENT=8;
+ public static final int RULE_ML_COMMENT=7;
+ public static final int T__30=30;
+ public static final int T__31=31;
+ public static final int RULE_STRING=6;
+ public static final int T__32=32;
+ public static final int T__33=33;
+ public static final int T__34=34;
+ public static final int T__35=35;
+ public static final int T__36=36;
+ public static final int T__37=37;
+ public static final int T__38=38;
+ public static final int T__39=39;
+ public static final int RULE_WS=9;
+
+ // delegates
+ // delegators
+
+ public InternalETPhysLexer() {;}
+ public InternalETPhysLexer(CharStream input) {
+ this(input, new RecognizerSharedState());
+ }
+ public InternalETPhysLexer(CharStream input, RecognizerSharedState state) {
+ super(input,state);
+
+ }
+ public String getGrammarFileName() { return "../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g"; }
+
+ // $ANTLR start "T__11"
+ public final void mT__11() throws RecognitionException {
+ try {
+ int _type = T__11;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:11:7: ( 'PhysicalModel' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:11:9: 'PhysicalModel'
+ {
+ match("PhysicalModel");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__11"
+
+ // $ANTLR start "T__12"
+ public final void mT__12() throws RecognitionException {
+ try {
+ int _type = T__12;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:7: ( '{' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:9: '{'
+ {
+ match('{');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__12"
+
+ // $ANTLR start "T__13"
+ public final void mT__13() throws RecognitionException {
+ try {
+ int _type = T__13;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:7: ( '}' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:9: '}'
+ {
+ match('}');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__13"
+
+ // $ANTLR start "T__14"
+ public final void mT__14() throws RecognitionException {
+ try {
+ int _type = T__14;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:7: ( 'PhysicalSystem' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:9: 'PhysicalSystem'
+ {
+ match("PhysicalSystem");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__14"
+
+ // $ANTLR start "T__15"
+ public final void mT__15() throws RecognitionException {
+ try {
+ int _type = T__15;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:7: ( 'NodeRef' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:9: 'NodeRef'
+ {
+ match("NodeRef");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__15"
+
+ // $ANTLR start "T__16"
+ public final void mT__16() throws RecognitionException {
+ try {
+ int _type = T__16;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:7: ( ':' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:9: ':'
+ {
+ match(':');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__16"
+
+ // $ANTLR start "T__17"
+ public final void mT__17() throws RecognitionException {
+ try {
+ int _type = T__17;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:7: ( 'NodeClass' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:9: 'NodeClass'
+ {
+ match("NodeClass");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__17"
+
+ // $ANTLR start "T__18"
+ public final void mT__18() throws RecognitionException {
+ try {
+ int _type = T__18;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:7: ( 'runtime' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:9: 'runtime'
+ {
+ match("runtime");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__18"
+
+ // $ANTLR start "T__19"
+ public final void mT__19() throws RecognitionException {
+ try {
+ int _type = T__19;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:7: ( '=' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:9: '='
+ {
+ match('=');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__19"
+
+ // $ANTLR start "T__20"
+ public final void mT__20() throws RecognitionException {
+ try {
+ int _type = T__20;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:7: ( 'priomin' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:9: 'priomin'
+ {
+ match("priomin");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__20"
+
+ // $ANTLR start "T__21"
+ public final void mT__21() throws RecognitionException {
+ try {
+ int _type = T__21;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:7: ( 'priomax' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:9: 'priomax'
+ {
+ match("priomax");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__21"
+
+ // $ANTLR start "T__22"
+ public final void mT__22() throws RecognitionException {
+ try {
+ int _type = T__22;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:7: ( 'DefaultThread' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:9: 'DefaultThread'
+ {
+ match("DefaultThread");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__22"
+
+ // $ANTLR start "T__23"
+ public final void mT__23() throws RecognitionException {
+ try {
+ int _type = T__23;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:7: ( 'Thread' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:9: 'Thread'
+ {
+ match("Thread");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__23"
+
+ // $ANTLR start "T__24"
+ public final void mT__24() throws RecognitionException {
+ try {
+ int _type = T__24;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:7: ( 'execmode' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:9: 'execmode'
+ {
+ match("execmode");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__24"
+
+ // $ANTLR start "T__25"
+ public final void mT__25() throws RecognitionException {
+ try {
+ int _type = T__25;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:7: ( 'interval' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:9: 'interval'
+ {
+ match("interval");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__25"
+
+ // $ANTLR start "T__26"
+ public final void mT__26() throws RecognitionException {
+ try {
+ int _type = T__26;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:7: ( 'prio' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:9: 'prio'
+ {
+ match("prio");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__26"
+
+ // $ANTLR start "T__27"
+ public final void mT__27() throws RecognitionException {
+ try {
+ int _type = T__27;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:7: ( 'stacksize' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:9: 'stacksize'
+ {
+ match("stacksize");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__27"
+
+ // $ANTLR start "T__28"
+ public final void mT__28() throws RecognitionException {
+ try {
+ int _type = T__28;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:7: ( 'msgblocksize' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:9: 'msgblocksize'
+ {
+ match("msgblocksize");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__28"
+
+ // $ANTLR start "T__29"
+ public final void mT__29() throws RecognitionException {
+ try {
+ int _type = T__29;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:7: ( 'msgpoolsize' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:9: 'msgpoolsize'
+ {
+ match("msgpoolsize");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__29"
+
+ // $ANTLR start "T__30"
+ public final void mT__30() throws RecognitionException {
+ try {
+ int _type = T__30;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:7: ( 'RuntimeClass' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:9: 'RuntimeClass'
+ {
+ match("RuntimeClass");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__30"
+
+ // $ANTLR start "T__31"
+ public final void mT__31() throws RecognitionException {
+ try {
+ int _type = T__31;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:7: ( 'model' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:9: 'model'
+ {
+ match("model");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__31"
+
+ // $ANTLR start "T__32"
+ public final void mT__32() throws RecognitionException {
+ try {
+ int _type = T__32;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:7: ( '[' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:9: '['
+ {
+ match('[');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__32"
+
+ // $ANTLR start "T__33"
+ public final void mT__33() throws RecognitionException {
+ try {
+ int _type = T__33;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:7: ( ']' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:9: ']'
+ {
+ match(']');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__33"
+
+ // $ANTLR start "T__34"
+ public final void mT__34() throws RecognitionException {
+ try {
+ int _type = T__34;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:7: ( '+' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:9: '+'
+ {
+ match('+');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__34"
+
+ // $ANTLR start "T__35"
+ public final void mT__35() throws RecognitionException {
+ try {
+ int _type = T__35;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:7: ( '-' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:9: '-'
+ {
+ match('-');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__35"
+
+ // $ANTLR start "T__36"
+ public final void mT__36() throws RecognitionException {
+ try {
+ int _type = T__36;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:7: ( 'import' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:9: 'import'
+ {
+ match("import");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__36"
+
+ // $ANTLR start "T__37"
+ public final void mT__37() throws RecognitionException {
+ try {
+ int _type = T__37;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:7: ( 'from' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:9: 'from'
+ {
+ match("from");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__37"
+
+ // $ANTLR start "T__38"
+ public final void mT__38() throws RecognitionException {
+ try {
+ int _type = T__38;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:7: ( '.*' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:9: '.*'
+ {
+ match(".*");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__38"
+
+ // $ANTLR start "T__39"
+ public final void mT__39() throws RecognitionException {
+ try {
+ int _type = T__39;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:7: ( '.' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:9: '.'
+ {
+ match('.');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__39"
+
+ // $ANTLR start "T__40"
+ public final void mT__40() throws RecognitionException {
+ try {
+ int _type = T__40;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:7: ( 's' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:9: 's'
+ {
+ match('s');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__40"
+
+ // $ANTLR start "T__41"
+ public final void mT__41() throws RecognitionException {
+ try {
+ int _type = T__41;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:7: ( 'ms' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:9: 'ms'
+ {
+ match("ms");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__41"
+
+ // $ANTLR start "T__42"
+ public final void mT__42() throws RecognitionException {
+ try {
+ int _type = T__42;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:7: ( 'us' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:9: 'us'
+ {
+ match("us");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__42"
+
+ // $ANTLR start "T__43"
+ public final void mT__43() throws RecognitionException {
+ try {
+ int _type = T__43;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:7: ( 'ns' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:9: 'ns'
+ {
+ match("ns");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__43"
+
+ // $ANTLR start "T__44"
+ public final void mT__44() throws RecognitionException {
+ try {
+ int _type = T__44;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:7: ( 'polled' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:9: 'polled'
+ {
+ match("polled");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__44"
+
+ // $ANTLR start "T__45"
+ public final void mT__45() throws RecognitionException {
+ try {
+ int _type = T__45;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:7: ( 'blocked' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:9: 'blocked'
+ {
+ match("blocked");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__45"
+
+ // $ANTLR start "T__46"
+ public final void mT__46() throws RecognitionException {
+ try {
+ int _type = T__46;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:7: ( 'mixed' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:9: 'mixed'
+ {
+ match("mixed");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__46"
+
+ // $ANTLR start "T__47"
+ public final void mT__47() throws RecognitionException {
+ try {
+ int _type = T__47;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:7: ( 'singleThreaded' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:9: 'singleThreaded'
+ {
+ match("singleThreaded");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__47"
+
+ // $ANTLR start "T__48"
+ public final void mT__48() throws RecognitionException {
+ try {
+ int _type = T__48;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:7: ( 'multiThreaded' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:9: 'multiThreaded'
+ {
+ match("multiThreaded");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__48"
+
+ // $ANTLR start "RULE_ID"
+ public final void mRULE_ID() throws RecognitionException {
+ try {
+ int _type = RULE_ID;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:11: ( '^' )?
+ int alt1=2;
+ int LA1_0 = input.LA(1);
+
+ if ( (LA1_0=='^') ) {
+ alt1=1;
+ }
+ switch (alt1) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:11: '^'
+ {
+ match('^');
+
+ }
+ break;
+
+ }
+
+ if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1206:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop2:
+ do {
+ int alt2=2;
+ int LA2_0 = input.LA(1);
+
+ if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {
+ alt2=1;
+ }
+
+
+ switch (alt2) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:
+ {
+ if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop2;
+ }
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ID"
+
+ // $ANTLR start "RULE_INT"
+ public final void mRULE_INT() throws RecognitionException {
+ try {
+ int _type = RULE_INT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:10: ( ( '0' .. '9' )+ )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:12: ( '0' .. '9' )+
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:12: ( '0' .. '9' )+
+ int cnt3=0;
+ loop3:
+ do {
+ int alt3=2;
+ int LA3_0 = input.LA(1);
+
+ if ( ((LA3_0>='0' && LA3_0<='9')) ) {
+ alt3=1;
+ }
+
+
+ switch (alt3) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1208:13: '0' .. '9'
+ {
+ matchRange('0','9');
+
+ }
+ break;
+
+ default :
+ if ( cnt3 >= 1 ) break loop3;
+ EarlyExitException eee =
+ new EarlyExitException(3, input);
+ throw eee;
+ }
+ cnt3++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_INT"
+
+ // $ANTLR start "RULE_STRING"
+ public final void mRULE_STRING() throws RecognitionException {
+ try {
+ int _type = RULE_STRING;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ int alt6=2;
+ int LA6_0 = input.LA(1);
+
+ if ( (LA6_0=='\"') ) {
+ alt6=1;
+ }
+ else if ( (LA6_0=='\'') ) {
+ alt6=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 6, 0, input);
+
+ throw nvae;
+ }
+ switch (alt6) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ {
+ match('\"');
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop4:
+ do {
+ int alt4=3;
+ int LA4_0 = input.LA(1);
+
+ if ( (LA4_0=='\\') ) {
+ alt4=1;
+ }
+ else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
+ alt4=2;
+ }
+
+
+ switch (alt4) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ {
+ match('\\');
+ if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:66: ~ ( ( '\\\\' | '\"' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop4;
+ }
+ } while (true);
+
+ match('\"');
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ {
+ match('\'');
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
+ loop5:
+ do {
+ int alt5=3;
+ int LA5_0 = input.LA(1);
+
+ if ( (LA5_0=='\\') ) {
+ alt5=1;
+ }
+ else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
+ alt5=2;
+ }
+
+
+ switch (alt5) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ {
+ match('\\');
+ if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1210:137: ~ ( ( '\\\\' | '\\'' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop5;
+ }
+ } while (true);
+
+ match('\'');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_STRING"
+
+ // $ANTLR start "RULE_ML_COMMENT"
+ public final void mRULE_ML_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_ML_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:19: '/*' ( options {greedy=false; } : . )* '*/'
+ {
+ match("/*");
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:24: ( options {greedy=false; } : . )*
+ loop7:
+ do {
+ int alt7=2;
+ int LA7_0 = input.LA(1);
+
+ if ( (LA7_0=='*') ) {
+ int LA7_1 = input.LA(2);
+
+ if ( (LA7_1=='/') ) {
+ alt7=2;
+ }
+ else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
+ alt7=1;
+ }
+
+
+ }
+ else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
+ alt7=1;
+ }
+
+
+ switch (alt7) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212:52: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default :
+ break loop7;
+ }
+ } while (true);
+
+ match("*/");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ML_COMMENT"
+
+ // $ANTLR start "RULE_SL_COMMENT"
+ public final void mRULE_SL_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_SL_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ {
+ match("//");
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
+ alt8=1;
+ }
+
+
+ switch (alt8) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:24: ~ ( ( '\\n' | '\\r' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop8;
+ }
+ } while (true);
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:40: ( ( '\\r' )? '\\n' )?
+ int alt10=2;
+ int LA10_0 = input.LA(1);
+
+ if ( (LA10_0=='\n'||LA10_0=='\r') ) {
+ alt10=1;
+ }
+ switch (alt10) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:41: ( '\\r' )? '\\n'
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:41: ( '\\r' )?
+ int alt9=2;
+ int LA9_0 = input.LA(1);
+
+ if ( (LA9_0=='\r') ) {
+ alt9=1;
+ }
+ switch (alt9) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:41: '\\r'
+ {
+ match('\r');
+
+ }
+ break;
+
+ }
+
+ match('\n');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_SL_COMMENT"
+
+ // $ANTLR start "RULE_WS"
+ public final void mRULE_WS() throws RecognitionException {
+ try {
+ int _type = RULE_WS;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1216:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1216:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1216:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ int cnt11=0;
+ loop11:
+ do {
+ int alt11=2;
+ int LA11_0 = input.LA(1);
+
+ if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {
+ alt11=1;
+ }
+
+
+ switch (alt11) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:
+ {
+ if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ if ( cnt11 >= 1 ) break loop11;
+ EarlyExitException eee =
+ new EarlyExitException(11, input);
+ throw eee;
+ }
+ cnt11++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_WS"
+
+ // $ANTLR start "RULE_ANY_OTHER"
+ public final void mRULE_ANY_OTHER() throws RecognitionException {
+ try {
+ int _type = RULE_ANY_OTHER;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1218:16: ( . )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1218:18: .
+ {
+ matchAny();
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ANY_OTHER"
+
+ public void mTokens() throws RecognitionException {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt12=45;
+ alt12 = dfa12.predict(input);
+ switch (alt12) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:10: T__11
+ {
+ mT__11();
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:16: T__12
+ {
+ mT__12();
+
+ }
+ break;
+ case 3 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:22: T__13
+ {
+ mT__13();
+
+ }
+ break;
+ case 4 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:28: T__14
+ {
+ mT__14();
+
+ }
+ break;
+ case 5 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:34: T__15
+ {
+ mT__15();
+
+ }
+ break;
+ case 6 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:40: T__16
+ {
+ mT__16();
+
+ }
+ break;
+ case 7 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:46: T__17
+ {
+ mT__17();
+
+ }
+ break;
+ case 8 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:52: T__18
+ {
+ mT__18();
+
+ }
+ break;
+ case 9 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:58: T__19
+ {
+ mT__19();
+
+ }
+ break;
+ case 10 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:64: T__20
+ {
+ mT__20();
+
+ }
+ break;
+ case 11 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:70: T__21
+ {
+ mT__21();
+
+ }
+ break;
+ case 12 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:76: T__22
+ {
+ mT__22();
+
+ }
+ break;
+ case 13 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:82: T__23
+ {
+ mT__23();
+
+ }
+ break;
+ case 14 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:88: T__24
+ {
+ mT__24();
+
+ }
+ break;
+ case 15 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:94: T__25
+ {
+ mT__25();
+
+ }
+ break;
+ case 16 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:100: T__26
+ {
+ mT__26();
+
+ }
+ break;
+ case 17 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:106: T__27
+ {
+ mT__27();
+
+ }
+ break;
+ case 18 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:112: T__28
+ {
+ mT__28();
+
+ }
+ break;
+ case 19 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:118: T__29
+ {
+ mT__29();
+
+ }
+ break;
+ case 20 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:124: T__30
+ {
+ mT__30();
+
+ }
+ break;
+ case 21 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:130: T__31
+ {
+ mT__31();
+
+ }
+ break;
+ case 22 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:136: T__32
+ {
+ mT__32();
+
+ }
+ break;
+ case 23 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:142: T__33
+ {
+ mT__33();
+
+ }
+ break;
+ case 24 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:148: T__34
+ {
+ mT__34();
+
+ }
+ break;
+ case 25 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:154: T__35
+ {
+ mT__35();
+
+ }
+ break;
+ case 26 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:160: T__36
+ {
+ mT__36();
+
+ }
+ break;
+ case 27 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:166: T__37
+ {
+ mT__37();
+
+ }
+ break;
+ case 28 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:172: T__38
+ {
+ mT__38();
+
+ }
+ break;
+ case 29 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:178: T__39
+ {
+ mT__39();
+
+ }
+ break;
+ case 30 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:184: T__40
+ {
+ mT__40();
+
+ }
+ break;
+ case 31 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:190: T__41
+ {
+ mT__41();
+
+ }
+ break;
+ case 32 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:196: T__42
+ {
+ mT__42();
+
+ }
+ break;
+ case 33 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:202: T__43
+ {
+ mT__43();
+
+ }
+ break;
+ case 34 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:208: T__44
+ {
+ mT__44();
+
+ }
+ break;
+ case 35 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:214: T__45
+ {
+ mT__45();
+
+ }
+ break;
+ case 36 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:220: T__46
+ {
+ mT__46();
+
+ }
+ break;
+ case 37 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:226: T__47
+ {
+ mT__47();
+
+ }
+ break;
+ case 38 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:232: T__48
+ {
+ mT__48();
+
+ }
+ break;
+ case 39 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:238: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 40 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:246: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 41 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:255: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 42 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:267: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 43 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:283: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 44 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:299: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 45 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:307: RULE_ANY_OTHER
+ {
+ mRULE_ANY_OTHER();
+
+ }
+ break;
+
+ }
+
+ }
+
+
+ protected DFA12 dfa12 = new DFA12(this);
+ static final String DFA12_eotS =
+ "\1\uffff\1\42\2\uffff\1\42\1\uffff\1\42\1\uffff\5\42\1\62\2\42"+
+ "\4\uffff\1\42\1\76\3\42\1\40\2\uffff\3\40\2\uffff\1\42\3\uffff\1"+
+ "\42\1\uffff\1\42\1\uffff\11\42\1\uffff\1\124\4\42\4\uffff\1\42\2"+
+ "\uffff\1\132\1\133\1\42\5\uffff\15\42\1\uffff\5\42\2\uffff\4\42"+
+ "\1\166\16\42\1\u0085\6\42\1\uffff\12\42\1\u0097\1\u0098\2\42\1\uffff"+
+ "\7\42\1\u00a2\1\42\1\u00a4\2\42\1\u00a7\4\42\2\uffff\4\42\1\u00b0"+
+ "\1\42\1\u00b2\1\u00b3\1\u00b4\1\uffff\1\42\1\uffff\2\42\1\uffff"+
+ "\6\42\1\u00be\1\42\1\uffff\1\42\3\uffff\1\42\1\u00c3\1\u00c4\6\42"+
+ "\1\uffff\2\42\1\u00cd\1\42\2\uffff\1\u00cf\7\42\1\uffff\1\42\1\uffff"+
+ "\12\42\1\u00e2\6\42\1\u00e9\1\uffff\1\42\1\u00eb\1\u00ec\1\42\1"+
+ "\u00ee\1\42\1\uffff\1\u00f0\2\uffff\1\u00f1\1\uffff\1\u00f2\3\uffff";
+ static final String DFA12_eofS =
+ "\u00f3\uffff";
+ static final String DFA12_minS =
+ "\1\0\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\157\1\145\1\150"+
+ "\1\170\1\155\1\60\1\151\1\165\4\uffff\1\162\1\52\2\163\1\154\1\101"+
+ "\2\uffff\2\0\1\52\2\uffff\1\171\3\uffff\1\144\1\uffff\1\156\1\uffff"+
+ "\1\151\1\154\1\146\1\162\1\145\1\164\1\160\1\141\1\156\1\uffff\1"+
+ "\60\1\144\1\170\1\154\1\156\4\uffff\1\157\2\uffff\2\60\1\157\5\uffff"+
+ "\1\163\1\145\1\164\1\157\1\154\1\141\1\145\1\143\1\145\1\157\1\143"+
+ "\1\147\1\142\1\uffff\2\145\2\164\1\155\2\uffff\1\143\1\151\1\103"+
+ "\1\151\1\60\1\145\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154"+
+ "\1\144\2\151\1\60\1\153\1\143\1\145\1\154\1\155\1\141\1\uffff\1"+
+ "\144\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2\157\2\60\1\124"+
+ "\1\155\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1\170\1\60\1"+
+ "\164\1\60\1\144\1\141\1\60\1\151\1\124\1\143\1\154\2\uffff\1\150"+
+ "\1\145\1\144\1\154\1\60\1\163\3\60\1\uffff\1\124\1\uffff\1\145\1"+
+ "\154\1\uffff\1\172\1\150\1\153\1\163\1\162\1\103\1\60\1\115\1\uffff"+
+ "\1\163\3\uffff\1\150\2\60\1\145\1\162\1\163\1\151\1\145\1\154\1"+
+ "\uffff\1\157\1\171\1\60\1\162\2\uffff\1\60\1\145\1\151\1\172\2\141"+
+ "\1\144\1\163\1\uffff\1\145\1\uffff\1\141\1\172\1\145\1\144\1\163"+
+ "\1\145\1\164\1\141\1\144\1\145\1\60\1\145\1\163\1\154\1\145\1\144"+
+ "\1\145\1\60\1\uffff\1\144\2\60\1\155\1\60\1\144\1\uffff\1\60\2\uffff"+
+ "\1\60\1\uffff\1\60\3\uffff";
+ static final String DFA12_maxS =
+ "\1\uffff\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\162\1\145"+
+ "\1\150\1\170\1\156\1\172\2\165\4\uffff\1\162\1\52\2\163\1\154\1"+
+ "\172\2\uffff\2\uffff\1\57\2\uffff\1\171\3\uffff\1\144\1\uffff\1"+
+ "\156\1\uffff\1\151\1\154\1\146\1\162\1\145\1\164\1\160\1\141\1\156"+
+ "\1\uffff\1\172\1\144\1\170\1\154\1\156\4\uffff\1\157\2\uffff\2\172"+
+ "\1\157\5\uffff\1\163\1\145\1\164\1\157\1\154\1\141\1\145\1\143\1"+
+ "\145\1\157\1\143\1\147\1\160\1\uffff\2\145\2\164\1\155\2\uffff\1"+
+ "\143\1\151\1\122\1\151\1\172\1\145\1\165\1\141\1\155\2\162\1\153"+
+ "\2\154\1\157\1\154\1\144\2\151\1\172\1\153\1\143\1\145\1\154\1\155"+
+ "\1\151\1\uffff\1\144\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2"+
+ "\157\2\172\1\124\1\155\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156"+
+ "\1\170\1\172\1\164\1\172\1\144\1\141\1\172\1\151\1\124\1\143\1\154"+
+ "\2\uffff\1\150\1\145\1\144\1\154\1\172\1\163\3\172\1\uffff\1\124"+
+ "\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163\1\162\1\103"+
+ "\1\172\1\123\1\uffff\1\163\3\uffff\1\150\2\172\1\145\1\162\1\163"+
+ "\1\151\1\145\1\154\1\uffff\1\157\1\171\1\172\1\162\2\uffff\1\172"+
+ "\1\145\1\151\1\172\2\141\1\144\1\163\1\uffff\1\145\1\uffff\1\141"+
+ "\1\172\1\145\1\144\1\163\1\145\1\164\1\141\1\144\1\145\1\172\1\145"+
+ "\1\163\1\154\1\145\1\144\1\145\1\172\1\uffff\1\144\2\172\1\155\1"+
+ "\172\1\144\1\uffff\1\172\2\uffff\1\172\1\uffff\1\172\3\uffff";
+ static final String DFA12_acceptS =
+ "\2\uffff\1\2\1\3\1\uffff\1\6\1\uffff\1\11\10\uffff\1\26\1\27\1"+
+ "\30\1\31\6\uffff\1\47\1\50\3\uffff\1\54\1\55\1\uffff\1\47\1\2\1"+
+ "\3\1\uffff\1\6\1\uffff\1\11\11\uffff\1\36\5\uffff\1\26\1\27\1\30"+
+ "\1\31\1\uffff\1\34\1\35\3\uffff\1\50\1\51\1\52\1\53\1\54\15\uffff"+
+ "\1\37\5\uffff\1\40\1\41\32\uffff\1\20\16\uffff\1\33\21\uffff\1\25"+
+ "\1\44\11\uffff\1\42\1\uffff\1\15\2\uffff\1\32\10\uffff\1\5\1\uffff"+
+ "\1\10\1\12\1\13\11\uffff\1\43\4\uffff\1\16\1\17\10\uffff\1\7\1\uffff"+
+ "\1\21\22\uffff\1\23\6\uffff\1\22\1\uffff\1\24\1\1\1\uffff\1\14\1"+
+ "\uffff\1\46\1\4\1\45";
+ static final String DFA12_specialS =
+ "\1\1\33\uffff\1\2\1\0\u00d5\uffff}>";
+ static final String[] DFA12_transitionS = {
+ "\11\40\2\37\2\40\1\37\22\40\1\37\1\40\1\34\4\40\1\35\3\40\1"+
+ "\22\1\40\1\23\1\25\1\36\12\33\1\5\2\40\1\7\3\40\3\32\1\11\11"+
+ "\32\1\4\1\32\1\1\1\32\1\17\1\32\1\12\6\32\1\20\1\40\1\21\1\31"+
+ "\1\32\1\40\1\32\1\30\2\32\1\13\1\24\2\32\1\14\3\32\1\16\1\27"+
+ "\1\32\1\10\1\32\1\6\1\15\1\32\1\26\5\32\1\2\1\40\1\3\uff82\40",
+ "\1\41",
+ "",
+ "",
+ "\1\45",
+ "",
+ "\1\47",
+ "",
+ "\1\52\2\uffff\1\51",
+ "\1\53",
+ "\1\54",
+ "\1\55",
+ "\1\57\1\56",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\10\42\1\61\12\42"+
+ "\1\60\6\42",
+ "\1\65\5\uffff\1\64\3\uffff\1\63\1\uffff\1\66",
+ "\1\67",
+ "",
+ "",
+ "",
+ "",
+ "\1\74",
+ "\1\75",
+ "\1\77",
+ "\1\100",
+ "\1\101",
+ "\32\42\4\uffff\1\42\1\uffff\32\42",
+ "",
+ "",
+ "\0\103",
+ "\0\103",
+ "\1\104\4\uffff\1\105",
+ "",
+ "",
+ "\1\107",
+ "",
+ "",
+ "",
+ "\1\110",
+ "",
+ "\1\111",
+ "",
+ "\1\112",
+ "\1\113",
+ "\1\114",
+ "\1\115",
+ "\1\116",
+ "\1\117",
+ "\1\120",
+ "\1\121",
+ "\1\122",
+ "",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\6\42\1\123\23\42",
+ "\1\125",
+ "\1\126",
+ "\1\127",
+ "\1\130",
+ "",
+ "",
+ "",
+ "",
+ "\1\131",
+ "",
+ "",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\134",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\135",
+ "\1\136",
+ "\1\137",
+ "\1\140",
+ "\1\141",
+ "\1\142",
+ "\1\143",
+ "\1\144",
+ "\1\145",
+ "\1\146",
+ "\1\147",
+ "\1\150",
+ "\1\151\15\uffff\1\152",
+ "",
+ "\1\153",
+ "\1\154",
+ "\1\155",
+ "\1\156",
+ "\1\157",
+ "",
+ "",
+ "\1\160",
+ "\1\161",
+ "\1\163\16\uffff\1\162",
+ "\1\164",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\14\42\1\165\15\42",
+ "\1\167",
+ "\1\170",
+ "\1\171",
+ "\1\172",
+ "\1\173",
+ "\1\174",
+ "\1\175",
+ "\1\176",
+ "\1\177",
+ "\1\u0080",
+ "\1\u0081",
+ "\1\u0082",
+ "\1\u0083",
+ "\1\u0084",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u0086",
+ "\1\u0087",
+ "\1\u0088",
+ "\1\u0089",
+ "\1\u008a",
+ "\1\u008c\7\uffff\1\u008b",
+ "",
+ "\1\u008d",
+ "\1\u008e",
+ "\1\u008f",
+ "\1\u0090",
+ "\1\u0091",
+ "\1\u0092",
+ "\1\u0093",
+ "\1\u0094",
+ "\1\u0095",
+ "\1\u0096",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u0099",
+ "\1\u009a",
+ "",
+ "\1\u009b",
+ "\1\u009c",
+ "\1\u009d",
+ "\1\u009e",
+ "\1\u009f",
+ "\1\u00a0",
+ "\1\u00a1",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00a3",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00a5",
+ "\1\u00a6",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00a8",
+ "\1\u00a9",
+ "\1\u00aa",
+ "\1\u00ab",
+ "",
+ "",
+ "\1\u00ac",
+ "\1\u00ad",
+ "\1\u00ae",
+ "\1\u00af",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00b1",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "",
+ "\1\u00b5",
+ "",
+ "\1\u00b6",
+ "\1\u00b7",
+ "",
+ "\1\u00b8",
+ "\1\u00b9",
+ "\1\u00ba",
+ "\1\u00bb",
+ "\1\u00bc",
+ "\1\u00bd",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00bf\5\uffff\1\u00c0",
+ "",
+ "\1\u00c1",
+ "",
+ "",
+ "",
+ "\1\u00c2",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00c5",
+ "\1\u00c6",
+ "\1\u00c7",
+ "\1\u00c8",
+ "\1\u00c9",
+ "\1\u00ca",
+ "",
+ "\1\u00cb",
+ "\1\u00cc",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00ce",
+ "",
+ "",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00d0",
+ "\1\u00d1",
+ "\1\u00d2",
+ "\1\u00d3",
+ "\1\u00d4",
+ "\1\u00d5",
+ "\1\u00d6",
+ "",
+ "\1\u00d7",
+ "",
+ "\1\u00d8",
+ "\1\u00d9",
+ "\1\u00da",
+ "\1\u00db",
+ "\1\u00dc",
+ "\1\u00dd",
+ "\1\u00de",
+ "\1\u00df",
+ "\1\u00e0",
+ "\1\u00e1",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00e3",
+ "\1\u00e4",
+ "\1\u00e5",
+ "\1\u00e6",
+ "\1\u00e7",
+ "\1\u00e8",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "",
+ "\1\u00ea",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00ed",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "\1\u00ef",
+ "",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "",
+ "",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "",
+ "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42",
+ "",
+ "",
+ ""
+ };
+
+ static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
+ static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
+ static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
+ static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
+ static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
+ static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
+ static final short[][] DFA12_transition;
+
+ static {
+ int numStates = DFA12_transitionS.length;
+ DFA12_transition = new short[numStates][];
+ for (int i=0; i<numStates; i++) {
+ DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
+ }
+ }
+
+ class DFA12 extends DFA {
+
+ public DFA12(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 12;
+ this.eot = DFA12_eot;
+ this.eof = DFA12_eof;
+ this.min = DFA12_min;
+ this.max = DFA12_max;
+ this.accept = DFA12_accept;
+ this.special = DFA12_special;
+ this.transition = DFA12_transition;
+ }
+ public String getDescription() {
+ return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
+ }
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ IntStream input = _input;
+ int _s = s;
+ switch ( s ) {
+ case 0 :
+ int LA12_29 = input.LA(1);
+
+ s = -1;
+ if ( ((LA12_29>='\u0000' && LA12_29<='\uFFFF')) ) {s = 67;}
+
+ else s = 32;
+
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA12_0 = input.LA(1);
+
+ s = -1;
+ if ( (LA12_0=='P') ) {s = 1;}
+
+ else if ( (LA12_0=='{') ) {s = 2;}
+
+ else if ( (LA12_0=='}') ) {s = 3;}
+
+ else if ( (LA12_0=='N') ) {s = 4;}
+
+ else if ( (LA12_0==':') ) {s = 5;}
+
+ else if ( (LA12_0=='r') ) {s = 6;}
+
+ else if ( (LA12_0=='=') ) {s = 7;}
+
+ else if ( (LA12_0=='p') ) {s = 8;}
+
+ else if ( (LA12_0=='D') ) {s = 9;}
+
+ else if ( (LA12_0=='T') ) {s = 10;}
+
+ else if ( (LA12_0=='e') ) {s = 11;}
+
+ else if ( (LA12_0=='i') ) {s = 12;}
+
+ else if ( (LA12_0=='s') ) {s = 13;}
+
+ else if ( (LA12_0=='m') ) {s = 14;}
+
+ else if ( (LA12_0=='R') ) {s = 15;}
+
+ else if ( (LA12_0=='[') ) {s = 16;}
+
+ else if ( (LA12_0==']') ) {s = 17;}
+
+ else if ( (LA12_0=='+') ) {s = 18;}
+
+ else if ( (LA12_0=='-') ) {s = 19;}
+
+ else if ( (LA12_0=='f') ) {s = 20;}
+
+ else if ( (LA12_0=='.') ) {s = 21;}
+
+ else if ( (LA12_0=='u') ) {s = 22;}
+
+ else if ( (LA12_0=='n') ) {s = 23;}
+
+ else if ( (LA12_0=='b') ) {s = 24;}
+
+ else if ( (LA12_0=='^') ) {s = 25;}
+
+ else if ( ((LA12_0>='A' && LA12_0<='C')||(LA12_0>='E' && LA12_0<='M')||LA12_0=='O'||LA12_0=='Q'||LA12_0=='S'||(LA12_0>='U' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='a'||(LA12_0>='c' && LA12_0<='d')||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='o'||LA12_0=='q'||LA12_0=='t'||(LA12_0>='v' && LA12_0<='z')) ) {s = 26;}
+
+ else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 27;}
+
+ else if ( (LA12_0=='\"') ) {s = 28;}
+
+ else if ( (LA12_0=='\'') ) {s = 29;}
+
+ else if ( (LA12_0=='/') ) {s = 30;}
+
+ else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 31;}
+
+ else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='*')||LA12_0==','||(LA12_0>=';' && LA12_0<='<')||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 32;}
+
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA12_28 = input.LA(1);
+
+ s = -1;
+ if ( ((LA12_28>='\u0000' && LA12_28<='\uFFFF')) ) {s = 67;}
+
+ else s = 32;
+
+ if ( s>=0 ) return s;
+ break;
+ }
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 12, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
+
+
} \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java
index 83003c5e1..b408abbc1 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java
@@ -1,2970 +1,2970 @@
-package org.eclipse.etrice.core.etphys.parser.antlr.internal;
-
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.common.util.Enumerator;
-import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
-import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
-import org.eclipse.etrice.core.etphys.services.ETPhysGrammarAccess;
-
-
-
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
-
+package org.eclipse.etrice.core.etphys.parser.antlr.internal;
+
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.parser.*;
+import org.eclipse.xtext.parser.impl.*;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.common.util.Enumerator;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.etrice.core.etphys.services.ETPhysGrammarAccess;
+
+
+
+import org.antlr.runtime.*;
+import java.util.Stack;
+import java.util.List;
+import java.util.ArrayList;
+
@SuppressWarnings("all")
-public class InternalETPhysParser extends AbstractInternalAntlrParser {
- public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'PhysicalModel'", "'{'", "'}'", "'PhysicalSystem'", "'NodeRef'", "':'", "'NodeClass'", "'runtime'", "'='", "'priomin'", "'priomax'", "'DefaultThread'", "'Thread'", "'execmode'", "'interval'", "'prio'", "'stacksize'", "'msgblocksize'", "'msgpoolsize'", "'RuntimeClass'", "'model'", "'['", "']'", "'+'", "'-'", "'import'", "'from'", "'.*'", "'.'", "'s'", "'ms'", "'us'", "'ns'", "'polled'", "'blocked'", "'mixed'", "'singleThreaded'", "'multiThreaded'"
- };
- public static final int RULE_ID=4;
- public static final int T__29=29;
- public static final int T__28=28;
- public static final int T__27=27;
- public static final int T__26=26;
- public static final int T__25=25;
- public static final int T__24=24;
- public static final int T__23=23;
- public static final int T__22=22;
- public static final int RULE_ANY_OTHER=10;
- public static final int T__21=21;
- public static final int T__20=20;
- public static final int EOF=-1;
- public static final int T__19=19;
- public static final int T__16=16;
- public static final int T__15=15;
- public static final int T__18=18;
- public static final int T__17=17;
- public static final int T__12=12;
- public static final int T__11=11;
- public static final int T__14=14;
- public static final int T__13=13;
- public static final int RULE_INT=5;
- public static final int T__42=42;
- public static final int T__43=43;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__46=46;
- public static final int T__47=47;
- public static final int T__44=44;
- public static final int T__45=45;
- public static final int T__48=48;
- public static final int RULE_SL_COMMENT=8;
- public static final int RULE_ML_COMMENT=7;
- public static final int T__30=30;
- public static final int T__31=31;
- public static final int RULE_STRING=6;
- public static final int T__32=32;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int T__36=36;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int RULE_WS=9;
-
- // delegates
- // delegators
-
-
- public InternalETPhysParser(TokenStream input) {
- this(input, new RecognizerSharedState());
- }
- public InternalETPhysParser(TokenStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
-
- public String[] getTokenNames() { return InternalETPhysParser.tokenNames; }
- public String getGrammarFileName() { return "../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g"; }
-
-
-
- private ETPhysGrammarAccess grammarAccess;
-
- public InternalETPhysParser(TokenStream input, ETPhysGrammarAccess grammarAccess) {
- this(input);
- this.grammarAccess = grammarAccess;
- registerRules(grammarAccess.getGrammar());
- }
-
- @Override
- protected String getFirstRuleName() {
- return "PhysicalModel";
- }
-
- @Override
- protected ETPhysGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-
-
-
- // $ANTLR start "entryRulePhysicalModel"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:68:1: entryRulePhysicalModel returns [EObject current=null] : iv_rulePhysicalModel= rulePhysicalModel EOF ;
- public final EObject entryRulePhysicalModel() throws RecognitionException {
- EObject current = null;
-
- EObject iv_rulePhysicalModel = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:69:2: (iv_rulePhysicalModel= rulePhysicalModel EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:70:2: iv_rulePhysicalModel= rulePhysicalModel EOF
- {
- newCompositeNode(grammarAccess.getPhysicalModelRule());
- pushFollow(FOLLOW_rulePhysicalModel_in_entryRulePhysicalModel75);
- iv_rulePhysicalModel=rulePhysicalModel();
-
- state._fsp--;
-
- current =iv_rulePhysicalModel;
- match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalModel85);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRulePhysicalModel"
-
-
- // $ANTLR start "rulePhysicalModel"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:77:1: rulePhysicalModel returns [EObject current=null] : (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' ) ;
- public final EObject rulePhysicalModel() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token otherlv_2=null;
- Token otherlv_7=null;
- AntlrDatatypeRuleToken lv_name_1_0 = null;
-
- EObject lv_imports_3_0 = null;
-
- EObject lv_systems_4_0 = null;
-
- EObject lv_nodeClasses_5_0 = null;
-
- EObject lv_runtimeClasses_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:80:28: ( (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:1: (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:1: (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:3: otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}'
- {
- otherlv_0=(Token)match(input,11,FOLLOW_11_in_rulePhysicalModel122);
-
- newLeafNode(otherlv_0, grammarAccess.getPhysicalModelAccess().getPhysicalModelKeyword_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:85:1: ( (lv_name_1_0= ruleFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:87:3: lv_name_1_0= ruleFQN
- {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getNameFQNParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleFQN_in_rulePhysicalModel143);
- lv_name_1_0=ruleFQN();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- set(
- current,
- "name",
- lv_name_1_0,
- "FQN");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2=(Token)match(input,12,FOLLOW_12_in_rulePhysicalModel155);
-
- newLeafNode(otherlv_2, grammarAccess.getPhysicalModelAccess().getLeftCurlyBracketKeyword_2());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:107:1: ( (lv_imports_3_0= ruleImport ) )*
- loop1:
- do {
- int alt1=2;
- int LA1_0 = input.LA(1);
-
- if ( (LA1_0==36) ) {
- alt1=1;
- }
-
-
- switch (alt1) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:109:3: lv_imports_3_0= ruleImport
- {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getImportsImportParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleImport_in_rulePhysicalModel176);
- lv_imports_3_0=ruleImport();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "imports",
- lv_imports_3_0,
- "Import");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default :
- break loop1;
- }
- } while (true);
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:3: ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )*
- loop2:
- do {
- int alt2=4;
- switch ( input.LA(1) ) {
- case 14:
- {
- alt2=1;
- }
- break;
- case 17:
- {
- alt2=2;
- }
- break;
- case 30:
- {
- alt2=3;
- }
- break;
-
- }
-
- switch (alt2) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:127:3: lv_systems_4_0= rulePhysicalSystem
- {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getSystemsPhysicalSystemParserRuleCall_4_0_0());
-
- pushFollow(FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199);
- lv_systems_4_0=rulePhysicalSystem();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "systems",
- lv_systems_4_0,
- "PhysicalSystem");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:146:3: lv_nodeClasses_5_0= ruleNodeClass
- {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getNodeClassesNodeClassParserRuleCall_4_1_0());
-
- pushFollow(FOLLOW_ruleNodeClass_in_rulePhysicalModel226);
- lv_nodeClasses_5_0=ruleNodeClass();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "nodeClasses",
- lv_nodeClasses_5_0,
- "NodeClass");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:165:3: lv_runtimeClasses_6_0= ruleRuntimeClass
- {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getRuntimeClassesRuntimeClassParserRuleCall_4_2_0());
-
- pushFollow(FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253);
- lv_runtimeClasses_6_0=ruleRuntimeClass();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "runtimeClasses",
- lv_runtimeClasses_6_0,
- "RuntimeClass");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop2;
- }
- } while (true);
-
- otherlv_7=(Token)match(input,13,FOLLOW_13_in_rulePhysicalModel267);
-
- newLeafNode(otherlv_7, grammarAccess.getPhysicalModelAccess().getRightCurlyBracketKeyword_5());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "rulePhysicalModel"
-
-
- // $ANTLR start "entryRulePhysicalSystem"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:193:1: entryRulePhysicalSystem returns [EObject current=null] : iv_rulePhysicalSystem= rulePhysicalSystem EOF ;
- public final EObject entryRulePhysicalSystem() throws RecognitionException {
- EObject current = null;
-
- EObject iv_rulePhysicalSystem = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:194:2: (iv_rulePhysicalSystem= rulePhysicalSystem EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:195:2: iv_rulePhysicalSystem= rulePhysicalSystem EOF
- {
- newCompositeNode(grammarAccess.getPhysicalSystemRule());
- pushFollow(FOLLOW_rulePhysicalSystem_in_entryRulePhysicalSystem303);
- iv_rulePhysicalSystem=rulePhysicalSystem();
-
- state._fsp--;
-
- current =iv_rulePhysicalSystem;
- match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalSystem313);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRulePhysicalSystem"
-
-
- // $ANTLR start "rulePhysicalSystem"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:202:1: rulePhysicalSystem returns [EObject current=null] : (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) ;
- public final EObject rulePhysicalSystem() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token lv_name_1_0=null;
- Token otherlv_3=null;
- Token otherlv_5=null;
- EObject lv_docu_2_0 = null;
-
- EObject lv_nodeRefs_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:205:28: ( (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:1: (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:1: (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:3: otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}'
- {
- otherlv_0=(Token)match(input,14,FOLLOW_14_in_rulePhysicalSystem350);
-
- newLeafNode(otherlv_0, grammarAccess.getPhysicalSystemAccess().getPhysicalSystemKeyword_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:210:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:212:3: lv_name_1_0= RULE_ID
- {
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePhysicalSystem367);
-
- newLeafNode(lv_name_1_0, grammarAccess.getPhysicalSystemAccess().getNameIDTerminalRuleCall_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalSystemRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:228:2: ( (lv_docu_2_0= ruleDocumentation ) )?
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( (LA3_0==32) ) {
- alt3=1;
- }
- switch (alt3) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:230:3: lv_docu_2_0= ruleDocumentation
- {
-
- newCompositeNode(grammarAccess.getPhysicalSystemAccess().getDocuDocumentationParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleDocumentation_in_rulePhysicalSystem393);
- lv_docu_2_0=ruleDocumentation();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
- }
- set(
- current,
- "docu",
- lv_docu_2_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_3=(Token)match(input,12,FOLLOW_12_in_rulePhysicalSystem406);
-
- newLeafNode(otherlv_3, grammarAccess.getPhysicalSystemAccess().getLeftCurlyBracketKeyword_3());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:250:1: ( (lv_nodeRefs_4_0= ruleNodeRef ) )*
- loop4:
- do {
- int alt4=2;
- int LA4_0 = input.LA(1);
-
- if ( (LA4_0==15) ) {
- alt4=1;
- }
-
-
- switch (alt4) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:252:3: lv_nodeRefs_4_0= ruleNodeRef
- {
-
- newCompositeNode(grammarAccess.getPhysicalSystemAccess().getNodeRefsNodeRefParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleNodeRef_in_rulePhysicalSystem427);
- lv_nodeRefs_4_0=ruleNodeRef();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
- }
- add(
- current,
- "nodeRefs",
- lv_nodeRefs_4_0,
- "NodeRef");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default :
- break loop4;
- }
- } while (true);
-
- otherlv_5=(Token)match(input,13,FOLLOW_13_in_rulePhysicalSystem440);
-
- newLeafNode(otherlv_5, grammarAccess.getPhysicalSystemAccess().getRightCurlyBracketKeyword_5());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "rulePhysicalSystem"
-
-
- // $ANTLR start "entryRuleNodeRef"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:280:1: entryRuleNodeRef returns [EObject current=null] : iv_ruleNodeRef= ruleNodeRef EOF ;
- public final EObject entryRuleNodeRef() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNodeRef = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:281:2: (iv_ruleNodeRef= ruleNodeRef EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:282:2: iv_ruleNodeRef= ruleNodeRef EOF
- {
- newCompositeNode(grammarAccess.getNodeRefRule());
- pushFollow(FOLLOW_ruleNodeRef_in_entryRuleNodeRef476);
- iv_ruleNodeRef=ruleNodeRef();
-
- state._fsp--;
-
- current =iv_ruleNodeRef;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNodeRef486);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleNodeRef"
-
-
- // $ANTLR start "ruleNodeRef"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:289:1: ruleNodeRef returns [EObject current=null] : (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) ;
- public final EObject ruleNodeRef() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token lv_name_1_0=null;
- Token otherlv_2=null;
- EObject lv_docu_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:292:28: ( (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:3: otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )?
- {
- otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleNodeRef523);
-
- newLeafNode(otherlv_0, grammarAccess.getNodeRefAccess().getNodeRefKeyword_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:297:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:299:3: lv_name_1_0= RULE_ID
- {
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNodeRef540);
-
- newLeafNode(lv_name_1_0, grammarAccess.getNodeRefAccess().getNameIDTerminalRuleCall_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeRefRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleNodeRef557);
-
- newLeafNode(otherlv_2, grammarAccess.getNodeRefAccess().getColonKeyword_2());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:319:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:320:1: ( ruleFQN )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:320:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:321:3: ruleFQN
- {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeRefRule());
- }
-
-
- newCompositeNode(grammarAccess.getNodeRefAccess().getTypeNodeClassCrossReference_3_0());
-
- pushFollow(FOLLOW_ruleFQN_in_ruleNodeRef580);
- ruleFQN();
-
- state._fsp--;
-
-
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:334:2: ( (lv_docu_4_0= ruleDocumentation ) )?
- int alt5=2;
- int LA5_0 = input.LA(1);
-
- if ( (LA5_0==32) ) {
- alt5=1;
- }
- switch (alt5) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:336:3: lv_docu_4_0= ruleDocumentation
- {
-
- newCompositeNode(grammarAccess.getNodeRefAccess().getDocuDocumentationParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleDocumentation_in_ruleNodeRef601);
- lv_docu_4_0=ruleDocumentation();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeRefRule());
- }
- set(
- current,
- "docu",
- lv_docu_4_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleNodeRef"
-
-
- // $ANTLR start "entryRuleNodeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:360:1: entryRuleNodeClass returns [EObject current=null] : iv_ruleNodeClass= ruleNodeClass EOF ;
- public final EObject entryRuleNodeClass() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNodeClass = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:361:2: (iv_ruleNodeClass= ruleNodeClass EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:362:2: iv_ruleNodeClass= ruleNodeClass EOF
- {
- newCompositeNode(grammarAccess.getNodeClassRule());
- pushFollow(FOLLOW_ruleNodeClass_in_entryRuleNodeClass638);
- iv_ruleNodeClass=ruleNodeClass();
-
- state._fsp--;
-
- current =iv_ruleNodeClass;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNodeClass648);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleNodeClass"
-
-
- // $ANTLR start "ruleNodeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:369:1: ruleNodeClass returns [EObject current=null] : (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' ) ;
- public final EObject ruleNodeClass() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token lv_name_1_0=null;
- Token otherlv_3=null;
- Token otherlv_4=null;
- Token otherlv_5=null;
- Token otherlv_7=null;
- Token otherlv_8=null;
- Token otherlv_10=null;
- Token otherlv_11=null;
- Token otherlv_14=null;
- EObject lv_docu_2_0 = null;
-
- AntlrDatatypeRuleToken lv_priomin_9_0 = null;
-
- AntlrDatatypeRuleToken lv_priomax_12_0 = null;
-
- EObject lv_threads_13_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:372:28: ( (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:1: (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:1: (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:3: otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}'
- {
- otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleNodeClass685);
-
- newLeafNode(otherlv_0, grammarAccess.getNodeClassAccess().getNodeClassKeyword_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:377:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:379:3: lv_name_1_0= RULE_ID
- {
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNodeClass702);
-
- newLeafNode(lv_name_1_0, grammarAccess.getNodeClassAccess().getNameIDTerminalRuleCall_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeClassRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:395:2: ( (lv_docu_2_0= ruleDocumentation ) )?
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( (LA6_0==32) ) {
- alt6=1;
- }
- switch (alt6) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:397:3: lv_docu_2_0= ruleDocumentation
- {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getDocuDocumentationParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleDocumentation_in_ruleNodeClass728);
- lv_docu_2_0=ruleDocumentation();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- set(
- current,
- "docu",
- lv_docu_2_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleNodeClass741);
-
- newLeafNode(otherlv_3, grammarAccess.getNodeClassAccess().getLeftCurlyBracketKeyword_3());
-
- otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleNodeClass753);
-
- newLeafNode(otherlv_4, grammarAccess.getNodeClassAccess().getRuntimeKeyword_4());
-
- otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass765);
-
- newLeafNode(otherlv_5, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_5());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:425:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:426:1: ( ruleFQN )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:426:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:427:3: ruleFQN
- {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeClassRule());
- }
-
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getRuntimeRuntimeClassCrossReference_6_0());
-
- pushFollow(FOLLOW_ruleFQN_in_ruleNodeClass788);
- ruleFQN();
-
- state._fsp--;
-
-
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_7=(Token)match(input,20,FOLLOW_20_in_ruleNodeClass800);
-
- newLeafNode(otherlv_7, grammarAccess.getNodeClassAccess().getPriominKeyword_7());
-
- otherlv_8=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass812);
-
- newLeafNode(otherlv_8, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_8());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:448:1: ( (lv_priomin_9_0= rulePRIO ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:449:1: (lv_priomin_9_0= rulePRIO )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:449:1: (lv_priomin_9_0= rulePRIO )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:450:3: lv_priomin_9_0= rulePRIO
- {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getPriominPRIOParserRuleCall_9_0());
-
- pushFollow(FOLLOW_rulePRIO_in_ruleNodeClass833);
- lv_priomin_9_0=rulePRIO();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- set(
- current,
- "priomin",
- lv_priomin_9_0,
- "PRIO");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_10=(Token)match(input,21,FOLLOW_21_in_ruleNodeClass845);
-
- newLeafNode(otherlv_10, grammarAccess.getNodeClassAccess().getPriomaxKeyword_10());
-
- otherlv_11=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass857);
-
- newLeafNode(otherlv_11, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_11());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:474:1: ( (lv_priomax_12_0= rulePRIO ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:475:1: (lv_priomax_12_0= rulePRIO )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:475:1: (lv_priomax_12_0= rulePRIO )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:476:3: lv_priomax_12_0= rulePRIO
- {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getPriomaxPRIOParserRuleCall_12_0());
-
- pushFollow(FOLLOW_rulePRIO_in_ruleNodeClass878);
- lv_priomax_12_0=rulePRIO();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- set(
- current,
- "priomax",
- lv_priomax_12_0,
- "PRIO");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:492:2: ( (lv_threads_13_0= rulePhysicalThread ) )*
- loop7:
- do {
- int alt7=2;
- int LA7_0 = input.LA(1);
-
- if ( ((LA7_0>=22 && LA7_0<=23)) ) {
- alt7=1;
- }
-
-
- switch (alt7) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:493:1: (lv_threads_13_0= rulePhysicalThread )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:493:1: (lv_threads_13_0= rulePhysicalThread )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:494:3: lv_threads_13_0= rulePhysicalThread
- {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getThreadsPhysicalThreadParserRuleCall_13_0());
-
- pushFollow(FOLLOW_rulePhysicalThread_in_ruleNodeClass899);
- lv_threads_13_0=rulePhysicalThread();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- add(
- current,
- "threads",
- lv_threads_13_0,
- "PhysicalThread");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default :
- break loop7;
- }
- } while (true);
-
- otherlv_14=(Token)match(input,13,FOLLOW_13_in_ruleNodeClass912);
-
- newLeafNode(otherlv_14, grammarAccess.getNodeClassAccess().getRightCurlyBracketKeyword_14());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleNodeClass"
-
-
- // $ANTLR start "entryRulePhysicalThread"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:522:1: entryRulePhysicalThread returns [EObject current=null] : iv_rulePhysicalThread= rulePhysicalThread EOF ;
- public final EObject entryRulePhysicalThread() throws RecognitionException {
- EObject current = null;
-
- EObject iv_rulePhysicalThread = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:523:2: (iv_rulePhysicalThread= rulePhysicalThread EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:524:2: iv_rulePhysicalThread= rulePhysicalThread EOF
- {
- newCompositeNode(grammarAccess.getPhysicalThreadRule());
- pushFollow(FOLLOW_rulePhysicalThread_in_entryRulePhysicalThread948);
- iv_rulePhysicalThread=rulePhysicalThread();
-
- state._fsp--;
-
- current =iv_rulePhysicalThread;
- match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalThread958);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRulePhysicalThread"
-
-
- // $ANTLR start "rulePhysicalThread"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:531:1: rulePhysicalThread returns [EObject current=null] : ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' ) ;
- public final EObject rulePhysicalThread() throws RecognitionException {
- EObject current = null;
-
- Token lv_default_0_0=null;
- Token otherlv_1=null;
- Token lv_name_2_0=null;
- Token otherlv_3=null;
- Token otherlv_4=null;
- Token otherlv_5=null;
- Token otherlv_7=null;
- Token otherlv_8=null;
- Token otherlv_10=null;
- Token otherlv_11=null;
- Token otherlv_13=null;
- Token otherlv_14=null;
- Token lv_stacksize_15_0=null;
- Token otherlv_16=null;
- Token otherlv_17=null;
- Token lv_msgblocksize_18_0=null;
- Token otherlv_19=null;
- Token otherlv_20=null;
- Token lv_msgpoolsize_21_0=null;
- Token otherlv_22=null;
- Enumerator lv_execmode_6_0 = null;
-
- AntlrDatatypeRuleToken lv_time_9_0 = null;
-
- AntlrDatatypeRuleToken lv_prio_12_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:534:28: ( ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}'
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' )
- int alt8=2;
- int LA8_0 = input.LA(1);
-
- if ( (LA8_0==22) ) {
- alt8=1;
- }
- else if ( (LA8_0==23) ) {
- alt8=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 8, 0, input);
-
- throw nvae;
- }
- switch (alt8) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:3: ( (lv_default_0_0= 'DefaultThread' ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:3: ( (lv_default_0_0= 'DefaultThread' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:536:1: (lv_default_0_0= 'DefaultThread' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:536:1: (lv_default_0_0= 'DefaultThread' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:537:3: lv_default_0_0= 'DefaultThread'
- {
- lv_default_0_0=(Token)match(input,22,FOLLOW_22_in_rulePhysicalThread1002);
-
- newLeafNode(lv_default_0_0, grammarAccess.getPhysicalThreadAccess().getDefaultDefaultThreadKeyword_0_0_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(current, "default", true, "DefaultThread");
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:551:7: otherlv_1= 'Thread'
- {
- otherlv_1=(Token)match(input,23,FOLLOW_23_in_rulePhysicalThread1033);
-
- newLeafNode(otherlv_1, grammarAccess.getPhysicalThreadAccess().getThreadKeyword_0_1());
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:555:2: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:556:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:556:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:557:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePhysicalThread1051);
-
- newLeafNode(lv_name_2_0, grammarAccess.getPhysicalThreadAccess().getNameIDTerminalRuleCall_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_3=(Token)match(input,12,FOLLOW_12_in_rulePhysicalThread1068);
-
- newLeafNode(otherlv_3, grammarAccess.getPhysicalThreadAccess().getLeftCurlyBracketKeyword_2());
-
- otherlv_4=(Token)match(input,24,FOLLOW_24_in_rulePhysicalThread1080);
-
- newLeafNode(otherlv_4, grammarAccess.getPhysicalThreadAccess().getExecmodeKeyword_3());
-
- otherlv_5=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1092);
-
- newLeafNode(otherlv_5, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_4());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:585:1: ( (lv_execmode_6_0= ruleExecMode ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:586:1: (lv_execmode_6_0= ruleExecMode )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:586:1: (lv_execmode_6_0= ruleExecMode )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:587:3: lv_execmode_6_0= ruleExecMode
- {
-
- newCompositeNode(grammarAccess.getPhysicalThreadAccess().getExecmodeExecModeEnumRuleCall_5_0());
-
- pushFollow(FOLLOW_ruleExecMode_in_rulePhysicalThread1113);
- lv_execmode_6_0=ruleExecMode();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
- }
- set(
- current,
- "execmode",
- lv_execmode_6_0,
- "ExecMode");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:603:2: (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )?
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( (LA9_0==25) ) {
- alt9=1;
- }
- switch (alt9) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:603:4: otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) )
- {
- otherlv_7=(Token)match(input,25,FOLLOW_25_in_rulePhysicalThread1126);
-
- newLeafNode(otherlv_7, grammarAccess.getPhysicalThreadAccess().getIntervalKeyword_6_0());
-
- otherlv_8=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1138);
-
- newLeafNode(otherlv_8, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_6_1());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:611:1: ( (lv_time_9_0= ruleTIME ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:612:1: (lv_time_9_0= ruleTIME )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:612:1: (lv_time_9_0= ruleTIME )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:613:3: lv_time_9_0= ruleTIME
- {
-
- newCompositeNode(grammarAccess.getPhysicalThreadAccess().getTimeTIMEParserRuleCall_6_2_0());
-
- pushFollow(FOLLOW_ruleTIME_in_rulePhysicalThread1159);
- lv_time_9_0=ruleTIME();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
- }
- set(
- current,
- "time",
- lv_time_9_0,
- "TIME");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_10=(Token)match(input,26,FOLLOW_26_in_rulePhysicalThread1173);
-
- newLeafNode(otherlv_10, grammarAccess.getPhysicalThreadAccess().getPrioKeyword_7());
-
- otherlv_11=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1185);
-
- newLeafNode(otherlv_11, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_8());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:637:1: ( (lv_prio_12_0= rulePRIO ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:638:1: (lv_prio_12_0= rulePRIO )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:638:1: (lv_prio_12_0= rulePRIO )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:639:3: lv_prio_12_0= rulePRIO
- {
-
- newCompositeNode(grammarAccess.getPhysicalThreadAccess().getPrioPRIOParserRuleCall_9_0());
-
- pushFollow(FOLLOW_rulePRIO_in_rulePhysicalThread1206);
- lv_prio_12_0=rulePRIO();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
- }
- set(
- current,
- "prio",
- lv_prio_12_0,
- "PRIO");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_13=(Token)match(input,27,FOLLOW_27_in_rulePhysicalThread1218);
-
- newLeafNode(otherlv_13, grammarAccess.getPhysicalThreadAccess().getStacksizeKeyword_10());
-
- otherlv_14=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1230);
-
- newLeafNode(otherlv_14, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_11());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:663:1: ( (lv_stacksize_15_0= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:664:1: (lv_stacksize_15_0= RULE_INT )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:664:1: (lv_stacksize_15_0= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:665:3: lv_stacksize_15_0= RULE_INT
- {
- lv_stacksize_15_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1247);
-
- newLeafNode(lv_stacksize_15_0, grammarAccess.getPhysicalThreadAccess().getStacksizeINTTerminalRuleCall_12_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "stacksize",
- lv_stacksize_15_0,
- "INT");
-
-
- }
-
-
- }
-
- otherlv_16=(Token)match(input,28,FOLLOW_28_in_rulePhysicalThread1264);
-
- newLeafNode(otherlv_16, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeKeyword_13());
-
- otherlv_17=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1276);
-
- newLeafNode(otherlv_17, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_14());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:689:1: ( (lv_msgblocksize_18_0= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:690:1: (lv_msgblocksize_18_0= RULE_INT )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:690:1: (lv_msgblocksize_18_0= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:691:3: lv_msgblocksize_18_0= RULE_INT
- {
- lv_msgblocksize_18_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1293);
-
- newLeafNode(lv_msgblocksize_18_0, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeINTTerminalRuleCall_15_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "msgblocksize",
- lv_msgblocksize_18_0,
- "INT");
-
-
- }
-
-
- }
-
- otherlv_19=(Token)match(input,29,FOLLOW_29_in_rulePhysicalThread1310);
-
- newLeafNode(otherlv_19, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeKeyword_16());
-
- otherlv_20=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1322);
-
- newLeafNode(otherlv_20, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_17());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:715:1: ( (lv_msgpoolsize_21_0= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:716:1: (lv_msgpoolsize_21_0= RULE_INT )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:716:1: (lv_msgpoolsize_21_0= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:717:3: lv_msgpoolsize_21_0= RULE_INT
- {
- lv_msgpoolsize_21_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1339);
-
- newLeafNode(lv_msgpoolsize_21_0, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeINTTerminalRuleCall_18_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "msgpoolsize",
- lv_msgpoolsize_21_0,
- "INT");
-
-
- }
-
-
- }
-
- otherlv_22=(Token)match(input,13,FOLLOW_13_in_rulePhysicalThread1356);
-
- newLeafNode(otherlv_22, grammarAccess.getPhysicalThreadAccess().getRightCurlyBracketKeyword_19());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "rulePhysicalThread"
-
-
- // $ANTLR start "entryRuleRuntimeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:745:1: entryRuleRuntimeClass returns [EObject current=null] : iv_ruleRuntimeClass= ruleRuntimeClass EOF ;
- public final EObject entryRuleRuntimeClass() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleRuntimeClass = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:746:2: (iv_ruleRuntimeClass= ruleRuntimeClass EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:747:2: iv_ruleRuntimeClass= ruleRuntimeClass EOF
- {
- newCompositeNode(grammarAccess.getRuntimeClassRule());
- pushFollow(FOLLOW_ruleRuntimeClass_in_entryRuleRuntimeClass1392);
- iv_ruleRuntimeClass=ruleRuntimeClass();
-
- state._fsp--;
-
- current =iv_ruleRuntimeClass;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRuntimeClass1402);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleRuntimeClass"
-
-
- // $ANTLR start "ruleRuntimeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:754:1: ruleRuntimeClass returns [EObject current=null] : (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' ) ;
- public final EObject ruleRuntimeClass() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token lv_name_1_0=null;
- Token otherlv_3=null;
- Token otherlv_4=null;
- Token otherlv_5=null;
- Token otherlv_7=null;
- EObject lv_docu_2_0 = null;
-
- Enumerator lv_threadModel_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:757:28: ( (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:1: (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:1: (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:3: otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}'
- {
- otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleRuntimeClass1439);
-
- newLeafNode(otherlv_0, grammarAccess.getRuntimeClassAccess().getRuntimeClassKeyword_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:762:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:763:1: (lv_name_1_0= RULE_ID )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:763:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:764:3: lv_name_1_0= RULE_ID
- {
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuntimeClass1456);
-
- newLeafNode(lv_name_1_0, grammarAccess.getRuntimeClassAccess().getNameIDTerminalRuleCall_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getRuntimeClassRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:780:2: ( (lv_docu_2_0= ruleDocumentation ) )?
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( (LA10_0==32) ) {
- alt10=1;
- }
- switch (alt10) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:781:1: (lv_docu_2_0= ruleDocumentation )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:781:1: (lv_docu_2_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:782:3: lv_docu_2_0= ruleDocumentation
- {
-
- newCompositeNode(grammarAccess.getRuntimeClassAccess().getDocuDocumentationParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleDocumentation_in_ruleRuntimeClass1482);
- lv_docu_2_0=ruleDocumentation();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
- }
- set(
- current,
- "docu",
- lv_docu_2_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleRuntimeClass1495);
-
- newLeafNode(otherlv_3, grammarAccess.getRuntimeClassAccess().getLeftCurlyBracketKeyword_3());
-
- otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleRuntimeClass1507);
-
- newLeafNode(otherlv_4, grammarAccess.getRuntimeClassAccess().getModelKeyword_4());
-
- otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleRuntimeClass1519);
-
- newLeafNode(otherlv_5, grammarAccess.getRuntimeClassAccess().getEqualsSignKeyword_5());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:810:1: ( (lv_threadModel_6_0= ruleThreadModel ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:811:1: (lv_threadModel_6_0= ruleThreadModel )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:811:1: (lv_threadModel_6_0= ruleThreadModel )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:812:3: lv_threadModel_6_0= ruleThreadModel
- {
-
- newCompositeNode(grammarAccess.getRuntimeClassAccess().getThreadModelThreadModelEnumRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleThreadModel_in_ruleRuntimeClass1540);
- lv_threadModel_6_0=ruleThreadModel();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
- }
- set(
- current,
- "threadModel",
- lv_threadModel_6_0,
- "ThreadModel");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_7=(Token)match(input,13,FOLLOW_13_in_ruleRuntimeClass1552);
-
- newLeafNode(otherlv_7, grammarAccess.getRuntimeClassAccess().getRightCurlyBracketKeyword_7());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleRuntimeClass"
-
-
- // $ANTLR start "entryRuleDocumentation"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:840:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ;
- public final EObject entryRuleDocumentation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleDocumentation = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:841:2: (iv_ruleDocumentation= ruleDocumentation EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:842:2: iv_ruleDocumentation= ruleDocumentation EOF
- {
- newCompositeNode(grammarAccess.getDocumentationRule());
- pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation1588);
- iv_ruleDocumentation=ruleDocumentation();
-
- state._fsp--;
-
- current =iv_ruleDocumentation;
- match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation1598);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleDocumentation"
-
-
- // $ANTLR start "ruleDocumentation"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:849:1: ruleDocumentation returns [EObject current=null] : (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) ;
- public final EObject ruleDocumentation() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token lv_text_1_0=null;
- Token otherlv_2=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:852:28: ( (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:853:1: (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:853:1: (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:853:3: otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']'
- {
- otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleDocumentation1635);
-
- newLeafNode(otherlv_0, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:857:1: ( (lv_text_1_0= RULE_STRING ) )+
- int cnt11=0;
- loop11:
- do {
- int alt11=2;
- int LA11_0 = input.LA(1);
-
- if ( (LA11_0==RULE_STRING) ) {
- alt11=1;
- }
-
-
- switch (alt11) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:858:1: (lv_text_1_0= RULE_STRING )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:858:1: (lv_text_1_0= RULE_STRING )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:859:3: lv_text_1_0= RULE_STRING
- {
- lv_text_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation1652);
-
- newLeafNode(lv_text_1_0, grammarAccess.getDocumentationAccess().getTextSTRINGTerminalRuleCall_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getDocumentationRule());
- }
- addWithLastConsumed(
- current,
- "text",
- lv_text_1_0,
- "STRING");
-
-
- }
-
-
- }
- break;
-
- default :
- if ( cnt11 >= 1 ) break loop11;
- EarlyExitException eee =
- new EarlyExitException(11, input);
- throw eee;
- }
- cnt11++;
- } while (true);
-
- otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleDocumentation1670);
-
- newLeafNode(otherlv_2, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_2());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleDocumentation"
-
-
- // $ANTLR start "entryRulePRIO"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:887:1: entryRulePRIO returns [String current=null] : iv_rulePRIO= rulePRIO EOF ;
- public final String entryRulePRIO() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_rulePRIO = null;
-
-
-
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:891:2: (iv_rulePRIO= rulePRIO EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:892:2: iv_rulePRIO= rulePRIO EOF
- {
- newCompositeNode(grammarAccess.getPRIORule());
- pushFollow(FOLLOW_rulePRIO_in_entryRulePRIO1713);
- iv_rulePRIO=rulePRIO();
-
- state._fsp--;
-
- current =iv_rulePRIO.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRulePRIO1724);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
-
- myHiddenTokenState.restore();
-
- }
- return current;
- }
- // $ANTLR end "entryRulePRIO"
-
-
- // $ANTLR start "rulePRIO"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:902:1: rulePRIO returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ;
- public final AntlrDatatypeRuleToken rulePRIO() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token kw=null;
- Token this_INT_2=null;
-
- enterRule();
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:906:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:2: (kw= '+' | kw= '-' )?
- int alt12=3;
- int LA12_0 = input.LA(1);
-
- if ( (LA12_0==34) ) {
- alt12=1;
- }
- else if ( (LA12_0==35) ) {
- alt12=2;
- }
- switch (alt12) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:908:2: kw= '+'
- {
- kw=(Token)match(input,34,FOLLOW_34_in_rulePRIO1767);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getPRIOAccess().getPlusSignKeyword_0_0());
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:915:2: kw= '-'
- {
- kw=(Token)match(input,35,FOLLOW_35_in_rulePRIO1786);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getPRIOAccess().getHyphenMinusKeyword_0_1());
-
-
- }
- break;
-
- }
-
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePRIO1803);
-
- current.merge(this_INT_2);
-
-
- newLeafNode(this_INT_2, grammarAccess.getPRIOAccess().getINTTerminalRuleCall_1());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
-
- myHiddenTokenState.restore();
-
- }
- return current;
- }
- // $ANTLR end "rulePRIO"
-
-
- // $ANTLR start "entryRuleImport"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:938:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
- public final EObject entryRuleImport() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleImport = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:939:2: (iv_ruleImport= ruleImport EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:940:2: iv_ruleImport= ruleImport EOF
- {
- newCompositeNode(grammarAccess.getImportRule());
- pushFollow(FOLLOW_ruleImport_in_entryRuleImport1852);
- iv_ruleImport=ruleImport();
-
- state._fsp--;
-
- current =iv_ruleImport;
- match(input,EOF,FOLLOW_EOF_in_entryRuleImport1862);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleImport"
-
-
- // $ANTLR start "ruleImport"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:947:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ;
- public final EObject ruleImport() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token otherlv_2=null;
- Token otherlv_3=null;
- Token lv_importURI_4_0=null;
- AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:950:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:951:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:951:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:951:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
- {
- otherlv_0=(Token)match(input,36,FOLLOW_36_in_ruleImport1899);
-
- newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
- int alt13=2;
- int LA13_0 = input.LA(1);
-
- if ( (LA13_0==RULE_ID) ) {
- alt13=1;
- }
- else if ( (LA13_0==31) ) {
- alt13=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
-
- throw nvae;
- }
- switch (alt13) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:956:1: (lv_importedNamespace_1_0= ruleImportedFQN )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:956:1: (lv_importedNamespace_1_0= ruleImportedFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:957:3: lv_importedNamespace_1_0= ruleImportedFQN
- {
-
- newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0());
-
- pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport1922);
- lv_importedNamespace_1_0=ruleImportedFQN();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getImportRule());
- }
- set(
- current,
- "importedNamespace",
- lv_importedNamespace_1_0,
- "ImportedFQN");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2=(Token)match(input,37,FOLLOW_37_in_ruleImport1934);
-
- newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:978:7: otherlv_3= 'model'
- {
- otherlv_3=(Token)match(input,31,FOLLOW_31_in_ruleImport1953);
-
- newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:982:2: ( (lv_importURI_4_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:983:1: (lv_importURI_4_0= RULE_STRING )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:983:1: (lv_importURI_4_0= RULE_STRING )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:984:3: lv_importURI_4_0= RULE_STRING
- {
- lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport1971);
-
- newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getImportRule());
- }
- setWithLastConsumed(
- current,
- "importURI",
- lv_importURI_4_0,
- "STRING");
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleImport"
-
-
- // $ANTLR start "entryRuleImportedFQN"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1008:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
- public final String entryRuleImportedFQN() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_ruleImportedFQN = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1009:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1010:2: iv_ruleImportedFQN= ruleImportedFQN EOF
- {
- newCompositeNode(grammarAccess.getImportedFQNRule());
- pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2013);
- iv_ruleImportedFQN=ruleImportedFQN();
-
- state._fsp--;
-
- current =iv_ruleImportedFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2024);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleImportedFQN"
-
-
- // $ANTLR start "ruleImportedFQN"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1017:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
- public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token kw=null;
- AntlrDatatypeRuleToken this_FQN_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1020:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1021:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1021:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1022:5: this_FQN_0= ruleFQN (kw= '.*' )?
- {
-
- newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2071);
- this_FQN_0=ruleFQN();
-
- state._fsp--;
-
-
- current.merge(this_FQN_0);
-
-
- afterParserOrEnumRuleCall();
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1032:1: (kw= '.*' )?
- int alt14=2;
- int LA14_0 = input.LA(1);
-
- if ( (LA14_0==38) ) {
- alt14=1;
- }
- switch (alt14) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1033:2: kw= '.*'
- {
- kw=(Token)match(input,38,FOLLOW_38_in_ruleImportedFQN2090);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleImportedFQN"
-
-
- // $ANTLR start "entryRuleFQN"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1046:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
- public final String entryRuleFQN() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_ruleFQN = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1047:2: (iv_ruleFQN= ruleFQN EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1048:2: iv_ruleFQN= ruleFQN EOF
- {
- newCompositeNode(grammarAccess.getFQNRule());
- pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN2133);
- iv_ruleFQN=ruleFQN();
-
- state._fsp--;
-
- current =iv_ruleFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2144);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleFQN"
-
-
- // $ANTLR start "ruleFQN"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1055:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
- public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token this_ID_0=null;
- Token kw=null;
- Token this_ID_2=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1058:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1059:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1059:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1059:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
- {
- this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2184);
-
- current.merge(this_ID_0);
-
-
- newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0());
-
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1066:1: (kw= '.' this_ID_2= RULE_ID )*
- loop15:
- do {
- int alt15=2;
- int LA15_0 = input.LA(1);
-
- if ( (LA15_0==39) ) {
- alt15=1;
- }
-
-
- switch (alt15) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1067:2: kw= '.' this_ID_2= RULE_ID
- {
- kw=(Token)match(input,39,FOLLOW_39_in_ruleFQN2203);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
-
- this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2218);
-
- current.merge(this_ID_2);
-
-
- newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1());
-
-
- }
- break;
-
- default :
- break loop15;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleFQN"
-
-
- // $ANTLR start "entryRuleTIME"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1087:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ;
- public final String entryRuleTIME() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_ruleTIME = null;
-
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1088:2: (iv_ruleTIME= ruleTIME EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1089:2: iv_ruleTIME= ruleTIME EOF
- {
- newCompositeNode(grammarAccess.getTIMERule());
- pushFollow(FOLLOW_ruleTIME_in_entryRuleTIME2266);
- iv_ruleTIME=ruleTIME();
-
- state._fsp--;
-
- current =iv_ruleTIME.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleTIME2277);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleTIME"
-
-
- // $ANTLR start "ruleTIME"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1096:1: ruleTIME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ;
- public final AntlrDatatypeRuleToken ruleTIME() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token this_INT_0=null;
- Token kw=null;
- Token this_INT_2=null;
- Token this_INT_4=null;
- Token this_INT_6=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1099:28: ( ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
- int alt16=4;
- int LA16_0 = input.LA(1);
-
- if ( (LA16_0==RULE_INT) ) {
- switch ( input.LA(2) ) {
- case 40:
- {
- alt16=1;
- }
- break;
- case 43:
- {
- alt16=4;
- }
- break;
- case 42:
- {
- alt16=3;
- }
- break;
- case 41:
- {
- alt16=2;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 16, 1, input);
-
- throw nvae;
- }
-
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
-
- throw nvae;
- }
- switch (alt16) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:2: (this_INT_0= RULE_INT kw= 's' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:2: (this_INT_0= RULE_INT kw= 's' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:7: this_INT_0= RULE_INT kw= 's'
- {
- this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2318);
-
- current.merge(this_INT_0);
-
-
- newLeafNode(this_INT_0, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_0_0());
-
- kw=(Token)match(input,40,FOLLOW_40_in_ruleTIME2336);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getSKeyword_0_1());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1114:6: (this_INT_2= RULE_INT kw= 'ms' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1114:6: (this_INT_2= RULE_INT kw= 'ms' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1114:11: this_INT_2= RULE_INT kw= 'ms'
- {
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2359);
-
- current.merge(this_INT_2);
-
-
- newLeafNode(this_INT_2, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_1_0());
-
- kw=(Token)match(input,41,FOLLOW_41_in_ruleTIME2377);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getMsKeyword_1_1());
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:6: (this_INT_4= RULE_INT kw= 'us' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:6: (this_INT_4= RULE_INT kw= 'us' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:11: this_INT_4= RULE_INT kw= 'us'
- {
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2400);
-
- current.merge(this_INT_4);
-
-
- newLeafNode(this_INT_4, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_2_0());
-
- kw=(Token)match(input,42,FOLLOW_42_in_ruleTIME2418);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getUsKeyword_2_1());
-
-
- }
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1142:6: (this_INT_6= RULE_INT kw= 'ns' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1142:6: (this_INT_6= RULE_INT kw= 'ns' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1142:11: this_INT_6= RULE_INT kw= 'ns'
- {
- this_INT_6=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2441);
-
- current.merge(this_INT_6);
-
-
- newLeafNode(this_INT_6, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_3_0());
-
- kw=(Token)match(input,43,FOLLOW_43_in_ruleTIME2459);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getNsKeyword_3_1());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleTIME"
-
-
- // $ANTLR start "ruleExecMode"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1163:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ;
- public final Enumerator ruleExecMode() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0=null;
- Token enumLiteral_1=null;
- Token enumLiteral_2=null;
-
- enterRule();
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1165:28: ( ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
- int alt17=3;
- switch ( input.LA(1) ) {
- case 44:
- {
- alt17=1;
- }
- break;
- case 45:
- {
- alt17=2;
- }
- break;
- case 46:
- {
- alt17=3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 17, 0, input);
-
- throw nvae;
- }
-
- switch (alt17) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:2: (enumLiteral_0= 'polled' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:2: (enumLiteral_0= 'polled' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:4: enumLiteral_0= 'polled'
- {
- enumLiteral_0=(Token)match(input,44,FOLLOW_44_in_ruleExecMode2514);
-
- current = grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1172:6: (enumLiteral_1= 'blocked' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1172:6: (enumLiteral_1= 'blocked' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1172:8: enumLiteral_1= 'blocked'
- {
- enumLiteral_1=(Token)match(input,45,FOLLOW_45_in_ruleExecMode2531);
-
- current = grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1178:6: (enumLiteral_2= 'mixed' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1178:6: (enumLiteral_2= 'mixed' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1178:8: enumLiteral_2= 'mixed'
- {
- enumLiteral_2=(Token)match(input,46,FOLLOW_46_in_ruleExecMode2548);
-
- current = grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleExecMode"
-
-
- // $ANTLR start "ruleThreadModel"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1188:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ;
- public final Enumerator ruleThreadModel() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0=null;
- Token enumLiteral_1=null;
-
- enterRule();
- try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1190:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
- int alt18=2;
- int LA18_0 = input.LA(1);
-
- if ( (LA18_0==47) ) {
- alt18=1;
- }
- else if ( (LA18_0==48) ) {
- alt18=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 18, 0, input);
-
- throw nvae;
- }
- switch (alt18) {
- case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:2: (enumLiteral_0= 'singleThreaded' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:2: (enumLiteral_0= 'singleThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:4: enumLiteral_0= 'singleThreaded'
- {
- enumLiteral_0=(Token)match(input,47,FOLLOW_47_in_ruleThreadModel2593);
-
- current = grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:6: (enumLiteral_1= 'multiThreaded' )
- {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:6: (enumLiteral_1= 'multiThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:8: enumLiteral_1= 'multiThreaded'
- {
- enumLiteral_1=(Token)match(input,48,FOLLOW_48_in_ruleThreadModel2610);
-
- current = grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleThreadModel"
-
- // Delegated rules
-
-
-
-
- public static final BitSet FOLLOW_rulePhysicalModel_in_entryRulePhysicalModel75 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRulePhysicalModel85 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_11_in_rulePhysicalModel122 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_rulePhysicalModel143 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_12_in_rulePhysicalModel155 = new BitSet(new long[]{0x0000001040026000L});
- public static final BitSet FOLLOW_ruleImport_in_rulePhysicalModel176 = new BitSet(new long[]{0x0000001040026000L});
- public static final BitSet FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199 = new BitSet(new long[]{0x0000000040026000L});
- public static final BitSet FOLLOW_ruleNodeClass_in_rulePhysicalModel226 = new BitSet(new long[]{0x0000000040026000L});
- public static final BitSet FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253 = new BitSet(new long[]{0x0000000040026000L});
- public static final BitSet FOLLOW_13_in_rulePhysicalModel267 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rulePhysicalSystem_in_entryRulePhysicalSystem303 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRulePhysicalSystem313 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_14_in_rulePhysicalSystem350 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalSystem367 = new BitSet(new long[]{0x0000000100001000L});
- public static final BitSet FOLLOW_ruleDocumentation_in_rulePhysicalSystem393 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_12_in_rulePhysicalSystem406 = new BitSet(new long[]{0x000000000000A000L});
- public static final BitSet FOLLOW_ruleNodeRef_in_rulePhysicalSystem427 = new BitSet(new long[]{0x000000000000A000L});
- public static final BitSet FOLLOW_13_in_rulePhysicalSystem440 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNodeRef_in_entryRuleNodeRef476 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNodeRef486 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_ruleNodeRef523 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleNodeRef540 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_16_in_ruleNodeRef557 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleNodeRef580 = new BitSet(new long[]{0x0000000100000002L});
- public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeRef601 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNodeClass_in_entryRuleNodeClass638 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNodeClass648 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_17_in_ruleNodeClass685 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleNodeClass702 = new BitSet(new long[]{0x0000000100001000L});
- public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeClass728 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_12_in_ruleNodeClass741 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_18_in_ruleNodeClass753 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleNodeClass765 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleNodeClass788 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_ruleNodeClass800 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleNodeClass812 = new BitSet(new long[]{0x0000000C00000020L});
- public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass833 = new BitSet(new long[]{0x0000000000200000L});
- public static final BitSet FOLLOW_21_in_ruleNodeClass845 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleNodeClass857 = new BitSet(new long[]{0x0000000C00000020L});
- public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass878 = new BitSet(new long[]{0x0000000000C02000L});
- public static final BitSet FOLLOW_rulePhysicalThread_in_ruleNodeClass899 = new BitSet(new long[]{0x0000000000C02000L});
- public static final BitSet FOLLOW_13_in_ruleNodeClass912 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rulePhysicalThread_in_entryRulePhysicalThread948 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRulePhysicalThread958 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_22_in_rulePhysicalThread1002 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_23_in_rulePhysicalThread1033 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalThread1051 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_12_in_rulePhysicalThread1068 = new BitSet(new long[]{0x0000000001000000L});
- public static final BitSet FOLLOW_24_in_rulePhysicalThread1080 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_rulePhysicalThread1092 = new BitSet(new long[]{0x0000700000000000L});
- public static final BitSet FOLLOW_ruleExecMode_in_rulePhysicalThread1113 = new BitSet(new long[]{0x0000000006000000L});
- public static final BitSet FOLLOW_25_in_rulePhysicalThread1126 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_rulePhysicalThread1138 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_ruleTIME_in_rulePhysicalThread1159 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_rulePhysicalThread1173 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_rulePhysicalThread1185 = new BitSet(new long[]{0x0000000C00000020L});
- public static final BitSet FOLLOW_rulePRIO_in_rulePhysicalThread1206 = new BitSet(new long[]{0x0000000008000000L});
- public static final BitSet FOLLOW_27_in_rulePhysicalThread1218 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_rulePhysicalThread1230 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1247 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_rulePhysicalThread1264 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_rulePhysicalThread1276 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1293 = new BitSet(new long[]{0x0000000020000000L});
- public static final BitSet FOLLOW_29_in_rulePhysicalThread1310 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_rulePhysicalThread1322 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1339 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_rulePhysicalThread1356 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRuntimeClass_in_entryRuleRuntimeClass1392 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRuntimeClass1402 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_30_in_ruleRuntimeClass1439 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRuntimeClass1456 = new BitSet(new long[]{0x0000000100001000L});
- public static final BitSet FOLLOW_ruleDocumentation_in_ruleRuntimeClass1482 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_12_in_ruleRuntimeClass1495 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_ruleRuntimeClass1507 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleRuntimeClass1519 = new BitSet(new long[]{0x0001800000000000L});
- public static final BitSet FOLLOW_ruleThreadModel_in_ruleRuntimeClass1540 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleRuntimeClass1552 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation1588 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation1598 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_32_in_ruleDocumentation1635 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation1652 = new BitSet(new long[]{0x0000000200000040L});
- public static final BitSet FOLLOW_33_in_ruleDocumentation1670 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rulePRIO_in_entryRulePRIO1713 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRulePRIO1724 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_rulePRIO1767 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_35_in_rulePRIO1786 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_rulePRIO1803 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImport_in_entryRuleImport1852 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImport1862 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_36_in_ruleImport1899 = new BitSet(new long[]{0x0000000080000010L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport1922 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_37_in_ruleImport1934 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_31_in_ruleImport1953 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleImport1971 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2013 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN2024 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN2071 = new BitSet(new long[]{0x0000004000000002L});
- public static final BitSet FOLLOW_38_in_ruleImportedFQN2090 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN2133 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleFQN2144 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2184 = new BitSet(new long[]{0x0000008000000002L});
- public static final BitSet FOLLOW_39_in_ruleFQN2203 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2218 = new BitSet(new long[]{0x0000008000000002L});
- public static final BitSet FOLLOW_ruleTIME_in_entryRuleTIME2266 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTIME2277 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2318 = new BitSet(new long[]{0x0000010000000000L});
- public static final BitSet FOLLOW_40_in_ruleTIME2336 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2359 = new BitSet(new long[]{0x0000020000000000L});
- public static final BitSet FOLLOW_41_in_ruleTIME2377 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2400 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_ruleTIME2418 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2441 = new BitSet(new long[]{0x0000080000000000L});
- public static final BitSet FOLLOW_43_in_ruleTIME2459 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_44_in_ruleExecMode2514 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_45_in_ruleExecMode2531 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_46_in_ruleExecMode2548 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_47_in_ruleThreadModel2593 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_48_in_ruleThreadModel2610 = new BitSet(new long[]{0x0000000000000002L});
-
+public class InternalETPhysParser extends AbstractInternalAntlrParser {
+ public static final String[] tokenNames = new String[] {
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'PhysicalModel'", "'{'", "'}'", "'PhysicalSystem'", "'NodeRef'", "':'", "'NodeClass'", "'runtime'", "'='", "'priomin'", "'priomax'", "'DefaultThread'", "'Thread'", "'execmode'", "'interval'", "'prio'", "'stacksize'", "'msgblocksize'", "'msgpoolsize'", "'RuntimeClass'", "'model'", "'['", "']'", "'+'", "'-'", "'import'", "'from'", "'.*'", "'.'", "'s'", "'ms'", "'us'", "'ns'", "'polled'", "'blocked'", "'mixed'", "'singleThreaded'", "'multiThreaded'"
+ };
+ public static final int RULE_ID=4;
+ public static final int T__29=29;
+ public static final int T__28=28;
+ public static final int T__27=27;
+ public static final int T__26=26;
+ public static final int T__25=25;
+ public static final int T__24=24;
+ public static final int T__23=23;
+ public static final int T__22=22;
+ public static final int RULE_ANY_OTHER=10;
+ public static final int T__21=21;
+ public static final int T__20=20;
+ public static final int EOF=-1;
+ public static final int T__19=19;
+ public static final int T__16=16;
+ public static final int T__15=15;
+ public static final int T__18=18;
+ public static final int T__17=17;
+ public static final int T__12=12;
+ public static final int T__11=11;
+ public static final int T__14=14;
+ public static final int T__13=13;
+ public static final int RULE_INT=5;
+ public static final int T__42=42;
+ public static final int T__43=43;
+ public static final int T__40=40;
+ public static final int T__41=41;
+ public static final int T__46=46;
+ public static final int T__47=47;
+ public static final int T__44=44;
+ public static final int T__45=45;
+ public static final int T__48=48;
+ public static final int RULE_SL_COMMENT=8;
+ public static final int RULE_ML_COMMENT=7;
+ public static final int T__30=30;
+ public static final int T__31=31;
+ public static final int RULE_STRING=6;
+ public static final int T__32=32;
+ public static final int T__33=33;
+ public static final int T__34=34;
+ public static final int T__35=35;
+ public static final int T__36=36;
+ public static final int T__37=37;
+ public static final int T__38=38;
+ public static final int T__39=39;
+ public static final int RULE_WS=9;
+
+ // delegates
+ // delegators
+
+
+ public InternalETPhysParser(TokenStream input) {
+ this(input, new RecognizerSharedState());
+ }
+ public InternalETPhysParser(TokenStream input, RecognizerSharedState state) {
+ super(input, state);
+
+ }
+
+
+ public String[] getTokenNames() { return InternalETPhysParser.tokenNames; }
+ public String getGrammarFileName() { return "../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g"; }
+
+
+
+ private ETPhysGrammarAccess grammarAccess;
+
+ public InternalETPhysParser(TokenStream input, ETPhysGrammarAccess grammarAccess) {
+ this(input);
+ this.grammarAccess = grammarAccess;
+ registerRules(grammarAccess.getGrammar());
+ }
+
+ @Override
+ protected String getFirstRuleName() {
+ return "PhysicalModel";
+ }
+
+ @Override
+ protected ETPhysGrammarAccess getGrammarAccess() {
+ return grammarAccess;
+ }
+
+
+
+ // $ANTLR start "entryRulePhysicalModel"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:68:1: entryRulePhysicalModel returns [EObject current=null] : iv_rulePhysicalModel= rulePhysicalModel EOF ;
+ public final EObject entryRulePhysicalModel() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePhysicalModel = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:69:2: (iv_rulePhysicalModel= rulePhysicalModel EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:70:2: iv_rulePhysicalModel= rulePhysicalModel EOF
+ {
+ newCompositeNode(grammarAccess.getPhysicalModelRule());
+ pushFollow(FOLLOW_rulePhysicalModel_in_entryRulePhysicalModel75);
+ iv_rulePhysicalModel=rulePhysicalModel();
+
+ state._fsp--;
+
+ current =iv_rulePhysicalModel;
+ match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalModel85);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePhysicalModel"
+
+
+ // $ANTLR start "rulePhysicalModel"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:77:1: rulePhysicalModel returns [EObject current=null] : (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' ) ;
+ public final EObject rulePhysicalModel() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token otherlv_2=null;
+ Token otherlv_7=null;
+ AntlrDatatypeRuleToken lv_name_1_0 = null;
+
+ EObject lv_imports_3_0 = null;
+
+ EObject lv_systems_4_0 = null;
+
+ EObject lv_nodeClasses_5_0 = null;
+
+ EObject lv_runtimeClasses_6_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:80:28: ( (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:1: (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:1: (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:3: otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}'
+ {
+ otherlv_0=(Token)match(input,11,FOLLOW_11_in_rulePhysicalModel122);
+
+ newLeafNode(otherlv_0, grammarAccess.getPhysicalModelAccess().getPhysicalModelKeyword_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:85:1: ( (lv_name_1_0= ruleFQN ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:87:3: lv_name_1_0= ruleFQN
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getNameFQNParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_ruleFQN_in_rulePhysicalModel143);
+ lv_name_1_0=ruleFQN();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_1_0,
+ "FQN");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,12,FOLLOW_12_in_rulePhysicalModel155);
+
+ newLeafNode(otherlv_2, grammarAccess.getPhysicalModelAccess().getLeftCurlyBracketKeyword_2());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:107:1: ( (lv_imports_3_0= ruleImport ) )*
+ loop1:
+ do {
+ int alt1=2;
+ int LA1_0 = input.LA(1);
+
+ if ( (LA1_0==36) ) {
+ alt1=1;
+ }
+
+
+ switch (alt1) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:109:3: lv_imports_3_0= ruleImport
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getImportsImportParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_ruleImport_in_rulePhysicalModel176);
+ lv_imports_3_0=ruleImport();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "imports",
+ lv_imports_3_0,
+ "Import");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop1;
+ }
+ } while (true);
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:3: ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )*
+ loop2:
+ do {
+ int alt2=4;
+ switch ( input.LA(1) ) {
+ case 14:
+ {
+ alt2=1;
+ }
+ break;
+ case 17:
+ {
+ alt2=2;
+ }
+ break;
+ case 30:
+ {
+ alt2=3;
+ }
+ break;
+
+ }
+
+ switch (alt2) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:127:3: lv_systems_4_0= rulePhysicalSystem
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getSystemsPhysicalSystemParserRuleCall_4_0_0());
+
+ pushFollow(FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199);
+ lv_systems_4_0=rulePhysicalSystem();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "systems",
+ lv_systems_4_0,
+ "PhysicalSystem");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:146:3: lv_nodeClasses_5_0= ruleNodeClass
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getNodeClassesNodeClassParserRuleCall_4_1_0());
+
+ pushFollow(FOLLOW_ruleNodeClass_in_rulePhysicalModel226);
+ lv_nodeClasses_5_0=ruleNodeClass();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "nodeClasses",
+ lv_nodeClasses_5_0,
+ "NodeClass");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:165:3: lv_runtimeClasses_6_0= ruleRuntimeClass
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getRuntimeClassesRuntimeClassParserRuleCall_4_2_0());
+
+ pushFollow(FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253);
+ lv_runtimeClasses_6_0=ruleRuntimeClass();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "runtimeClasses",
+ lv_runtimeClasses_6_0,
+ "RuntimeClass");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop2;
+ }
+ } while (true);
+
+ otherlv_7=(Token)match(input,13,FOLLOW_13_in_rulePhysicalModel267);
+
+ newLeafNode(otherlv_7, grammarAccess.getPhysicalModelAccess().getRightCurlyBracketKeyword_5());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePhysicalModel"
+
+
+ // $ANTLR start "entryRulePhysicalSystem"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:193:1: entryRulePhysicalSystem returns [EObject current=null] : iv_rulePhysicalSystem= rulePhysicalSystem EOF ;
+ public final EObject entryRulePhysicalSystem() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePhysicalSystem = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:194:2: (iv_rulePhysicalSystem= rulePhysicalSystem EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:195:2: iv_rulePhysicalSystem= rulePhysicalSystem EOF
+ {
+ newCompositeNode(grammarAccess.getPhysicalSystemRule());
+ pushFollow(FOLLOW_rulePhysicalSystem_in_entryRulePhysicalSystem303);
+ iv_rulePhysicalSystem=rulePhysicalSystem();
+
+ state._fsp--;
+
+ current =iv_rulePhysicalSystem;
+ match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalSystem313);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePhysicalSystem"
+
+
+ // $ANTLR start "rulePhysicalSystem"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:202:1: rulePhysicalSystem returns [EObject current=null] : (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) ;
+ public final EObject rulePhysicalSystem() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token lv_name_1_0=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ EObject lv_docu_2_0 = null;
+
+ EObject lv_nodeRefs_4_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:205:28: ( (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:1: (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:1: (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:3: otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}'
+ {
+ otherlv_0=(Token)match(input,14,FOLLOW_14_in_rulePhysicalSystem350);
+
+ newLeafNode(otherlv_0, grammarAccess.getPhysicalSystemAccess().getPhysicalSystemKeyword_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:210:1: ( (lv_name_1_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:212:3: lv_name_1_0= RULE_ID
+ {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePhysicalSystem367);
+
+ newLeafNode(lv_name_1_0, grammarAccess.getPhysicalSystemAccess().getNameIDTerminalRuleCall_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalSystemRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "ID");
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:228:2: ( (lv_docu_2_0= ruleDocumentation ) )?
+ int alt3=2;
+ int LA3_0 = input.LA(1);
+
+ if ( (LA3_0==32) ) {
+ alt3=1;
+ }
+ switch (alt3) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:230:3: lv_docu_2_0= ruleDocumentation
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalSystemAccess().getDocuDocumentationParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_ruleDocumentation_in_rulePhysicalSystem393);
+ lv_docu_2_0=ruleDocumentation();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_2_0,
+ "Documentation");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_3=(Token)match(input,12,FOLLOW_12_in_rulePhysicalSystem406);
+
+ newLeafNode(otherlv_3, grammarAccess.getPhysicalSystemAccess().getLeftCurlyBracketKeyword_3());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:250:1: ( (lv_nodeRefs_4_0= ruleNodeRef ) )*
+ loop4:
+ do {
+ int alt4=2;
+ int LA4_0 = input.LA(1);
+
+ if ( (LA4_0==15) ) {
+ alt4=1;
+ }
+
+
+ switch (alt4) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:252:3: lv_nodeRefs_4_0= ruleNodeRef
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalSystemAccess().getNodeRefsNodeRefParserRuleCall_4_0());
+
+ pushFollow(FOLLOW_ruleNodeRef_in_rulePhysicalSystem427);
+ lv_nodeRefs_4_0=ruleNodeRef();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
+ }
+ add(
+ current,
+ "nodeRefs",
+ lv_nodeRefs_4_0,
+ "NodeRef");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop4;
+ }
+ } while (true);
+
+ otherlv_5=(Token)match(input,13,FOLLOW_13_in_rulePhysicalSystem440);
+
+ newLeafNode(otherlv_5, grammarAccess.getPhysicalSystemAccess().getRightCurlyBracketKeyword_5());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePhysicalSystem"
+
+
+ // $ANTLR start "entryRuleNodeRef"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:280:1: entryRuleNodeRef returns [EObject current=null] : iv_ruleNodeRef= ruleNodeRef EOF ;
+ public final EObject entryRuleNodeRef() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleNodeRef = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:281:2: (iv_ruleNodeRef= ruleNodeRef EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:282:2: iv_ruleNodeRef= ruleNodeRef EOF
+ {
+ newCompositeNode(grammarAccess.getNodeRefRule());
+ pushFollow(FOLLOW_ruleNodeRef_in_entryRuleNodeRef476);
+ iv_ruleNodeRef=ruleNodeRef();
+
+ state._fsp--;
+
+ current =iv_ruleNodeRef;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleNodeRef486);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleNodeRef"
+
+
+ // $ANTLR start "ruleNodeRef"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:289:1: ruleNodeRef returns [EObject current=null] : (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) ;
+ public final EObject ruleNodeRef() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token lv_name_1_0=null;
+ Token otherlv_2=null;
+ EObject lv_docu_4_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:292:28: ( (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:3: otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )?
+ {
+ otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleNodeRef523);
+
+ newLeafNode(otherlv_0, grammarAccess.getNodeRefAccess().getNodeRefKeyword_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:297:1: ( (lv_name_1_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:299:3: lv_name_1_0= RULE_ID
+ {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNodeRef540);
+
+ newLeafNode(lv_name_1_0, grammarAccess.getNodeRefAccess().getNameIDTerminalRuleCall_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeRefRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "ID");
+
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleNodeRef557);
+
+ newLeafNode(otherlv_2, grammarAccess.getNodeRefAccess().getColonKeyword_2());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:319:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:320:1: ( ruleFQN )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:320:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:321:3: ruleFQN
+ {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeRefRule());
+ }
+
+
+ newCompositeNode(grammarAccess.getNodeRefAccess().getTypeNodeClassCrossReference_3_0());
+
+ pushFollow(FOLLOW_ruleFQN_in_ruleNodeRef580);
+ ruleFQN();
+
+ state._fsp--;
+
+
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:334:2: ( (lv_docu_4_0= ruleDocumentation ) )?
+ int alt5=2;
+ int LA5_0 = input.LA(1);
+
+ if ( (LA5_0==32) ) {
+ alt5=1;
+ }
+ switch (alt5) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:336:3: lv_docu_4_0= ruleDocumentation
+ {
+
+ newCompositeNode(grammarAccess.getNodeRefAccess().getDocuDocumentationParserRuleCall_4_0());
+
+ pushFollow(FOLLOW_ruleDocumentation_in_ruleNodeRef601);
+ lv_docu_4_0=ruleDocumentation();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeRefRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_4_0,
+ "Documentation");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleNodeRef"
+
+
+ // $ANTLR start "entryRuleNodeClass"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:360:1: entryRuleNodeClass returns [EObject current=null] : iv_ruleNodeClass= ruleNodeClass EOF ;
+ public final EObject entryRuleNodeClass() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleNodeClass = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:361:2: (iv_ruleNodeClass= ruleNodeClass EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:362:2: iv_ruleNodeClass= ruleNodeClass EOF
+ {
+ newCompositeNode(grammarAccess.getNodeClassRule());
+ pushFollow(FOLLOW_ruleNodeClass_in_entryRuleNodeClass638);
+ iv_ruleNodeClass=ruleNodeClass();
+
+ state._fsp--;
+
+ current =iv_ruleNodeClass;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleNodeClass648);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleNodeClass"
+
+
+ // $ANTLR start "ruleNodeClass"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:369:1: ruleNodeClass returns [EObject current=null] : (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' ) ;
+ public final EObject ruleNodeClass() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token lv_name_1_0=null;
+ Token otherlv_3=null;
+ Token otherlv_4=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_11=null;
+ Token otherlv_14=null;
+ EObject lv_docu_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_priomin_9_0 = null;
+
+ AntlrDatatypeRuleToken lv_priomax_12_0 = null;
+
+ EObject lv_threads_13_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:372:28: ( (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:1: (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:1: (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:3: otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'runtime' otherlv_5= '=' ( ( ruleFQN ) ) otherlv_7= 'priomin' otherlv_8= '=' ( (lv_priomin_9_0= rulePRIO ) ) otherlv_10= 'priomax' otherlv_11= '=' ( (lv_priomax_12_0= rulePRIO ) ) ( (lv_threads_13_0= rulePhysicalThread ) )* otherlv_14= '}'
+ {
+ otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleNodeClass685);
+
+ newLeafNode(otherlv_0, grammarAccess.getNodeClassAccess().getNodeClassKeyword_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:377:1: ( (lv_name_1_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:379:3: lv_name_1_0= RULE_ID
+ {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNodeClass702);
+
+ newLeafNode(lv_name_1_0, grammarAccess.getNodeClassAccess().getNameIDTerminalRuleCall_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeClassRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "ID");
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:395:2: ( (lv_docu_2_0= ruleDocumentation ) )?
+ int alt6=2;
+ int LA6_0 = input.LA(1);
+
+ if ( (LA6_0==32) ) {
+ alt6=1;
+ }
+ switch (alt6) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:397:3: lv_docu_2_0= ruleDocumentation
+ {
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getDocuDocumentationParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_ruleDocumentation_in_ruleNodeClass728);
+ lv_docu_2_0=ruleDocumentation();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_2_0,
+ "Documentation");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleNodeClass741);
+
+ newLeafNode(otherlv_3, grammarAccess.getNodeClassAccess().getLeftCurlyBracketKeyword_3());
+
+ otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleNodeClass753);
+
+ newLeafNode(otherlv_4, grammarAccess.getNodeClassAccess().getRuntimeKeyword_4());
+
+ otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass765);
+
+ newLeafNode(otherlv_5, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_5());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:425:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:426:1: ( ruleFQN )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:426:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:427:3: ruleFQN
+ {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeClassRule());
+ }
+
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getRuntimeRuntimeClassCrossReference_6_0());
+
+ pushFollow(FOLLOW_ruleFQN_in_ruleNodeClass788);
+ ruleFQN();
+
+ state._fsp--;
+
+
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_7=(Token)match(input,20,FOLLOW_20_in_ruleNodeClass800);
+
+ newLeafNode(otherlv_7, grammarAccess.getNodeClassAccess().getPriominKeyword_7());
+
+ otherlv_8=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass812);
+
+ newLeafNode(otherlv_8, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_8());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:448:1: ( (lv_priomin_9_0= rulePRIO ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:449:1: (lv_priomin_9_0= rulePRIO )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:449:1: (lv_priomin_9_0= rulePRIO )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:450:3: lv_priomin_9_0= rulePRIO
+ {
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getPriominPRIOParserRuleCall_9_0());
+
+ pushFollow(FOLLOW_rulePRIO_in_ruleNodeClass833);
+ lv_priomin_9_0=rulePRIO();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ set(
+ current,
+ "priomin",
+ lv_priomin_9_0,
+ "PRIO");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_10=(Token)match(input,21,FOLLOW_21_in_ruleNodeClass845);
+
+ newLeafNode(otherlv_10, grammarAccess.getNodeClassAccess().getPriomaxKeyword_10());
+
+ otherlv_11=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass857);
+
+ newLeafNode(otherlv_11, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_11());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:474:1: ( (lv_priomax_12_0= rulePRIO ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:475:1: (lv_priomax_12_0= rulePRIO )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:475:1: (lv_priomax_12_0= rulePRIO )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:476:3: lv_priomax_12_0= rulePRIO
+ {
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getPriomaxPRIOParserRuleCall_12_0());
+
+ pushFollow(FOLLOW_rulePRIO_in_ruleNodeClass878);
+ lv_priomax_12_0=rulePRIO();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ set(
+ current,
+ "priomax",
+ lv_priomax_12_0,
+ "PRIO");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:492:2: ( (lv_threads_13_0= rulePhysicalThread ) )*
+ loop7:
+ do {
+ int alt7=2;
+ int LA7_0 = input.LA(1);
+
+ if ( ((LA7_0>=22 && LA7_0<=23)) ) {
+ alt7=1;
+ }
+
+
+ switch (alt7) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:493:1: (lv_threads_13_0= rulePhysicalThread )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:493:1: (lv_threads_13_0= rulePhysicalThread )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:494:3: lv_threads_13_0= rulePhysicalThread
+ {
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getThreadsPhysicalThreadParserRuleCall_13_0());
+
+ pushFollow(FOLLOW_rulePhysicalThread_in_ruleNodeClass899);
+ lv_threads_13_0=rulePhysicalThread();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ add(
+ current,
+ "threads",
+ lv_threads_13_0,
+ "PhysicalThread");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop7;
+ }
+ } while (true);
+
+ otherlv_14=(Token)match(input,13,FOLLOW_13_in_ruleNodeClass912);
+
+ newLeafNode(otherlv_14, grammarAccess.getNodeClassAccess().getRightCurlyBracketKeyword_14());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleNodeClass"
+
+
+ // $ANTLR start "entryRulePhysicalThread"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:522:1: entryRulePhysicalThread returns [EObject current=null] : iv_rulePhysicalThread= rulePhysicalThread EOF ;
+ public final EObject entryRulePhysicalThread() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePhysicalThread = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:523:2: (iv_rulePhysicalThread= rulePhysicalThread EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:524:2: iv_rulePhysicalThread= rulePhysicalThread EOF
+ {
+ newCompositeNode(grammarAccess.getPhysicalThreadRule());
+ pushFollow(FOLLOW_rulePhysicalThread_in_entryRulePhysicalThread948);
+ iv_rulePhysicalThread=rulePhysicalThread();
+
+ state._fsp--;
+
+ current =iv_rulePhysicalThread;
+ match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalThread958);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePhysicalThread"
+
+
+ // $ANTLR start "rulePhysicalThread"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:531:1: rulePhysicalThread returns [EObject current=null] : ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' ) ;
+ public final EObject rulePhysicalThread() throws RecognitionException {
+ EObject current = null;
+
+ Token lv_default_0_0=null;
+ Token otherlv_1=null;
+ Token lv_name_2_0=null;
+ Token otherlv_3=null;
+ Token otherlv_4=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_11=null;
+ Token otherlv_13=null;
+ Token otherlv_14=null;
+ Token lv_stacksize_15_0=null;
+ Token otherlv_16=null;
+ Token otherlv_17=null;
+ Token lv_msgblocksize_18_0=null;
+ Token otherlv_19=null;
+ Token otherlv_20=null;
+ Token lv_msgpoolsize_21_0=null;
+ Token otherlv_22=null;
+ Enumerator lv_execmode_6_0 = null;
+
+ AntlrDatatypeRuleToken lv_time_9_0 = null;
+
+ AntlrDatatypeRuleToken lv_prio_12_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:534:28: ( ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' otherlv_4= 'execmode' otherlv_5= '=' ( (lv_execmode_6_0= ruleExecMode ) ) (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )? otherlv_10= 'prio' otherlv_11= '=' ( (lv_prio_12_0= rulePRIO ) ) otherlv_13= 'stacksize' otherlv_14= '=' ( (lv_stacksize_15_0= RULE_INT ) ) otherlv_16= 'msgblocksize' otherlv_17= '=' ( (lv_msgblocksize_18_0= RULE_INT ) ) otherlv_19= 'msgpoolsize' otherlv_20= '=' ( (lv_msgpoolsize_21_0= RULE_INT ) ) otherlv_22= '}'
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' )
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( (LA8_0==22) ) {
+ alt8=1;
+ }
+ else if ( (LA8_0==23) ) {
+ alt8=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 8, 0, input);
+
+ throw nvae;
+ }
+ switch (alt8) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:3: ( (lv_default_0_0= 'DefaultThread' ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:535:3: ( (lv_default_0_0= 'DefaultThread' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:536:1: (lv_default_0_0= 'DefaultThread' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:536:1: (lv_default_0_0= 'DefaultThread' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:537:3: lv_default_0_0= 'DefaultThread'
+ {
+ lv_default_0_0=(Token)match(input,22,FOLLOW_22_in_rulePhysicalThread1002);
+
+ newLeafNode(lv_default_0_0, grammarAccess.getPhysicalThreadAccess().getDefaultDefaultThreadKeyword_0_0_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(current, "default", true, "DefaultThread");
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:551:7: otherlv_1= 'Thread'
+ {
+ otherlv_1=(Token)match(input,23,FOLLOW_23_in_rulePhysicalThread1033);
+
+ newLeafNode(otherlv_1, grammarAccess.getPhysicalThreadAccess().getThreadKeyword_0_1());
+
+
+ }
+ break;
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:555:2: ( (lv_name_2_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:556:1: (lv_name_2_0= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:556:1: (lv_name_2_0= RULE_ID )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:557:3: lv_name_2_0= RULE_ID
+ {
+ lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePhysicalThread1051);
+
+ newLeafNode(lv_name_2_0, grammarAccess.getPhysicalThreadAccess().getNameIDTerminalRuleCall_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_2_0,
+ "ID");
+
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,12,FOLLOW_12_in_rulePhysicalThread1068);
+
+ newLeafNode(otherlv_3, grammarAccess.getPhysicalThreadAccess().getLeftCurlyBracketKeyword_2());
+
+ otherlv_4=(Token)match(input,24,FOLLOW_24_in_rulePhysicalThread1080);
+
+ newLeafNode(otherlv_4, grammarAccess.getPhysicalThreadAccess().getExecmodeKeyword_3());
+
+ otherlv_5=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1092);
+
+ newLeafNode(otherlv_5, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_4());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:585:1: ( (lv_execmode_6_0= ruleExecMode ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:586:1: (lv_execmode_6_0= ruleExecMode )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:586:1: (lv_execmode_6_0= ruleExecMode )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:587:3: lv_execmode_6_0= ruleExecMode
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalThreadAccess().getExecmodeExecModeEnumRuleCall_5_0());
+
+ pushFollow(FOLLOW_ruleExecMode_in_rulePhysicalThread1113);
+ lv_execmode_6_0=ruleExecMode();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
+ }
+ set(
+ current,
+ "execmode",
+ lv_execmode_6_0,
+ "ExecMode");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:603:2: (otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) ) )?
+ int alt9=2;
+ int LA9_0 = input.LA(1);
+
+ if ( (LA9_0==25) ) {
+ alt9=1;
+ }
+ switch (alt9) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:603:4: otherlv_7= 'interval' otherlv_8= '=' ( (lv_time_9_0= ruleTIME ) )
+ {
+ otherlv_7=(Token)match(input,25,FOLLOW_25_in_rulePhysicalThread1126);
+
+ newLeafNode(otherlv_7, grammarAccess.getPhysicalThreadAccess().getIntervalKeyword_6_0());
+
+ otherlv_8=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1138);
+
+ newLeafNode(otherlv_8, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_6_1());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:611:1: ( (lv_time_9_0= ruleTIME ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:612:1: (lv_time_9_0= ruleTIME )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:612:1: (lv_time_9_0= ruleTIME )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:613:3: lv_time_9_0= ruleTIME
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalThreadAccess().getTimeTIMEParserRuleCall_6_2_0());
+
+ pushFollow(FOLLOW_ruleTIME_in_rulePhysicalThread1159);
+ lv_time_9_0=ruleTIME();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
+ }
+ set(
+ current,
+ "time",
+ lv_time_9_0,
+ "TIME");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_10=(Token)match(input,26,FOLLOW_26_in_rulePhysicalThread1173);
+
+ newLeafNode(otherlv_10, grammarAccess.getPhysicalThreadAccess().getPrioKeyword_7());
+
+ otherlv_11=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1185);
+
+ newLeafNode(otherlv_11, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_8());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:637:1: ( (lv_prio_12_0= rulePRIO ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:638:1: (lv_prio_12_0= rulePRIO )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:638:1: (lv_prio_12_0= rulePRIO )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:639:3: lv_prio_12_0= rulePRIO
+ {
+
+ newCompositeNode(grammarAccess.getPhysicalThreadAccess().getPrioPRIOParserRuleCall_9_0());
+
+ pushFollow(FOLLOW_rulePRIO_in_rulePhysicalThread1206);
+ lv_prio_12_0=rulePRIO();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
+ }
+ set(
+ current,
+ "prio",
+ lv_prio_12_0,
+ "PRIO");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_13=(Token)match(input,27,FOLLOW_27_in_rulePhysicalThread1218);
+
+ newLeafNode(otherlv_13, grammarAccess.getPhysicalThreadAccess().getStacksizeKeyword_10());
+
+ otherlv_14=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1230);
+
+ newLeafNode(otherlv_14, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_11());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:663:1: ( (lv_stacksize_15_0= RULE_INT ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:664:1: (lv_stacksize_15_0= RULE_INT )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:664:1: (lv_stacksize_15_0= RULE_INT )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:665:3: lv_stacksize_15_0= RULE_INT
+ {
+ lv_stacksize_15_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1247);
+
+ newLeafNode(lv_stacksize_15_0, grammarAccess.getPhysicalThreadAccess().getStacksizeINTTerminalRuleCall_12_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "stacksize",
+ lv_stacksize_15_0,
+ "INT");
+
+
+ }
+
+
+ }
+
+ otherlv_16=(Token)match(input,28,FOLLOW_28_in_rulePhysicalThread1264);
+
+ newLeafNode(otherlv_16, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeKeyword_13());
+
+ otherlv_17=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1276);
+
+ newLeafNode(otherlv_17, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_14());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:689:1: ( (lv_msgblocksize_18_0= RULE_INT ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:690:1: (lv_msgblocksize_18_0= RULE_INT )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:690:1: (lv_msgblocksize_18_0= RULE_INT )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:691:3: lv_msgblocksize_18_0= RULE_INT
+ {
+ lv_msgblocksize_18_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1293);
+
+ newLeafNode(lv_msgblocksize_18_0, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeINTTerminalRuleCall_15_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "msgblocksize",
+ lv_msgblocksize_18_0,
+ "INT");
+
+
+ }
+
+
+ }
+
+ otherlv_19=(Token)match(input,29,FOLLOW_29_in_rulePhysicalThread1310);
+
+ newLeafNode(otherlv_19, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeKeyword_16());
+
+ otherlv_20=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1322);
+
+ newLeafNode(otherlv_20, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_17());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:715:1: ( (lv_msgpoolsize_21_0= RULE_INT ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:716:1: (lv_msgpoolsize_21_0= RULE_INT )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:716:1: (lv_msgpoolsize_21_0= RULE_INT )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:717:3: lv_msgpoolsize_21_0= RULE_INT
+ {
+ lv_msgpoolsize_21_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1339);
+
+ newLeafNode(lv_msgpoolsize_21_0, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeINTTerminalRuleCall_18_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "msgpoolsize",
+ lv_msgpoolsize_21_0,
+ "INT");
+
+
+ }
+
+
+ }
+
+ otherlv_22=(Token)match(input,13,FOLLOW_13_in_rulePhysicalThread1356);
+
+ newLeafNode(otherlv_22, grammarAccess.getPhysicalThreadAccess().getRightCurlyBracketKeyword_19());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePhysicalThread"
+
+
+ // $ANTLR start "entryRuleRuntimeClass"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:745:1: entryRuleRuntimeClass returns [EObject current=null] : iv_ruleRuntimeClass= ruleRuntimeClass EOF ;
+ public final EObject entryRuleRuntimeClass() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleRuntimeClass = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:746:2: (iv_ruleRuntimeClass= ruleRuntimeClass EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:747:2: iv_ruleRuntimeClass= ruleRuntimeClass EOF
+ {
+ newCompositeNode(grammarAccess.getRuntimeClassRule());
+ pushFollow(FOLLOW_ruleRuntimeClass_in_entryRuleRuntimeClass1392);
+ iv_ruleRuntimeClass=ruleRuntimeClass();
+
+ state._fsp--;
+
+ current =iv_ruleRuntimeClass;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRuntimeClass1402);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleRuntimeClass"
+
+
+ // $ANTLR start "ruleRuntimeClass"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:754:1: ruleRuntimeClass returns [EObject current=null] : (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' ) ;
+ public final EObject ruleRuntimeClass() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token lv_name_1_0=null;
+ Token otherlv_3=null;
+ Token otherlv_4=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ EObject lv_docu_2_0 = null;
+
+ Enumerator lv_threadModel_6_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:757:28: ( (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:1: (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:1: (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:3: otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}'
+ {
+ otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleRuntimeClass1439);
+
+ newLeafNode(otherlv_0, grammarAccess.getRuntimeClassAccess().getRuntimeClassKeyword_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:762:1: ( (lv_name_1_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:763:1: (lv_name_1_0= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:763:1: (lv_name_1_0= RULE_ID )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:764:3: lv_name_1_0= RULE_ID
+ {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuntimeClass1456);
+
+ newLeafNode(lv_name_1_0, grammarAccess.getRuntimeClassAccess().getNameIDTerminalRuleCall_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getRuntimeClassRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "ID");
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:780:2: ( (lv_docu_2_0= ruleDocumentation ) )?
+ int alt10=2;
+ int LA10_0 = input.LA(1);
+
+ if ( (LA10_0==32) ) {
+ alt10=1;
+ }
+ switch (alt10) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:781:1: (lv_docu_2_0= ruleDocumentation )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:781:1: (lv_docu_2_0= ruleDocumentation )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:782:3: lv_docu_2_0= ruleDocumentation
+ {
+
+ newCompositeNode(grammarAccess.getRuntimeClassAccess().getDocuDocumentationParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_ruleDocumentation_in_ruleRuntimeClass1482);
+ lv_docu_2_0=ruleDocumentation();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_2_0,
+ "Documentation");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleRuntimeClass1495);
+
+ newLeafNode(otherlv_3, grammarAccess.getRuntimeClassAccess().getLeftCurlyBracketKeyword_3());
+
+ otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleRuntimeClass1507);
+
+ newLeafNode(otherlv_4, grammarAccess.getRuntimeClassAccess().getModelKeyword_4());
+
+ otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleRuntimeClass1519);
+
+ newLeafNode(otherlv_5, grammarAccess.getRuntimeClassAccess().getEqualsSignKeyword_5());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:810:1: ( (lv_threadModel_6_0= ruleThreadModel ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:811:1: (lv_threadModel_6_0= ruleThreadModel )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:811:1: (lv_threadModel_6_0= ruleThreadModel )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:812:3: lv_threadModel_6_0= ruleThreadModel
+ {
+
+ newCompositeNode(grammarAccess.getRuntimeClassAccess().getThreadModelThreadModelEnumRuleCall_6_0());
+
+ pushFollow(FOLLOW_ruleThreadModel_in_ruleRuntimeClass1540);
+ lv_threadModel_6_0=ruleThreadModel();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
+ }
+ set(
+ current,
+ "threadModel",
+ lv_threadModel_6_0,
+ "ThreadModel");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_7=(Token)match(input,13,FOLLOW_13_in_ruleRuntimeClass1552);
+
+ newLeafNode(otherlv_7, grammarAccess.getRuntimeClassAccess().getRightCurlyBracketKeyword_7());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleRuntimeClass"
+
+
+ // $ANTLR start "entryRuleDocumentation"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:840:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ;
+ public final EObject entryRuleDocumentation() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleDocumentation = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:841:2: (iv_ruleDocumentation= ruleDocumentation EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:842:2: iv_ruleDocumentation= ruleDocumentation EOF
+ {
+ newCompositeNode(grammarAccess.getDocumentationRule());
+ pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation1588);
+ iv_ruleDocumentation=ruleDocumentation();
+
+ state._fsp--;
+
+ current =iv_ruleDocumentation;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation1598);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleDocumentation"
+
+
+ // $ANTLR start "ruleDocumentation"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:849:1: ruleDocumentation returns [EObject current=null] : (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) ;
+ public final EObject ruleDocumentation() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token lv_text_1_0=null;
+ Token otherlv_2=null;
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:852:28: ( (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:853:1: (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:853:1: (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:853:3: otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']'
+ {
+ otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleDocumentation1635);
+
+ newLeafNode(otherlv_0, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:857:1: ( (lv_text_1_0= RULE_STRING ) )+
+ int cnt11=0;
+ loop11:
+ do {
+ int alt11=2;
+ int LA11_0 = input.LA(1);
+
+ if ( (LA11_0==RULE_STRING) ) {
+ alt11=1;
+ }
+
+
+ switch (alt11) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:858:1: (lv_text_1_0= RULE_STRING )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:858:1: (lv_text_1_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:859:3: lv_text_1_0= RULE_STRING
+ {
+ lv_text_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation1652);
+
+ newLeafNode(lv_text_1_0, grammarAccess.getDocumentationAccess().getTextSTRINGTerminalRuleCall_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getDocumentationRule());
+ }
+ addWithLastConsumed(
+ current,
+ "text",
+ lv_text_1_0,
+ "STRING");
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt11 >= 1 ) break loop11;
+ EarlyExitException eee =
+ new EarlyExitException(11, input);
+ throw eee;
+ }
+ cnt11++;
+ } while (true);
+
+ otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleDocumentation1670);
+
+ newLeafNode(otherlv_2, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_2());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleDocumentation"
+
+
+ // $ANTLR start "entryRulePRIO"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:887:1: entryRulePRIO returns [String current=null] : iv_rulePRIO= rulePRIO EOF ;
+ public final String entryRulePRIO() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_rulePRIO = null;
+
+
+
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:891:2: (iv_rulePRIO= rulePRIO EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:892:2: iv_rulePRIO= rulePRIO EOF
+ {
+ newCompositeNode(grammarAccess.getPRIORule());
+ pushFollow(FOLLOW_rulePRIO_in_entryRulePRIO1713);
+ iv_rulePRIO=rulePRIO();
+
+ state._fsp--;
+
+ current =iv_rulePRIO.getText();
+ match(input,EOF,FOLLOW_EOF_in_entryRulePRIO1724);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+
+ myHiddenTokenState.restore();
+
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePRIO"
+
+
+ // $ANTLR start "rulePRIO"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:902:1: rulePRIO returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ;
+ public final AntlrDatatypeRuleToken rulePRIO() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+ Token this_INT_2=null;
+
+ enterRule();
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:906:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:907:2: (kw= '+' | kw= '-' )?
+ int alt12=3;
+ int LA12_0 = input.LA(1);
+
+ if ( (LA12_0==34) ) {
+ alt12=1;
+ }
+ else if ( (LA12_0==35) ) {
+ alt12=2;
+ }
+ switch (alt12) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:908:2: kw= '+'
+ {
+ kw=(Token)match(input,34,FOLLOW_34_in_rulePRIO1767);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getPRIOAccess().getPlusSignKeyword_0_0());
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:915:2: kw= '-'
+ {
+ kw=(Token)match(input,35,FOLLOW_35_in_rulePRIO1786);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getPRIOAccess().getHyphenMinusKeyword_0_1());
+
+
+ }
+ break;
+
+ }
+
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePRIO1803);
+
+ current.merge(this_INT_2);
+
+
+ newLeafNode(this_INT_2, grammarAccess.getPRIOAccess().getINTTerminalRuleCall_1());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+
+ myHiddenTokenState.restore();
+
+ }
+ return current;
+ }
+ // $ANTLR end "rulePRIO"
+
+
+ // $ANTLR start "entryRuleImport"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:938:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ public final EObject entryRuleImport() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleImport = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:939:2: (iv_ruleImport= ruleImport EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:940:2: iv_ruleImport= ruleImport EOF
+ {
+ newCompositeNode(grammarAccess.getImportRule());
+ pushFollow(FOLLOW_ruleImport_in_entryRuleImport1852);
+ iv_ruleImport=ruleImport();
+
+ state._fsp--;
+
+ current =iv_ruleImport;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImport1862);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleImport"
+
+
+ // $ANTLR start "ruleImport"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:947:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ;
+ public final EObject ruleImport() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token otherlv_2=null;
+ Token otherlv_3=null;
+ Token lv_importURI_4_0=null;
+ AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:950:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:951:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:951:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:951:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
+ {
+ otherlv_0=(Token)match(input,36,FOLLOW_36_in_ruleImport1899);
+
+ newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
+ int alt13=2;
+ int LA13_0 = input.LA(1);
+
+ if ( (LA13_0==RULE_ID) ) {
+ alt13=1;
+ }
+ else if ( (LA13_0==31) ) {
+ alt13=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 13, 0, input);
+
+ throw nvae;
+ }
+ switch (alt13) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:955:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:956:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:956:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:957:3: lv_importedNamespace_1_0= ruleImportedFQN
+ {
+
+ newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0());
+
+ pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport1922);
+ lv_importedNamespace_1_0=ruleImportedFQN();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getImportRule());
+ }
+ set(
+ current,
+ "importedNamespace",
+ lv_importedNamespace_1_0,
+ "ImportedFQN");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,37,FOLLOW_37_in_ruleImport1934);
+
+ newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:978:7: otherlv_3= 'model'
+ {
+ otherlv_3=(Token)match(input,31,FOLLOW_31_in_ruleImport1953);
+
+ newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
+
+
+ }
+ break;
+
+ }
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:982:2: ( (lv_importURI_4_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:983:1: (lv_importURI_4_0= RULE_STRING )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:983:1: (lv_importURI_4_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:984:3: lv_importURI_4_0= RULE_STRING
+ {
+ lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport1971);
+
+ newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getImportRule());
+ }
+ setWithLastConsumed(
+ current,
+ "importURI",
+ lv_importURI_4_0,
+ "STRING");
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleImport"
+
+
+ // $ANTLR start "entryRuleImportedFQN"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1008:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
+ public final String entryRuleImportedFQN() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleImportedFQN = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1009:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1010:2: iv_ruleImportedFQN= ruleImportedFQN EOF
+ {
+ newCompositeNode(grammarAccess.getImportedFQNRule());
+ pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2013);
+ iv_ruleImportedFQN=ruleImportedFQN();
+
+ state._fsp--;
+
+ current =iv_ruleImportedFQN.getText();
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2024);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleImportedFQN"
+
+
+ // $ANTLR start "ruleImportedFQN"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1017:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
+ public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+ AntlrDatatypeRuleToken this_FQN_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1020:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1021:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1021:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1022:5: this_FQN_0= ruleFQN (kw= '.*' )?
+ {
+
+ newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
+
+ pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2071);
+ this_FQN_0=ruleFQN();
+
+ state._fsp--;
+
+
+ current.merge(this_FQN_0);
+
+
+ afterParserOrEnumRuleCall();
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1032:1: (kw= '.*' )?
+ int alt14=2;
+ int LA14_0 = input.LA(1);
+
+ if ( (LA14_0==38) ) {
+ alt14=1;
+ }
+ switch (alt14) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1033:2: kw= '.*'
+ {
+ kw=(Token)match(input,38,FOLLOW_38_in_ruleImportedFQN2090);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleImportedFQN"
+
+
+ // $ANTLR start "entryRuleFQN"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1046:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
+ public final String entryRuleFQN() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleFQN = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1047:2: (iv_ruleFQN= ruleFQN EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1048:2: iv_ruleFQN= ruleFQN EOF
+ {
+ newCompositeNode(grammarAccess.getFQNRule());
+ pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN2133);
+ iv_ruleFQN=ruleFQN();
+
+ state._fsp--;
+
+ current =iv_ruleFQN.getText();
+ match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2144);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleFQN"
+
+
+ // $ANTLR start "ruleFQN"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1055:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
+ public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token this_ID_0=null;
+ Token kw=null;
+ Token this_ID_2=null;
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1058:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1059:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1059:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1059:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ {
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2184);
+
+ current.merge(this_ID_0);
+
+
+ newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0());
+
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1066:1: (kw= '.' this_ID_2= RULE_ID )*
+ loop15:
+ do {
+ int alt15=2;
+ int LA15_0 = input.LA(1);
+
+ if ( (LA15_0==39) ) {
+ alt15=1;
+ }
+
+
+ switch (alt15) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1067:2: kw= '.' this_ID_2= RULE_ID
+ {
+ kw=(Token)match(input,39,FOLLOW_39_in_ruleFQN2203);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
+
+ this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2218);
+
+ current.merge(this_ID_2);
+
+
+ newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1());
+
+
+ }
+ break;
+
+ default :
+ break loop15;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleFQN"
+
+
+ // $ANTLR start "entryRuleTIME"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1087:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ;
+ public final String entryRuleTIME() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleTIME = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1088:2: (iv_ruleTIME= ruleTIME EOF )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1089:2: iv_ruleTIME= ruleTIME EOF
+ {
+ newCompositeNode(grammarAccess.getTIMERule());
+ pushFollow(FOLLOW_ruleTIME_in_entryRuleTIME2266);
+ iv_ruleTIME=ruleTIME();
+
+ state._fsp--;
+
+ current =iv_ruleTIME.getText();
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTIME2277);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleTIME"
+
+
+ // $ANTLR start "ruleTIME"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1096:1: ruleTIME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ;
+ public final AntlrDatatypeRuleToken ruleTIME() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token this_INT_0=null;
+ Token kw=null;
+ Token this_INT_2=null;
+ Token this_INT_4=null;
+ Token this_INT_6=null;
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1099:28: ( ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
+ int alt16=4;
+ int LA16_0 = input.LA(1);
+
+ if ( (LA16_0==RULE_INT) ) {
+ switch ( input.LA(2) ) {
+ case 40:
+ {
+ alt16=1;
+ }
+ break;
+ case 43:
+ {
+ alt16=4;
+ }
+ break;
+ case 42:
+ {
+ alt16=3;
+ }
+ break;
+ case 41:
+ {
+ alt16=2;
+ }
+ break;
+ default:
+ NoViableAltException nvae =
+ new NoViableAltException("", 16, 1, input);
+
+ throw nvae;
+ }
+
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 16, 0, input);
+
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:2: (this_INT_0= RULE_INT kw= 's' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:2: (this_INT_0= RULE_INT kw= 's' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:7: this_INT_0= RULE_INT kw= 's'
+ {
+ this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2318);
+
+ current.merge(this_INT_0);
+
+
+ newLeafNode(this_INT_0, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_0_0());
+
+ kw=(Token)match(input,40,FOLLOW_40_in_ruleTIME2336);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getSKeyword_0_1());
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1114:6: (this_INT_2= RULE_INT kw= 'ms' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1114:6: (this_INT_2= RULE_INT kw= 'ms' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1114:11: this_INT_2= RULE_INT kw= 'ms'
+ {
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2359);
+
+ current.merge(this_INT_2);
+
+
+ newLeafNode(this_INT_2, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_1_0());
+
+ kw=(Token)match(input,41,FOLLOW_41_in_ruleTIME2377);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getMsKeyword_1_1());
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:6: (this_INT_4= RULE_INT kw= 'us' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:6: (this_INT_4= RULE_INT kw= 'us' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:11: this_INT_4= RULE_INT kw= 'us'
+ {
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2400);
+
+ current.merge(this_INT_4);
+
+
+ newLeafNode(this_INT_4, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_2_0());
+
+ kw=(Token)match(input,42,FOLLOW_42_in_ruleTIME2418);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getUsKeyword_2_1());
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1142:6: (this_INT_6= RULE_INT kw= 'ns' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1142:6: (this_INT_6= RULE_INT kw= 'ns' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1142:11: this_INT_6= RULE_INT kw= 'ns'
+ {
+ this_INT_6=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2441);
+
+ current.merge(this_INT_6);
+
+
+ newLeafNode(this_INT_6, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_3_0());
+
+ kw=(Token)match(input,43,FOLLOW_43_in_ruleTIME2459);
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getNsKeyword_3_1());
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleTIME"
+
+
+ // $ANTLR start "ruleExecMode"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1163:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ;
+ public final Enumerator ruleExecMode() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0=null;
+ Token enumLiteral_1=null;
+ Token enumLiteral_2=null;
+
+ enterRule();
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1165:28: ( ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
+ int alt17=3;
+ switch ( input.LA(1) ) {
+ case 44:
+ {
+ alt17=1;
+ }
+ break;
+ case 45:
+ {
+ alt17=2;
+ }
+ break;
+ case 46:
+ {
+ alt17=3;
+ }
+ break;
+ default:
+ NoViableAltException nvae =
+ new NoViableAltException("", 17, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt17) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:2: (enumLiteral_0= 'polled' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:2: (enumLiteral_0= 'polled' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:4: enumLiteral_0= 'polled'
+ {
+ enumLiteral_0=(Token)match(input,44,FOLLOW_44_in_ruleExecMode2514);
+
+ current = grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0());
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1172:6: (enumLiteral_1= 'blocked' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1172:6: (enumLiteral_1= 'blocked' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1172:8: enumLiteral_1= 'blocked'
+ {
+ enumLiteral_1=(Token)match(input,45,FOLLOW_45_in_ruleExecMode2531);
+
+ current = grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1());
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1178:6: (enumLiteral_2= 'mixed' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1178:6: (enumLiteral_2= 'mixed' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1178:8: enumLiteral_2= 'mixed'
+ {
+ enumLiteral_2=(Token)match(input,46,FOLLOW_46_in_ruleExecMode2548);
+
+ current = grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2());
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleExecMode"
+
+
+ // $ANTLR start "ruleThreadModel"
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1188:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ;
+ public final Enumerator ruleThreadModel() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0=null;
+ Token enumLiteral_1=null;
+
+ enterRule();
+ try {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1190:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
+ int alt18=2;
+ int LA18_0 = input.LA(1);
+
+ if ( (LA18_0==47) ) {
+ alt18=1;
+ }
+ else if ( (LA18_0==48) ) {
+ alt18=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 18, 0, input);
+
+ throw nvae;
+ }
+ switch (alt18) {
+ case 1 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:2: (enumLiteral_0= 'singleThreaded' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:2: (enumLiteral_0= 'singleThreaded' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1191:4: enumLiteral_0= 'singleThreaded'
+ {
+ enumLiteral_0=(Token)match(input,47,FOLLOW_47_in_ruleThreadModel2593);
+
+ current = grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0());
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:6: (enumLiteral_1= 'multiThreaded' )
+ {
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:6: (enumLiteral_1= 'multiThreaded' )
+ // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:8: enumLiteral_1= 'multiThreaded'
+ {
+ enumLiteral_1=(Token)match(input,48,FOLLOW_48_in_ruleThreadModel2610);
+
+ current = grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1());
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleThreadModel"
+
+ // Delegated rules
+
+
+
+
+ public static final BitSet FOLLOW_rulePhysicalModel_in_entryRulePhysicalModel75 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePhysicalModel85 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_11_in_rulePhysicalModel122 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_rulePhysicalModel143 = new BitSet(new long[]{0x0000000000001000L});
+ public static final BitSet FOLLOW_12_in_rulePhysicalModel155 = new BitSet(new long[]{0x0000001040026000L});
+ public static final BitSet FOLLOW_ruleImport_in_rulePhysicalModel176 = new BitSet(new long[]{0x0000001040026000L});
+ public static final BitSet FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199 = new BitSet(new long[]{0x0000000040026000L});
+ public static final BitSet FOLLOW_ruleNodeClass_in_rulePhysicalModel226 = new BitSet(new long[]{0x0000000040026000L});
+ public static final BitSet FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253 = new BitSet(new long[]{0x0000000040026000L});
+ public static final BitSet FOLLOW_13_in_rulePhysicalModel267 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePhysicalSystem_in_entryRulePhysicalSystem303 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePhysicalSystem313 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_14_in_rulePhysicalSystem350 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalSystem367 = new BitSet(new long[]{0x0000000100001000L});
+ public static final BitSet FOLLOW_ruleDocumentation_in_rulePhysicalSystem393 = new BitSet(new long[]{0x0000000000001000L});
+ public static final BitSet FOLLOW_12_in_rulePhysicalSystem406 = new BitSet(new long[]{0x000000000000A000L});
+ public static final BitSet FOLLOW_ruleNodeRef_in_rulePhysicalSystem427 = new BitSet(new long[]{0x000000000000A000L});
+ public static final BitSet FOLLOW_13_in_rulePhysicalSystem440 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNodeRef_in_entryRuleNodeRef476 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleNodeRef486 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_ruleNodeRef523 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleNodeRef540 = new BitSet(new long[]{0x0000000000010000L});
+ public static final BitSet FOLLOW_16_in_ruleNodeRef557 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleNodeRef580 = new BitSet(new long[]{0x0000000100000002L});
+ public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeRef601 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNodeClass_in_entryRuleNodeClass638 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleNodeClass648 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_17_in_ruleNodeClass685 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleNodeClass702 = new BitSet(new long[]{0x0000000100001000L});
+ public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeClass728 = new BitSet(new long[]{0x0000000000001000L});
+ public static final BitSet FOLLOW_12_in_ruleNodeClass741 = new BitSet(new long[]{0x0000000000040000L});
+ public static final BitSet FOLLOW_18_in_ruleNodeClass753 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_ruleNodeClass765 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleNodeClass788 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_20_in_ruleNodeClass800 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_ruleNodeClass812 = new BitSet(new long[]{0x0000000C00000020L});
+ public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass833 = new BitSet(new long[]{0x0000000000200000L});
+ public static final BitSet FOLLOW_21_in_ruleNodeClass845 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_ruleNodeClass857 = new BitSet(new long[]{0x0000000C00000020L});
+ public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass878 = new BitSet(new long[]{0x0000000000C02000L});
+ public static final BitSet FOLLOW_rulePhysicalThread_in_ruleNodeClass899 = new BitSet(new long[]{0x0000000000C02000L});
+ public static final BitSet FOLLOW_13_in_ruleNodeClass912 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePhysicalThread_in_entryRulePhysicalThread948 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePhysicalThread958 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_22_in_rulePhysicalThread1002 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_23_in_rulePhysicalThread1033 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalThread1051 = new BitSet(new long[]{0x0000000000001000L});
+ public static final BitSet FOLLOW_12_in_rulePhysicalThread1068 = new BitSet(new long[]{0x0000000001000000L});
+ public static final BitSet FOLLOW_24_in_rulePhysicalThread1080 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_rulePhysicalThread1092 = new BitSet(new long[]{0x0000700000000000L});
+ public static final BitSet FOLLOW_ruleExecMode_in_rulePhysicalThread1113 = new BitSet(new long[]{0x0000000006000000L});
+ public static final BitSet FOLLOW_25_in_rulePhysicalThread1126 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_rulePhysicalThread1138 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_ruleTIME_in_rulePhysicalThread1159 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_26_in_rulePhysicalThread1173 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_rulePhysicalThread1185 = new BitSet(new long[]{0x0000000C00000020L});
+ public static final BitSet FOLLOW_rulePRIO_in_rulePhysicalThread1206 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_rulePhysicalThread1218 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_rulePhysicalThread1230 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1247 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_28_in_rulePhysicalThread1264 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_rulePhysicalThread1276 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1293 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_rulePhysicalThread1310 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_rulePhysicalThread1322 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1339 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_rulePhysicalThread1356 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRuntimeClass_in_entryRuleRuntimeClass1392 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRuntimeClass1402 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_30_in_ruleRuntimeClass1439 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRuntimeClass1456 = new BitSet(new long[]{0x0000000100001000L});
+ public static final BitSet FOLLOW_ruleDocumentation_in_ruleRuntimeClass1482 = new BitSet(new long[]{0x0000000000001000L});
+ public static final BitSet FOLLOW_12_in_ruleRuntimeClass1495 = new BitSet(new long[]{0x0000000080000000L});
+ public static final BitSet FOLLOW_31_in_ruleRuntimeClass1507 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_ruleRuntimeClass1519 = new BitSet(new long[]{0x0001800000000000L});
+ public static final BitSet FOLLOW_ruleThreadModel_in_ruleRuntimeClass1540 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleRuntimeClass1552 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation1588 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation1598 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_32_in_ruleDocumentation1635 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation1652 = new BitSet(new long[]{0x0000000200000040L});
+ public static final BitSet FOLLOW_33_in_ruleDocumentation1670 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePRIO_in_entryRulePRIO1713 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePRIO1724 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_rulePRIO1767 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_35_in_rulePRIO1786 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_INT_in_rulePRIO1803 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleImport_in_entryRuleImport1852 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImport1862 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_36_in_ruleImport1899 = new BitSet(new long[]{0x0000000080000010L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport1922 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_ruleImport1934 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_31_in_ruleImport1953 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleImport1971 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2013 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN2024 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN2071 = new BitSet(new long[]{0x0000004000000002L});
+ public static final BitSet FOLLOW_38_in_ruleImportedFQN2090 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN2133 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleFQN2144 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2184 = new BitSet(new long[]{0x0000008000000002L});
+ public static final BitSet FOLLOW_39_in_ruleFQN2203 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2218 = new BitSet(new long[]{0x0000008000000002L});
+ public static final BitSet FOLLOW_ruleTIME_in_entryRuleTIME2266 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTIME2277 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2318 = new BitSet(new long[]{0x0000010000000000L});
+ public static final BitSet FOLLOW_40_in_ruleTIME2336 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2359 = new BitSet(new long[]{0x0000020000000000L});
+ public static final BitSet FOLLOW_41_in_ruleTIME2377 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2400 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_ruleTIME2418 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2441 = new BitSet(new long[]{0x0000080000000000L});
+ public static final BitSet FOLLOW_43_in_ruleTIME2459 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_44_in_ruleExecMode2514 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_45_in_ruleExecMode2531 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_46_in_ruleExecMode2548 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_47_in_ruleThreadModel2593 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_48_in_ruleThreadModel2610 = new BitSet(new long[]{0x0000000000000002L});
+
} \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java
index 522432d85..f13373455 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java
@@ -21,150 +21,150 @@ import org.eclipse.xtext.serializer.sequencer.GenericSequencer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ITransientValueService;
-@SuppressWarnings("all")
-public class ETPhysSemanticSequencer extends AbstractDelegatingSemanticSequencer {
-
- @Inject
- private ETPhysGrammarAccess grammarAccess;
-
- public void createSequence(EObject context, EObject semanticObject) {
- if(semanticObject.eClass().getEPackage() == ETPhysPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
- case ETPhysPackage.DOCUMENTATION:
- if(context == grammarAccess.getDocumentationRule()) {
- sequence_Documentation(context, (Documentation) semanticObject);
- return;
- }
- else break;
- case ETPhysPackage.IMPORT:
- if(context == grammarAccess.getImportRule()) {
- sequence_Import(context, (Import) semanticObject);
- return;
- }
- else break;
- case ETPhysPackage.NODE_CLASS:
- if(context == grammarAccess.getNodeClassRule()) {
- sequence_NodeClass(context, (NodeClass) semanticObject);
- return;
- }
- else break;
- case ETPhysPackage.NODE_REF:
- if(context == grammarAccess.getNodeRefRule()) {
- sequence_NodeRef(context, (NodeRef) semanticObject);
- return;
- }
- else break;
- case ETPhysPackage.PHYSICAL_MODEL:
- if(context == grammarAccess.getPhysicalModelRule()) {
- sequence_PhysicalModel(context, (PhysicalModel) semanticObject);
- return;
- }
- else break;
- case ETPhysPackage.PHYSICAL_SYSTEM:
- if(context == grammarAccess.getPhysicalSystemRule()) {
- sequence_PhysicalSystem(context, (PhysicalSystem) semanticObject);
- return;
- }
- else break;
- case ETPhysPackage.PHYSICAL_THREAD:
- if(context == grammarAccess.getPhysicalThreadRule()) {
- sequence_PhysicalThread(context, (PhysicalThread) semanticObject);
- return;
- }
- else break;
- case ETPhysPackage.RUNTIME_CLASS:
- if(context == grammarAccess.getRuntimeClassRule()) {
- sequence_RuntimeClass(context, (RuntimeClass) semanticObject);
- return;
- }
- else break;
- }
- if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
- }
-
- /**
- * Constraint:
- * text+=STRING+
- */
- protected void sequence_Documentation(EObject context, Documentation semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
- /**
- * Constraint:
- * (importedNamespace=ImportedFQN? importURI=STRING)
- */
- protected void sequence_Import(EObject context, Import semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
- /**
- * Constraint:
- * (
- * name=ID
- * docu=Documentation?
- * runtime=[RuntimeClass|FQN]
- * priomin=PRIO
- * priomax=PRIO
- * threads+=PhysicalThread*
- * )
- */
- protected void sequence_NodeClass(EObject context, NodeClass semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
- /**
- * Constraint:
- * (name=ID type=[NodeClass|FQN] docu=Documentation?)
- */
- protected void sequence_NodeRef(EObject context, NodeRef semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
- /**
- * Constraint:
- * (name=FQN imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass | runtimeClasses+=RuntimeClass)*)
- */
- protected void sequence_PhysicalModel(EObject context, PhysicalModel semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
- /**
- * Constraint:
- * (name=ID docu=Documentation? nodeRefs+=NodeRef*)
- */
- protected void sequence_PhysicalSystem(EObject context, PhysicalSystem semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
- /**
- * Constraint:
- * (
- * default?='DefaultThread'?
- * name=ID
- * execmode=ExecMode
- * time=TIME?
- * prio=PRIO
- * stacksize=INT
- * msgblocksize=INT
- * msgpoolsize=INT
- * )
- */
- protected void sequence_PhysicalThread(EObject context, PhysicalThread semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
- /**
- * Constraint:
- * (name=ID docu=Documentation? threadModel=ThreadModel)
- */
- protected void sequence_RuntimeClass(EObject context, RuntimeClass semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-}
+@SuppressWarnings("all")
+public class ETPhysSemanticSequencer extends AbstractDelegatingSemanticSequencer {
+
+ @Inject
+ private ETPhysGrammarAccess grammarAccess;
+
+ public void createSequence(EObject context, EObject semanticObject) {
+ if(semanticObject.eClass().getEPackage() == ETPhysPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
+ case ETPhysPackage.DOCUMENTATION:
+ if(context == grammarAccess.getDocumentationRule()) {
+ sequence_Documentation(context, (Documentation) semanticObject);
+ return;
+ }
+ else break;
+ case ETPhysPackage.IMPORT:
+ if(context == grammarAccess.getImportRule()) {
+ sequence_Import(context, (Import) semanticObject);
+ return;
+ }
+ else break;
+ case ETPhysPackage.NODE_CLASS:
+ if(context == grammarAccess.getNodeClassRule()) {
+ sequence_NodeClass(context, (NodeClass) semanticObject);
+ return;
+ }
+ else break;
+ case ETPhysPackage.NODE_REF:
+ if(context == grammarAccess.getNodeRefRule()) {
+ sequence_NodeRef(context, (NodeRef) semanticObject);
+ return;
+ }
+ else break;
+ case ETPhysPackage.PHYSICAL_MODEL:
+ if(context == grammarAccess.getPhysicalModelRule()) {
+ sequence_PhysicalModel(context, (PhysicalModel) semanticObject);
+ return;
+ }
+ else break;
+ case ETPhysPackage.PHYSICAL_SYSTEM:
+ if(context == grammarAccess.getPhysicalSystemRule()) {
+ sequence_PhysicalSystem(context, (PhysicalSystem) semanticObject);
+ return;
+ }
+ else break;
+ case ETPhysPackage.PHYSICAL_THREAD:
+ if(context == grammarAccess.getPhysicalThreadRule()) {
+ sequence_PhysicalThread(context, (PhysicalThread) semanticObject);
+ return;
+ }
+ else break;
+ case ETPhysPackage.RUNTIME_CLASS:
+ if(context == grammarAccess.getRuntimeClassRule()) {
+ sequence_RuntimeClass(context, (RuntimeClass) semanticObject);
+ return;
+ }
+ else break;
+ }
+ if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
+ }
+
+ /**
+ * Constraint:
+ * text+=STRING+
+ */
+ protected void sequence_Documentation(EObject context, Documentation semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (importedNamespace=ImportedFQN? importURI=STRING)
+ */
+ protected void sequence_Import(EObject context, Import semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (
+ * name=ID
+ * docu=Documentation?
+ * runtime=[RuntimeClass|FQN]
+ * priomin=PRIO
+ * priomax=PRIO
+ * threads+=PhysicalThread*
+ * )
+ */
+ protected void sequence_NodeClass(EObject context, NodeClass semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (name=ID type=[NodeClass|FQN] docu=Documentation?)
+ */
+ protected void sequence_NodeRef(EObject context, NodeRef semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (name=FQN imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass | runtimeClasses+=RuntimeClass)*)
+ */
+ protected void sequence_PhysicalModel(EObject context, PhysicalModel semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (name=ID docu=Documentation? nodeRefs+=NodeRef*)
+ */
+ protected void sequence_PhysicalSystem(EObject context, PhysicalSystem semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (
+ * default?='DefaultThread'?
+ * name=ID
+ * execmode=ExecMode
+ * time=TIME?
+ * prio=PRIO
+ * stacksize=INT
+ * msgblocksize=INT
+ * msgpoolsize=INT
+ * )
+ */
+ protected void sequence_PhysicalThread(EObject context, PhysicalThread semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (name=ID docu=Documentation? threadModel=ThreadModel)
+ */
+ protected void sequence_RuntimeClass(EObject context, RuntimeClass semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java
index 3ebc1be62..3a3d448c8 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java
@@ -11,30 +11,30 @@ import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias;
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition;
import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
-@SuppressWarnings("all")
-public class ETPhysSyntacticSequencer extends AbstractSyntacticSequencer {
-
- protected ETPhysGrammarAccess grammarAccess;
-
- @Inject
- protected void init(IGrammarAccess access) {
- grammarAccess = (ETPhysGrammarAccess) access;
- }
-
- @Override
- protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) {
- return "";
- }
-
-
- @Override
- protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
- if (transition.getAmbiguousSyntaxes().isEmpty()) return;
- List<INode> transitionNodes = collectNodes(fromNode, toNode);
- for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
- List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
- acceptNodes(getLastNavigableState(), syntaxNodes);
- }
- }
-
-}
+@SuppressWarnings("all")
+public class ETPhysSyntacticSequencer extends AbstractSyntacticSequencer {
+
+ protected ETPhysGrammarAccess grammarAccess;
+
+ @Inject
+ protected void init(IGrammarAccess access) {
+ grammarAccess = (ETPhysGrammarAccess) access;
+ }
+
+ @Override
+ protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) {
+ return "";
+ }
+
+
+ @Override
+ protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
+ if (transition.getAmbiguousSyntaxes().isEmpty()) return;
+ List<INode> transitionNodes = collectNodes(fromNode, toNode);
+ for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
+ List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
+ acceptNodes(getLastNavigableState(), syntaxNodes);
+ }
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext
index 3f021005e..0f3ce5362 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext
@@ -1,92 +1,92 @@
-/*******************************************************************************
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-grammar org.eclipse.etrice.core.etphys.ETPhys with org.eclipse.xtext.common.Terminals
-
-generate eTPhys "http://www.eclipse.org/etrice/core/etphys/ETPhys"
-
-import "http://www.eclipse.org/emf/2002/Ecore" as ecore
-
-PhysicalModel:
- 'PhysicalModel' name=FQN '{'
- (imports+=Import)*
- (
- systems+=PhysicalSystem |
- nodeClasses+=NodeClass |
- runtimeClasses+=RuntimeClass
- )*
- '}'
-;
-
-PhysicalSystem:
- 'PhysicalSystem' name=ID (docu=Documentation)? '{'
- nodeRefs+=NodeRef*
- '}'
-;
-
-NodeRef:
- 'NodeRef' name=ID ':' type=[NodeClass|FQN] (docu=Documentation)?
-;
-
-NodeClass:
- 'NodeClass'name=ID (docu=Documentation)? '{'
- 'runtime' '=' runtime=[RuntimeClass|FQN]
- 'priomin' '=' priomin=PRIO
- 'priomax' '=' priomax=PRIO
- threads+=PhysicalThread*
- '}'
-;
-
-PhysicalThread:
- (default?='DefaultThread' | 'Thread') name=ID '{'
- 'execmode' '=' execmode=ExecMode
- ('interval' '=' time=TIME)?
- 'prio' '=' prio=PRIO
- 'stacksize' '=' stacksize=INT
- 'msgblocksize' '=' msgblocksize=INT
- 'msgpoolsize' '=' msgpoolsize=INT
- '}'
-;
-
-enum ExecMode:
- POLLED='polled' |
- BLOCKED='blocked' |
- MIXED='mixed'
-;
-
-RuntimeClass:
- 'RuntimeClass' name=ID (docu=Documentation)? '{'
- 'model' '=' threadModel=ThreadModel
- '}'
-;
-
-enum ThreadModel:
- SINGLE_THREADED='singleThreaded' |
- MULTI_THREADED='multiThreaded'
-;
-
-Documentation: '['
- text+=STRING+
- ']';
-
-PRIO returns ecore::EInt hidden(): ('+'|'-')? INT;
-
-Import :
- 'import' (importedNamespace=ImportedFQN 'from' | 'model') importURI=STRING;
-
-ImportedFQN:
- FQN ('.*')?;
-
-FQN:
- ID ('.' ID)*;
-
-TIME returns ecore::EInt: (INT 's') | (INT 'ms') | (INT 'us') | (INT 'ns');
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Henrik Rentz-Reichert (initial contribution)
+ *
+ *******************************************************************************/
+
+grammar org.eclipse.etrice.core.etphys.ETPhys with org.eclipse.xtext.common.Terminals
+
+generate eTPhys "http://www.eclipse.org/etrice/core/etphys/ETPhys"
+
+import "http://www.eclipse.org/emf/2002/Ecore" as ecore
+
+PhysicalModel:
+ 'PhysicalModel' name=FQN '{'
+ (imports+=Import)*
+ (
+ systems+=PhysicalSystem |
+ nodeClasses+=NodeClass |
+ runtimeClasses+=RuntimeClass
+ )*
+ '}'
+;
+
+PhysicalSystem:
+ 'PhysicalSystem' name=ID (docu=Documentation)? '{'
+ nodeRefs+=NodeRef*
+ '}'
+;
+
+NodeRef:
+ 'NodeRef' name=ID ':' type=[NodeClass|FQN] (docu=Documentation)?
+;
+
+NodeClass:
+ 'NodeClass'name=ID (docu=Documentation)? '{'
+ 'runtime' '=' runtime=[RuntimeClass|FQN]
+ 'priomin' '=' priomin=PRIO
+ 'priomax' '=' priomax=PRIO
+ threads+=PhysicalThread*
+ '}'
+;
+
+PhysicalThread:
+ (default?='DefaultThread' | 'Thread') name=ID '{'
+ 'execmode' '=' execmode=ExecMode
+ ('interval' '=' time=TIME)?
+ 'prio' '=' prio=PRIO
+ 'stacksize' '=' stacksize=INT
+ 'msgblocksize' '=' msgblocksize=INT
+ 'msgpoolsize' '=' msgpoolsize=INT
+ '}'
+;
+
+enum ExecMode:
+ POLLED='polled' |
+ BLOCKED='blocked' |
+ MIXED='mixed'
+;
+
+RuntimeClass:
+ 'RuntimeClass' name=ID (docu=Documentation)? '{'
+ 'model' '=' threadModel=ThreadModel
+ '}'
+;
+
+enum ThreadModel:
+ SINGLE_THREADED='singleThreaded' |
+ MULTI_THREADED='multiThreaded'
+;
+
+Documentation: '['
+ text+=STRING+
+ ']';
+
+PRIO returns ecore::EInt hidden(): ('+'|'-')? INT;
+
+Import :
+ 'import' (importedNamespace=ImportedFQN 'from' | 'model') importURI=STRING;
+
+ImportedFQN:
+ FQN ('.*')?;
+
+FQN:
+ ID ('.' ID)*;
+
+TIME returns ecore::EInt: (INT 's') | (INT 'ms') | (INT 'us') | (INT 'ns');
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysPostprocessor.ext b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysPostprocessor.ext
index 85a5fa1c6..949f818b8 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysPostprocessor.ext
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysPostprocessor.ext
@@ -1,17 +1,17 @@
-/*******************************************************************************
- * Copyright (c) 2012 Juergen Haug
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Juergen Haug
- *
- *******************************************************************************/
-
-import xtext;
-
-process(GeneratedMetamodel this) :
- JAVA org.eclipse.etrice.core.etphys.postprocessing.PostprocessorController.process(org.eclipse.xtext.GeneratedMetamodel)
+/*******************************************************************************
+ * Copyright (c) 2012 Juergen Haug
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Juergen Haug
+ *
+ *******************************************************************************/
+
+import xtext;
+
+process(GeneratedMetamodel this) :
+ JAVA org.eclipse.etrice.core.etphys.postprocessing.PostprocessorController.process(org.eclipse.xtext.GeneratedMetamodel)
; \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2 b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2
index f8109cfac..472e829cb 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2
@@ -1,149 +1,149 @@
-/*******************************************************************************
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-module org.eclipse.etrice.core.etphys.GenerateETPhys
-
-import org.eclipse.emf.mwe.utils.*
-import org.eclipse.xtext.generator.*
-import org.eclipse.xtext.ui.generator.*
-
-var grammarURI = "classpath:/org/eclipse/etrice/core/etphys/ETPhys.xtext"
-var file.extensions = "etphys"
-var projectName = "org.eclipse.etrice.core.etphys"
-var runtimeProject = "../${projectName}"
-
-Workflow {
- bean = StandaloneSetup {
- scanClassPath = true
- platformUri = "${runtimeProject}/.."
- }
-
- component = DirectoryCleaner {
- directory = "${runtimeProject}/src-gen"
- }
-
- component = DirectoryCleaner {
- directory = "${runtimeProject}.ui/src-gen"
- }
-
- component = Generator {
- pathRtProject = runtimeProject
- pathUiProject = "${runtimeProject}.ui"
- pathTestProject = "../../tests/${projectName}.tests"
- projectNameRt = projectName
- projectNameUi = "${projectName}.ui"
- language = {
- uri = grammarURI
- fileExtensions = file.extensions
-
- // Java API to access grammar elements (required by several other fragments)
- fragment = grammarAccess.GrammarAccessFragment {}
-
- // generates Java API for the generated EPackages
- fragment = ecore.EcoreGeneratorFragment {
- // referencedGenModels = "
- // platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel,
- // platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel
- // "
- }
-
- // Serializer 2.0
- fragment = serializer.SerializerFragment {
- generateStub = false
- }
-
- // the serialization component (1.0)
- // fragment = parseTreeConstructor.ParseTreeConstructorFragment {}
-
- // a custom ResourceFactory for use with EMF
- fragment = resourceFactory.ResourceFactoryFragment {
- fileExtensions = file.extensions
- }
-
- // The antlr parser generator fragment.
- fragment = parser.antlr.XtextAntlrGeneratorFragment {
- // options = {
- // backtrack = true
- // }
- }
-
- // java-based API for validation
- fragment = validation.JavaValidatorFragment {
- composedCheck = "org.eclipse.xtext.validation.ImportUriValidator"
- composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
- }
-
- // scoping and exporting API
- // fragment = scoping.ImportURIScopingFragment {}
- // fragment = exporting.SimpleNamesFragment {}
-
- // scoping and exporting API
- fragment = scoping.ImportURIScopingFragment {}
- //fragment = scoping.ImportNamespacesScopingFragment {}
- fragment = exporting.QualifiedNamesFragment {}
- //fragment = builder.BuilderIntegrationFragment {}
-
- // generator API
- fragment = generator.GeneratorFragment {
- generateMwe = false
- generateJavaMain = false
- }
-
- // formatter API
- fragment = formatting.FormatterFragment {}
-
- // labeling API
- fragment = labeling.LabelProviderFragment {}
-
- // outline API
- fragment = outline.OutlineTreeProviderFragment {}
- fragment = outline.QuickOutlineFragment {}
-
- // quickfix API
- fragment = quickfix.QuickfixProviderFragment {}
-
- // content assist API
- fragment = contentAssist.JavaBasedContentAssistFragment {}
-
- // generates a more lightweight Antlr parser and lexer tailored for content assist
- fragment = parser.antlr.XtextAntlrUiGeneratorFragment {}
-
- // generates junit test support classes into Generator#pathTestProject
- fragment = junit.Junit4Fragment {}
-
- // project wizard (optional)
- // fragment = projectWizard.SimpleProjectWizardFragment {
- // generatorProjectName = "${projectName}"
- // modelFileExtension = file.extensions
- // }
-
- // rename refactoring
- fragment = refactoring.RefactorElementNameFragment {}
-
- // provides the necessary bindings for java types integration
- //fragment = types.TypesGeneratorFragment {}
-
- // generates the required bindings only if the grammar inherits from Xbase
- fragment = xbase.XbaseGeneratorFragment {}
-
- // provides a preference page for template proposals
- fragment = templates.CodetemplatesGeneratorFragment {}
-
- // provides a compare view
- fragment = compare.CompareFragment {
- fileExtensions = file.extensions
- }
-
- }
- }
-}
-
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Henrik Rentz-Reichert (initial contribution)
+ *
+ *******************************************************************************/
+
+module org.eclipse.etrice.core.etphys.GenerateETPhys
+
+import org.eclipse.emf.mwe.utils.*
+import org.eclipse.xtext.generator.*
+import org.eclipse.xtext.ui.generator.*
+
+var grammarURI = "classpath:/org/eclipse/etrice/core/etphys/ETPhys.xtext"
+var file.extensions = "etphys"
+var projectName = "org.eclipse.etrice.core.etphys"
+var runtimeProject = "../${projectName}"
+
+Workflow {
+ bean = StandaloneSetup {
+ scanClassPath = true
+ platformUri = "${runtimeProject}/.."
+ }
+
+ component = DirectoryCleaner {
+ directory = "${runtimeProject}/src-gen"
+ }
+
+ component = DirectoryCleaner {
+ directory = "${runtimeProject}.ui/src-gen"
+ }
+
+ component = Generator {
+ pathRtProject = runtimeProject
+ pathUiProject = "${runtimeProject}.ui"
+ pathTestProject = "../../tests/${projectName}.tests"
+ projectNameRt = projectName
+ projectNameUi = "${projectName}.ui"
+ language = {
+ uri = grammarURI
+ fileExtensions = file.extensions
+
+ // Java API to access grammar elements (required by several other fragments)
+ fragment = grammarAccess.GrammarAccessFragment {}
+
+ // generates Java API for the generated EPackages
+ fragment = ecore.EcoreGeneratorFragment {
+ // referencedGenModels = "
+ // platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel,
+ // platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel
+ // "
+ }
+
+ // Serializer 2.0
+ fragment = serializer.SerializerFragment {
+ generateStub = false
+ }
+
+ // the serialization component (1.0)
+ // fragment = parseTreeConstructor.ParseTreeConstructorFragment {}
+
+ // a custom ResourceFactory for use with EMF
+ fragment = resourceFactory.ResourceFactoryFragment {
+ fileExtensions = file.extensions
+ }
+
+ // The antlr parser generator fragment.
+ fragment = parser.antlr.XtextAntlrGeneratorFragment {
+ // options = {
+ // backtrack = true
+ // }
+ }
+
+ // java-based API for validation
+ fragment = validation.JavaValidatorFragment {
+ composedCheck = "org.eclipse.xtext.validation.ImportUriValidator"
+ composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
+ }
+
+ // scoping and exporting API
+ // fragment = scoping.ImportURIScopingFragment {}
+ // fragment = exporting.SimpleNamesFragment {}
+
+ // scoping and exporting API
+ fragment = scoping.ImportURIScopingFragment {}
+ //fragment = scoping.ImportNamespacesScopingFragment {}
+ fragment = exporting.QualifiedNamesFragment {}
+ //fragment = builder.BuilderIntegrationFragment {}
+
+ // generator API
+ fragment = generator.GeneratorFragment {
+ generateMwe = false
+ generateJavaMain = false
+ }
+
+ // formatter API
+ fragment = formatting.FormatterFragment {}
+
+ // labeling API
+ fragment = labeling.LabelProviderFragment {}
+
+ // outline API
+ fragment = outline.OutlineTreeProviderFragment {}
+ fragment = outline.QuickOutlineFragment {}
+
+ // quickfix API
+ fragment = quickfix.QuickfixProviderFragment {}
+
+ // content assist API
+ fragment = contentAssist.JavaBasedContentAssistFragment {}
+
+ // generates a more lightweight Antlr parser and lexer tailored for content assist
+ fragment = parser.antlr.XtextAntlrUiGeneratorFragment {}
+
+ // generates junit test support classes into Generator#pathTestProject
+ fragment = junit.Junit4Fragment {}
+
+ // project wizard (optional)
+ // fragment = projectWizard.SimpleProjectWizardFragment {
+ // generatorProjectName = "${projectName}"
+ // modelFileExtension = file.extensions
+ // }
+
+ // rename refactoring
+ fragment = refactoring.RefactorElementNameFragment {}
+
+ // provides the necessary bindings for java types integration
+ //fragment = types.TypesGeneratorFragment {}
+
+ // generates the required bindings only if the grammar inherits from Xbase
+ fragment = xbase.XbaseGeneratorFragment {}
+
+ // provides a preference page for template proposals
+ fragment = templates.CodetemplatesGeneratorFragment {}
+
+ // provides a compare view
+ fragment = compare.CompareFragment {
+ fileExtensions = file.extensions
+ }
+
+ }
+ }
+}
+
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java
index 69c6accef..33148692c 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java
@@ -1,31 +1,31 @@
-/*******************************************************************************
- * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.core.etphys.converters;
-
-import org.eclipse.xtext.common.services.DefaultTerminalConverters;
-import org.eclipse.xtext.conversion.IValueConverter;
-import org.eclipse.xtext.conversion.ValueConverter;
-
-/**
- * @author Henrik Rentz-Reichert
- *
- */
-public class ETPhysConverter extends DefaultTerminalConverters {
-
- private TimeConverter timeConverter = new TimeConverter();
-
- @ValueConverter(rule="TIME")
- public IValueConverter<Integer> getTimeConverter() {
- return timeConverter;
- }
-}
+/*******************************************************************************
+ * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Henrik Rentz-Reichert (initial contribution)
+ *
+ *******************************************************************************/
+
+package org.eclipse.etrice.core.etphys.converters;
+
+import org.eclipse.xtext.common.services.DefaultTerminalConverters;
+import org.eclipse.xtext.conversion.IValueConverter;
+import org.eclipse.xtext.conversion.ValueConverter;
+
+/**
+ * @author Henrik Rentz-Reichert
+ *
+ */
+public class ETPhysConverter extends DefaultTerminalConverters {
+
+ private TimeConverter timeConverter = new TimeConverter();
+
+ @ValueConverter(rule="TIME")
+ public IValueConverter<Integer> getTimeConverter() {
+ return timeConverter;
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java
index f52f6678e..af6045af4 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java
@@ -1,66 +1,66 @@
-/*******************************************************************************
- * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.core.etphys.converters;
-
-import org.eclipse.xtext.conversion.ValueConverterException;
-import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter;
-import org.eclipse.xtext.nodemodel.INode;
-
-/**
- * @author Henrik Rentz-Reichert
- *
- */
-public class TimeConverter extends AbstractLexerBasedConverter<Integer> {
-
- /* (non-Javadoc)
- * @see org.eclipse.xtext.conversion.IValueConverter#toValue(java.lang.String, org.eclipse.xtext.nodemodel.INode)
- */
- @Override
- public Integer toValue(String string, INode node) throws ValueConverterException {
- if (string==null || string.isEmpty())
- throw new ValueConverterException("Couldn't convert empty string to time.", node, null);
- else {
- // determine power and extract number
- int power;
- int pos;
- String value;
- if ((pos=string.indexOf("ns"))>0) {
- value = string.substring(0,pos);
- power = 1;
- }
- else if ((pos=string.indexOf("us"))>0) {
- value = string.substring(0,pos);
- power = 1000;
- }
- else if ((pos=string.indexOf("ms"))>0) {
- value = string.substring(0,pos);
- power = 1000000;
- }
- else if ((pos=string.indexOf("s"))>0) {
- value = string.substring(0,pos);
- power = 1000000000;
- }
- else
- throw new ValueConverterException("No unit specified with time (s, ms, us or ns).", node, null);
-
- try {
- int val = Integer.parseInt(value.trim());
- return Integer.valueOf(val)*power;
- }
- catch (NumberFormatException e) {
- throw new ValueConverterException("Could not parse time value.", node, e);
- }
- }
- }
-
-}
+/*******************************************************************************
+ * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Henrik Rentz-Reichert (initial contribution)
+ *
+ *******************************************************************************/
+
+package org.eclipse.etrice.core.etphys.converters;
+
+import org.eclipse.xtext.conversion.ValueConverterException;
+import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter;
+import org.eclipse.xtext.nodemodel.INode;
+
+/**
+ * @author Henrik Rentz-Reichert
+ *
+ */
+public class TimeConverter extends AbstractLexerBasedConverter<Integer> {
+
+ /* (non-Javadoc)
+ * @see org.eclipse.xtext.conversion.IValueConverter#toValue(java.lang.String, org.eclipse.xtext.nodemodel.INode)
+ */
+ @Override
+ public Integer toValue(String string, INode node) throws ValueConverterException {
+ if (string==null || string.isEmpty())
+ throw new ValueConverterException("Couldn't convert empty string to time.", node, null);
+ else {
+ // determine power and extract number
+ int power;
+ int pos;
+ String value;
+ if ((pos=string.indexOf("ns"))>0) {
+ value = string.substring(0,pos);
+ power = 1;
+ }
+ else if ((pos=string.indexOf("us"))>0) {
+ value = string.substring(0,pos);
+ power = 1000;
+ }
+ else if ((pos=string.indexOf("ms"))>0) {
+ value = string.substring(0,pos);
+ power = 1000000;
+ }
+ else if ((pos=string.indexOf("s"))>0) {
+ value = string.substring(0,pos);
+ power = 1000000000;
+ }
+ else
+ throw new ValueConverterException("No unit specified with time (s, ms, us or ns).", node, null);
+
+ try {
+ int val = Integer.parseInt(value.trim());
+ return Integer.valueOf(val)*power;
+ }
+ catch (NumberFormatException e) {
+ throw new ValueConverterException("Could not parse time value.", node, e);
+ }
+ }
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend
index e63b9720f..3f9f06992 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend
@@ -1,244 +1,244 @@
-/*******************************************************************************
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Juergen Haug (initial contribution)
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.core.etphys.postprocessing
-
-import org.eclipse.xtext.GeneratedMetamodel
-
-import static extension org.eclipse.etrice.core.postprocessing.PostprocessingHelpers.*
-
-class DocuPostprocessor {
-
- def process(GeneratedMetamodel metamodel) {
- val pckg = metamodel.EPackage
-
- //------------------------------------------------------------------
- var cls = pckg.getClass("PhysicalModel")
- cls.setDocumentation(
- '''
- The root object for the physical model. It gives access to the systems, node classes
- and runtimes defined.
- ''')
-
- cls.getAttribute("name").setDocumentation(
- '''
- The model name is a dot separated fully qualified name and is
- used to provide a name space.
- ''')
-
- cls.getReference("imports").setDocumentation(
- '''
- A list of all imported models.
- ''')
-
- cls.getReference("systems").setDocumentation(
- '''
- A list of all defined physical systems.
- ''')
-
- cls.getReference("nodeClasses").setDocumentation(
- '''
- A list of all defined node classes.
- ''')
-
- cls.getReference("runtimeClasses").setDocumentation(
- '''
- A list of all defined runtime classes.
- ''')
-
- //------------------------------------------------------------------
- cls = pckg.getClass("PhysicalSystem")
- cls.setDocumentation(
- '''
- This model object represents a complete physical system.
- ''')
-
- cls.getAttribute("name").setDocumentation(
- '''
- The name of the physical system by which it is referred to in the model.
- ''')
-
- cls.getReference("nodeRefs").setDocumentation(
- '''
- A list of referenced nodes.
- ''')
-
- cls.getReference("docu").setDocumentation(
- '''
- This is an optional documentation.
- ''')
-
- //------------------------------------------------------------------
- cls = pckg.getClass("NodeRef")
- cls.setDocumentation(
- '''
- This stands for a node instance in a specific role.
- ''')
-
- cls.getAttribute("name").setDocumentation(
- '''
- The name of the reference by which it is referred to in the model.
- ''')
-
- cls.getReference("type").setDocumentation(
- '''
- The node class of this reference.
- ''')
-
- cls.getReference("docu").setDocumentation(
- '''
- This is an optional documentation.
- ''')
-
- //------------------------------------------------------------------
- cls = pckg.getClass("NodeClass")
- cls.setDocumentation(
- '''
- This defines a node class.
- ''')
-
- cls.getAttribute("name").setDocumentation(
- '''
- The name of the node class by which it is referred to in the model.
- ''')
-
- cls.getReference("docu").setDocumentation(
- '''
- This is an optional documentation.
- ''')
-
- cls.getReference("runtime").setDocumentation(
- '''
- This is the associated runtime class.
- ''')
-
- cls.getAttribute("priomin").setDocumentation(
- '''
- This is the minimal thread priority for this node type.
- ''')
-
- cls.getAttribute("priomax").setDocumentation(
- '''
- This is the maximum thread priority for this node type.
- ''')
-
- cls.getReference("threads").setDocumentation(
- '''
- This is a list of all threads defined for this node.
- ''')
-
- //------------------------------------------------------------------
- cls = pckg.getClass("PhysicalThread")
- cls.setDocumentation(
- '''
- This defines a physical thread running in a node.
- ''')
-
- cls.getAttribute("name").setDocumentation(
- '''
- The name of the thread by which it is referred to in the model.
- ''')
-
- cls.getAttribute("default").setDocumentation(
- '''
- If this is {@code true} then this is the default thread.
- ''')
-
- cls.getAttribute("execmode").setDocumentation(
- '''
- This is the execution mode of the thread.
- ''')
-
- cls.getAttribute("prio").setDocumentation(
- '''
- This is the priority of the thread.
- ''')
-
- cls.getAttribute("stacksize").setDocumentation(
- '''
- This is the stacksize of the thread.
- ''')
-
- cls.getAttribute("msgblocksize").setDocumentation(
- '''
- This is the msgblocksize of the thread.
- ''')
-
- cls.getAttribute("msgpoolsize").setDocumentation(
- '''
- This is the msgpoolsize of the thread.
- ''')
-
- //------------------------------------------------------------------
- cls = pckg.getClass("RuntimeClass")
- cls.setDocumentation(
- '''
- This defines a runtime class.
- ''')
-
- cls.getAttribute("name").setDocumentation(
- '''
- The name of the runtime class by which it is referred to in the model.
- ''')
-
- cls.getReference("docu").setDocumentation(
- '''
- This is an optional documentation.
- ''')
-
- cls.getAttribute("threadModel").setDocumentation(
- '''
- This distinguishes single and multi threaded.
- ''')
-
- //------------------------------------------------------------------
- cls = pckg.getClass("Documentation")
- cls.setDocumentation('''
- A piece of documentation that can be optionally attached at
- certain places in the model.
- ''')
-
- cls.getAttribute("text").setDocumentation(
- '''
- This is the documentation's contents.
- ''')
-
- //------------------------------------------------------------------
- cls = pckg.getClass("Import")
- cls.setDocumentation('''
- The import declares an imported model (given as a URI) and
- an optional imported namespace.
- ''')
-
- cls.getAttribute("importedNamespace").setDocumentation(
- '''
- The imported name space has to be a dot separated qualified name followed by .*.
- Example: my.namespace.*
- ''')
-
- cls.getAttribute("importURI").setDocumentation(
- '''
- The import URI can be a relative or absolute file system path.
- It may contain environment variables in ${} which will be expanded.
- <p>
- Examples:
- <ul>
- <li>import model "AnotherModel.room"</li>
- <li>import my.namespace.* from "AnotherModel.room"</li>
- <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
- <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
- </ul>
- </p>
- ''')
- }
-
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Juergen Haug (initial contribution)
+ *
+ *******************************************************************************/
+
+package org.eclipse.etrice.core.etphys.postprocessing
+
+import org.eclipse.xtext.GeneratedMetamodel
+
+import static extension org.eclipse.etrice.core.postprocessing.PostprocessingHelpers.*
+
+class DocuPostprocessor {
+
+ def process(GeneratedMetamodel metamodel) {
+ val pckg = metamodel.EPackage
+
+ //------------------------------------------------------------------
+ var cls = pckg.getClass("PhysicalModel")
+ cls.setDocumentation(
+ '''
+ The root object for the physical model. It gives access to the systems, node classes
+ and runtimes defined.
+ ''')
+
+ cls.getAttribute("name").setDocumentation(
+ '''
+ The model name is a dot separated fully qualified name and is
+ used to provide a name space.
+ ''')
+
+ cls.getReference("imports").setDocumentation(
+ '''
+ A list of all imported models.
+ ''')
+
+ cls.getReference("systems").setDocumentation(
+ '''
+ A list of all defined physical systems.
+ ''')
+
+ cls.getReference("nodeClasses").setDocumentation(
+ '''
+ A list of all defined node classes.
+ ''')
+
+ cls.getReference("runtimeClasses").setDocumentation(
+ '''
+ A list of all defined runtime classes.
+ ''')
+
+ //------------------------------------------------------------------
+ cls = pckg.getClass("PhysicalSystem")
+ cls.setDocumentation(
+ '''
+ This model object represents a complete physical system.
+ ''')
+
+ cls.getAttribute("name").setDocumentation(
+ '''
+ The name of the physical system by which it is referred to in the model.
+ ''')
+
+ cls.getReference("nodeRefs").setDocumentation(
+ '''
+ A list of referenced nodes.
+ ''')
+
+ cls.getReference("docu").setDocumentation(
+ '''
+ This is an optional documentation.
+ ''')
+
+ //------------------------------------------------------------------
+ cls = pckg.getClass("NodeRef")
+ cls.setDocumentation(
+ '''
+ This stands for a node instance in a specific role.
+ ''')
+
+ cls.getAttribute("name").setDocumentation(
+ '''
+ The name of the reference by which it is referred to in the model.
+ ''')
+
+ cls.getReference("type").setDocumentation(
+ '''
+ The node class of this reference.
+ ''')
+
+ cls.getReference("docu").setDocumentation(
+ '''
+ This is an optional documentation.
+ ''')
+
+ //------------------------------------------------------------------
+ cls = pckg.getClass("NodeClass")
+ cls.setDocumentation(
+ '''
+ This defines a node class.
+ ''')
+
+ cls.getAttribute("name").setDocumentation(
+ '''
+ The name of the node class by which it is referred to in the model.
+ ''')
+
+ cls.getReference("docu").setDocumentation(
+ '''
+ This is an optional documentation.
+ ''')
+
+ cls.getReference("runtime").setDocumentation(
+ '''
+ This is the associated runtime class.
+ ''')
+
+ cls.getAttribute("priomin").setDocumentation(
+ '''
+ This is the minimal thread priority for this node type.
+ ''')
+
+ cls.getAttribute("priomax").setDocumentation(
+ '''
+ This is the maximum thread priority for this node type.
+ ''')
+
+ cls.getReference("threads").setDocumentation(
+ '''
+ This is a list of all threads defined for this node.
+ ''')
+
+ //------------------------------------------------------------------
+ cls = pckg.getClass("PhysicalThread")
+ cls.setDocumentation(
+ '''
+ This defines a physical thread running in a node.
+ ''')
+
+ cls.getAttribute("name").setDocumentation(
+ '''
+ The name of the thread by which it is referred to in the model.
+ ''')
+
+ cls.getAttribute("default").setDocumentation(
+ '''
+ If this is {@code true} then this is the default thread.
+ ''')
+
+ cls.getAttribute("execmode").setDocumentation(
+ '''
+ This is the execution mode of the thread.
+ ''')
+
+ cls.getAttribute("prio").setDocumentation(
+ '''
+ This is the priority of the thread.
+ ''')
+
+ cls.getAttribute("stacksize").setDocumentation(
+ '''
+ This is the stacksize of the thread.
+ ''')
+
+ cls.getAttribute("msgblocksize").setDocumentation(
+ '''
+ This is the msgblocksize of the thread.
+ ''')
+
+ cls.getAttribute("msgpoolsize").setDocumentation(
+ '''
+ This is the msgpoolsize of the thread.
+ ''')
+
+ //------------------------------------------------------------------
+ cls = pckg.getClass("RuntimeClass")
+ cls.setDocumentation(
+ '''
+ This defines a runtime class.
+ ''')
+
+ cls.getAttribute("name").setDocumentation(
+ '''
+ The name of the runtime class by which it is referred to in the model.
+ ''')
+
+ cls.getReference("docu").setDocumentation(
+ '''
+ This is an optional documentation.
+ ''')
+
+ cls.getAttribute("threadModel").setDocumentation(
+ '''
+ This distinguishes single and multi threaded.
+ ''')
+
+ //------------------------------------------------------------------
+ cls = pckg.getClass("Documentation")
+ cls.setDocumentation('''
+ A piece of documentation that can be optionally attached at
+ certain places in the model.
+ ''')
+
+ cls.getAttribute("text").setDocumentation(
+ '''
+ This is the documentation's contents.
+ ''')
+
+ //------------------------------------------------------------------
+ cls = pckg.getClass("Import")
+ cls.setDocumentation('''
+ The import declares an imported model (given as a URI) and
+ an optional imported namespace.
+ ''')
+
+ cls.getAttribute("importedNamespace").setDocumentation(
+ '''
+ The imported name space has to be a dot separated qualified name followed by .*.
+ Example: my.namespace.*
+ ''')
+
+ cls.getAttribute("importURI").setDocumentation(
+ '''
+ The import URI can be a relative or absolute file system path.
+ It may contain environment variables in ${} which will be expanded.
+ <p>
+ Examples:
+ <ul>
+ <li>import model "AnotherModel.room"</li>
+ <li>import my.namespace.* from "AnotherModel.room"</li>
+ <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
+ <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
+ </ul>
+ </p>
+ ''')
+ }
+
} \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/PostprocessorController.java b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/PostprocessorController.java
index b6bf950de..d327b2b4b 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/PostprocessorController.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/PostprocessorController.java
@@ -1,22 +1,22 @@
-/*******************************************************************************
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Juergen Haug
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.core.etphys.postprocessing;
-
-import org.eclipse.xtext.GeneratedMetamodel;
-
-public class PostprocessorController {
-
- public static void process(GeneratedMetamodel metamodel){
- new DocuPostprocessor().process(metamodel);
- }
-}
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Juergen Haug
+ *
+ *******************************************************************************/
+
+package org.eclipse.etrice.core.etphys.postprocessing;
+
+import org.eclipse.xtext.GeneratedMetamodel;
+
+public class PostprocessorController {
+
+ public static void process(GeneratedMetamodel metamodel){
+ new DocuPostprocessor().process(metamodel);
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/generator/ETPhysGenerator.java b/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/generator/ETPhysGenerator.java
index ab0345a4c..af40fcc88 100644
--- a/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/generator/ETPhysGenerator.java
+++ b/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/generator/ETPhysGenerator.java
@@ -1,14 +1,14 @@
-/**
- * generated by Xtext
- */
-package org.eclipse.etrice.core.etphys.generator;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.xtext.generator.IFileSystemAccess;
-import org.eclipse.xtext.generator.IGenerator;
-
-@SuppressWarnings("all")
-public class ETPhysGenerator implements IGenerator {
- public void doGenerate(final Resource resource, final IFileSystemAccess fsa) {
- }
-}
+/**
+ * generated by Xtext
+ */
+package org.eclipse.etrice.core.etphys.generator;
+
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.xtext.generator.IFileSystemAccess;
+import org.eclipse.xtext.generator.IGenerator;
+
+@SuppressWarnings("all")
+public class ETPhysGenerator implements IGenerator {
+ public void doGenerate(final Resource resource, final IFileSystemAccess fsa) {
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java b/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java
index dd86b4cb7..adadf2845 100644
--- a/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java
+++ b/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java
@@ -1,257 +1,257 @@
-/**
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Juergen Haug (initial contribution)
- */
-package org.eclipse.etrice.core.etphys.postprocessing;
-
-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.etrice.core.postprocessing.PostprocessingHelpers;
-import org.eclipse.xtend2.lib.StringConcatenation;
-import org.eclipse.xtext.GeneratedMetamodel;
-
-@SuppressWarnings("all")
-public class DocuPostprocessor {
- public void process(final GeneratedMetamodel metamodel) {
- final EPackage pckg = metamodel.getEPackage();
- EClass cls = PostprocessingHelpers.getClass(pckg, "PhysicalModel");
- StringConcatenation _builder = new StringConcatenation();
- _builder.append("The root object for the physical model. It gives access to the systems, node classes");
- _builder.newLine();
- _builder.append("and runtimes defined.");
- _builder.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder.toString());
- EAttribute _attribute = PostprocessingHelpers.getAttribute(cls, "name");
- StringConcatenation _builder_1 = new StringConcatenation();
- _builder_1.append("The model name is a dot separated fully qualified name and is");
- _builder_1.newLine();
- _builder_1.append("used to provide a name space.");
- _builder_1.newLine();
- PostprocessingHelpers.setDocumentation(_attribute, _builder_1.toString());
- EReference _reference = PostprocessingHelpers.getReference(cls, "imports");
- StringConcatenation _builder_2 = new StringConcatenation();
- _builder_2.append("A list of all imported models.");
- _builder_2.newLine();
- PostprocessingHelpers.setDocumentation(_reference, _builder_2.toString());
- EReference _reference_1 = PostprocessingHelpers.getReference(cls, "systems");
- StringConcatenation _builder_3 = new StringConcatenation();
- _builder_3.append("A list of all defined physical systems.");
- _builder_3.newLine();
- PostprocessingHelpers.setDocumentation(_reference_1, _builder_3.toString());
- EReference _reference_2 = PostprocessingHelpers.getReference(cls, "nodeClasses");
- StringConcatenation _builder_4 = new StringConcatenation();
- _builder_4.append("A list of all defined node classes.");
- _builder_4.newLine();
- PostprocessingHelpers.setDocumentation(_reference_2, _builder_4.toString());
- EReference _reference_3 = PostprocessingHelpers.getReference(cls, "runtimeClasses");
- StringConcatenation _builder_5 = new StringConcatenation();
- _builder_5.append("A list of all defined runtime classes.");
- _builder_5.newLine();
- PostprocessingHelpers.setDocumentation(_reference_3, _builder_5.toString());
- EClass _class = PostprocessingHelpers.getClass(pckg, "PhysicalSystem");
- cls = _class;
- StringConcatenation _builder_6 = new StringConcatenation();
- _builder_6.append("This model object represents a complete physical system.");
- _builder_6.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder_6.toString());
- EAttribute _attribute_1 = PostprocessingHelpers.getAttribute(cls, "name");
- StringConcatenation _builder_7 = new StringConcatenation();
- _builder_7.append("The name of the physical system by which it is referred to in the model.");
- _builder_7.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_1, _builder_7.toString());
- EReference _reference_4 = PostprocessingHelpers.getReference(cls, "nodeRefs");
- StringConcatenation _builder_8 = new StringConcatenation();
- _builder_8.append("A list of referenced nodes.");
- _builder_8.newLine();
- PostprocessingHelpers.setDocumentation(_reference_4, _builder_8.toString());
- EReference _reference_5 = PostprocessingHelpers.getReference(cls, "docu");
- StringConcatenation _builder_9 = new StringConcatenation();
- _builder_9.append("This is an optional documentation.");
- _builder_9.newLine();
- PostprocessingHelpers.setDocumentation(_reference_5, _builder_9.toString());
- EClass _class_1 = PostprocessingHelpers.getClass(pckg, "NodeRef");
- cls = _class_1;
- StringConcatenation _builder_10 = new StringConcatenation();
- _builder_10.append("This stands for a node instance in a specific role.");
- _builder_10.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder_10.toString());
- EAttribute _attribute_2 = PostprocessingHelpers.getAttribute(cls, "name");
- StringConcatenation _builder_11 = new StringConcatenation();
- _builder_11.append("The name of the reference by which it is referred to in the model.");
- _builder_11.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_2, _builder_11.toString());
- EReference _reference_6 = PostprocessingHelpers.getReference(cls, "type");
- StringConcatenation _builder_12 = new StringConcatenation();
- _builder_12.append("The node class of this reference.");
- _builder_12.newLine();
- PostprocessingHelpers.setDocumentation(_reference_6, _builder_12.toString());
- EReference _reference_7 = PostprocessingHelpers.getReference(cls, "docu");
- StringConcatenation _builder_13 = new StringConcatenation();
- _builder_13.append("This is an optional documentation.");
- _builder_13.newLine();
- PostprocessingHelpers.setDocumentation(_reference_7, _builder_13.toString());
- EClass _class_2 = PostprocessingHelpers.getClass(pckg, "NodeClass");
- cls = _class_2;
- StringConcatenation _builder_14 = new StringConcatenation();
- _builder_14.append("This defines a node class.");
- _builder_14.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder_14.toString());
- EAttribute _attribute_3 = PostprocessingHelpers.getAttribute(cls, "name");
- StringConcatenation _builder_15 = new StringConcatenation();
- _builder_15.append("The name of the node class by which it is referred to in the model.");
- _builder_15.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_3, _builder_15.toString());
- EReference _reference_8 = PostprocessingHelpers.getReference(cls, "docu");
- StringConcatenation _builder_16 = new StringConcatenation();
- _builder_16.append("This is an optional documentation.");
- _builder_16.newLine();
- PostprocessingHelpers.setDocumentation(_reference_8, _builder_16.toString());
- EReference _reference_9 = PostprocessingHelpers.getReference(cls, "runtime");
- StringConcatenation _builder_17 = new StringConcatenation();
- _builder_17.append("This is the associated runtime class.");
- _builder_17.newLine();
- PostprocessingHelpers.setDocumentation(_reference_9, _builder_17.toString());
- EAttribute _attribute_4 = PostprocessingHelpers.getAttribute(cls, "priomin");
- StringConcatenation _builder_18 = new StringConcatenation();
- _builder_18.append("This is the minimal thread priority for this node type.");
- _builder_18.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_4, _builder_18.toString());
- EAttribute _attribute_5 = PostprocessingHelpers.getAttribute(cls, "priomax");
- StringConcatenation _builder_19 = new StringConcatenation();
- _builder_19.append("This is the maximum thread priority for this node type.");
- _builder_19.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_5, _builder_19.toString());
- EReference _reference_10 = PostprocessingHelpers.getReference(cls, "threads");
- StringConcatenation _builder_20 = new StringConcatenation();
- _builder_20.append("This is a list of all threads defined for this node.");
- _builder_20.newLine();
- PostprocessingHelpers.setDocumentation(_reference_10, _builder_20.toString());
- EClass _class_3 = PostprocessingHelpers.getClass(pckg, "PhysicalThread");
- cls = _class_3;
- StringConcatenation _builder_21 = new StringConcatenation();
- _builder_21.append("This defines a physical thread running in a node.");
- _builder_21.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder_21.toString());
- EAttribute _attribute_6 = PostprocessingHelpers.getAttribute(cls, "name");
- StringConcatenation _builder_22 = new StringConcatenation();
- _builder_22.append("The name of the thread by which it is referred to in the model.");
- _builder_22.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_6, _builder_22.toString());
- EAttribute _attribute_7 = PostprocessingHelpers.getAttribute(cls, "default");
- StringConcatenation _builder_23 = new StringConcatenation();
- _builder_23.append("If this is {@code true} then this is the default thread.");
- _builder_23.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_7, _builder_23.toString());
- EAttribute _attribute_8 = PostprocessingHelpers.getAttribute(cls, "execmode");
- StringConcatenation _builder_24 = new StringConcatenation();
- _builder_24.append("This is the execution mode of the thread.");
- _builder_24.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_8, _builder_24.toString());
- EAttribute _attribute_9 = PostprocessingHelpers.getAttribute(cls, "prio");
- StringConcatenation _builder_25 = new StringConcatenation();
- _builder_25.append("This is the priority of the thread.");
- _builder_25.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_9, _builder_25.toString());
- EAttribute _attribute_10 = PostprocessingHelpers.getAttribute(cls, "stacksize");
- StringConcatenation _builder_26 = new StringConcatenation();
- _builder_26.append("This is the stacksize of the thread.");
- _builder_26.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_10, _builder_26.toString());
- EAttribute _attribute_11 = PostprocessingHelpers.getAttribute(cls, "msgblocksize");
- StringConcatenation _builder_27 = new StringConcatenation();
- _builder_27.append("This is the msgblocksize of the thread.");
- _builder_27.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_11, _builder_27.toString());
- EAttribute _attribute_12 = PostprocessingHelpers.getAttribute(cls, "msgpoolsize");
- StringConcatenation _builder_28 = new StringConcatenation();
- _builder_28.append("This is the msgpoolsize of the thread.");
- _builder_28.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_12, _builder_28.toString());
- EClass _class_4 = PostprocessingHelpers.getClass(pckg, "RuntimeClass");
- cls = _class_4;
- StringConcatenation _builder_29 = new StringConcatenation();
- _builder_29.append("This defines a runtime class.");
- _builder_29.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder_29.toString());
- EAttribute _attribute_13 = PostprocessingHelpers.getAttribute(cls, "name");
- StringConcatenation _builder_30 = new StringConcatenation();
- _builder_30.append("The name of the runtime class by which it is referred to in the model.");
- _builder_30.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_13, _builder_30.toString());
- EReference _reference_11 = PostprocessingHelpers.getReference(cls, "docu");
- StringConcatenation _builder_31 = new StringConcatenation();
- _builder_31.append("This is an optional documentation.");
- _builder_31.newLine();
- PostprocessingHelpers.setDocumentation(_reference_11, _builder_31.toString());
- EAttribute _attribute_14 = PostprocessingHelpers.getAttribute(cls, "threadModel");
- StringConcatenation _builder_32 = new StringConcatenation();
- _builder_32.append("This distinguishes single and multi threaded.");
- _builder_32.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_14, _builder_32.toString());
- EClass _class_5 = PostprocessingHelpers.getClass(pckg, "Documentation");
- cls = _class_5;
- StringConcatenation _builder_33 = new StringConcatenation();
- _builder_33.append("A piece of documentation that can be optionally attached at");
- _builder_33.newLine();
- _builder_33.append("certain places in the model.");
- _builder_33.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder_33.toString());
- EAttribute _attribute_15 = PostprocessingHelpers.getAttribute(cls, "text");
- StringConcatenation _builder_34 = new StringConcatenation();
- _builder_34.append("This is the documentation\'s contents.");
- _builder_34.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_15, _builder_34.toString());
- EClass _class_6 = PostprocessingHelpers.getClass(pckg, "Import");
- cls = _class_6;
- StringConcatenation _builder_35 = new StringConcatenation();
- _builder_35.append("The import declares an imported model (given as a URI) and");
- _builder_35.newLine();
- _builder_35.append("an optional imported namespace.");
- _builder_35.newLine();
- PostprocessingHelpers.setDocumentation(cls, _builder_35.toString());
- EAttribute _attribute_16 = PostprocessingHelpers.getAttribute(cls, "importedNamespace");
- StringConcatenation _builder_36 = new StringConcatenation();
- _builder_36.append("The imported name space has to be a dot separated qualified name followed by .*.");
- _builder_36.newLine();
- _builder_36.append("Example: my.namespace.*");
- _builder_36.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_16, _builder_36.toString());
- EAttribute _attribute_17 = PostprocessingHelpers.getAttribute(cls, "importURI");
- StringConcatenation _builder_37 = new StringConcatenation();
- _builder_37.append("The import URI can be a relative or absolute file system path.");
- _builder_37.newLine();
- _builder_37.append("It may contain environment variables in ${} which will be expanded.");
- _builder_37.newLine();
- _builder_37.append("<p>");
- _builder_37.newLine();
- _builder_37.append("Examples:");
- _builder_37.newLine();
- _builder_37.append("<ul>");
- _builder_37.newLine();
- _builder_37.append(" ");
- _builder_37.append("<li>import model \"AnotherModel.room\"</li>");
- _builder_37.newLine();
- _builder_37.append(" ");
- _builder_37.append("<li>import my.namespace.* from \"AnotherModel.room\"</li>");
- _builder_37.newLine();
- _builder_37.append(" ");
- _builder_37.append("<li>import my.namespace.* from \"../../AnotherProject/models/AnotherModel.room\"</li>");
- _builder_37.newLine();
- _builder_37.append(" ");
- _builder_37.append("<li>import my.namespace.* from \"/${ROOM_MODELS}/SomeModel.room\"</li>");
- _builder_37.newLine();
- _builder_37.append("</ul>");
- _builder_37.newLine();
- _builder_37.append("</p>");
- _builder_37.newLine();
- PostprocessingHelpers.setDocumentation(_attribute_17, _builder_37.toString());
- }
-}
+/**
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Juergen Haug (initial contribution)
+ */
+package org.eclipse.etrice.core.etphys.postprocessing;
+
+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.etrice.core.postprocessing.PostprocessingHelpers;
+import org.eclipse.xtend2.lib.StringConcatenation;
+import org.eclipse.xtext.GeneratedMetamodel;
+
+@SuppressWarnings("all")
+public class DocuPostprocessor {
+ public void process(final GeneratedMetamodel metamodel) {
+ final EPackage pckg = metamodel.getEPackage();
+ EClass cls = PostprocessingHelpers.getClass(pckg, "PhysicalModel");
+ StringConcatenation _builder = new StringConcatenation();
+ _builder.append("The root object for the physical model. It gives access to the systems, node classes");
+ _builder.newLine();
+ _builder.append("and runtimes defined.");
+ _builder.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder.toString());
+ EAttribute _attribute = PostprocessingHelpers.getAttribute(cls, "name");
+ StringConcatenation _builder_1 = new StringConcatenation();
+ _builder_1.append("The model name is a dot separated fully qualified name and is");
+ _builder_1.newLine();
+ _builder_1.append("used to provide a name space.");
+ _builder_1.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute, _builder_1.toString());
+ EReference _reference = PostprocessingHelpers.getReference(cls, "imports");
+ StringConcatenation _builder_2 = new StringConcatenation();
+ _builder_2.append("A list of all imported models.");
+ _builder_2.newLine();
+ PostprocessingHelpers.setDocumentation(_reference, _builder_2.toString());
+ EReference _reference_1 = PostprocessingHelpers.getReference(cls, "systems");
+ StringConcatenation _builder_3 = new StringConcatenation();
+ _builder_3.append("A list of all defined physical systems.");
+ _builder_3.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_1, _builder_3.toString());
+ EReference _reference_2 = PostprocessingHelpers.getReference(cls, "nodeClasses");
+ StringConcatenation _builder_4 = new StringConcatenation();
+ _builder_4.append("A list of all defined node classes.");
+ _builder_4.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_2, _builder_4.toString());
+ EReference _reference_3 = PostprocessingHelpers.getReference(cls, "runtimeClasses");
+ StringConcatenation _builder_5 = new StringConcatenation();
+ _builder_5.append("A list of all defined runtime classes.");
+ _builder_5.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_3, _builder_5.toString());
+ EClass _class = PostprocessingHelpers.getClass(pckg, "PhysicalSystem");
+ cls = _class;
+ StringConcatenation _builder_6 = new StringConcatenation();
+ _builder_6.append("This model object represents a complete physical system.");
+ _builder_6.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder_6.toString());
+ EAttribute _attribute_1 = PostprocessingHelpers.getAttribute(cls, "name");
+ StringConcatenation _builder_7 = new StringConcatenation();
+ _builder_7.append("The name of the physical system by which it is referred to in the model.");
+ _builder_7.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_1, _builder_7.toString());
+ EReference _reference_4 = PostprocessingHelpers.getReference(cls, "nodeRefs");
+ StringConcatenation _builder_8 = new StringConcatenation();
+ _builder_8.append("A list of referenced nodes.");
+ _builder_8.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_4, _builder_8.toString());
+ EReference _reference_5 = PostprocessingHelpers.getReference(cls, "docu");
+ StringConcatenation _builder_9 = new StringConcatenation();
+ _builder_9.append("This is an optional documentation.");
+ _builder_9.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_5, _builder_9.toString());
+ EClass _class_1 = PostprocessingHelpers.getClass(pckg, "NodeRef");
+ cls = _class_1;
+ StringConcatenation _builder_10 = new StringConcatenation();
+ _builder_10.append("This stands for a node instance in a specific role.");
+ _builder_10.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder_10.toString());
+ EAttribute _attribute_2 = PostprocessingHelpers.getAttribute(cls, "name");
+ StringConcatenation _builder_11 = new StringConcatenation();
+ _builder_11.append("The name of the reference by which it is referred to in the model.");
+ _builder_11.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_2, _builder_11.toString());
+ EReference _reference_6 = PostprocessingHelpers.getReference(cls, "type");
+ StringConcatenation _builder_12 = new StringConcatenation();
+ _builder_12.append("The node class of this reference.");
+ _builder_12.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_6, _builder_12.toString());
+ EReference _reference_7 = PostprocessingHelpers.getReference(cls, "docu");
+ StringConcatenation _builder_13 = new StringConcatenation();
+ _builder_13.append("This is an optional documentation.");
+ _builder_13.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_7, _builder_13.toString());
+ EClass _class_2 = PostprocessingHelpers.getClass(pckg, "NodeClass");
+ cls = _class_2;
+ StringConcatenation _builder_14 = new StringConcatenation();
+ _builder_14.append("This defines a node class.");
+ _builder_14.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder_14.toString());
+ EAttribute _attribute_3 = PostprocessingHelpers.getAttribute(cls, "name");
+ StringConcatenation _builder_15 = new StringConcatenation();
+ _builder_15.append("The name of the node class by which it is referred to in the model.");
+ _builder_15.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_3, _builder_15.toString());
+ EReference _reference_8 = PostprocessingHelpers.getReference(cls, "docu");
+ StringConcatenation _builder_16 = new StringConcatenation();
+ _builder_16.append("This is an optional documentation.");
+ _builder_16.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_8, _builder_16.toString());
+ EReference _reference_9 = PostprocessingHelpers.getReference(cls, "runtime");
+ StringConcatenation _builder_17 = new StringConcatenation();
+ _builder_17.append("This is the associated runtime class.");
+ _builder_17.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_9, _builder_17.toString());
+ EAttribute _attribute_4 = PostprocessingHelpers.getAttribute(cls, "priomin");
+ StringConcatenation _builder_18 = new StringConcatenation();
+ _builder_18.append("This is the minimal thread priority for this node type.");
+ _builder_18.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_4, _builder_18.toString());
+ EAttribute _attribute_5 = PostprocessingHelpers.getAttribute(cls, "priomax");
+ StringConcatenation _builder_19 = new StringConcatenation();
+ _builder_19.append("This is the maximum thread priority for this node type.");
+ _builder_19.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_5, _builder_19.toString());
+ EReference _reference_10 = PostprocessingHelpers.getReference(cls, "threads");
+ StringConcatenation _builder_20 = new StringConcatenation();
+ _builder_20.append("This is a list of all threads defined for this node.");
+ _builder_20.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_10, _builder_20.toString());
+ EClass _class_3 = PostprocessingHelpers.getClass(pckg, "PhysicalThread");
+ cls = _class_3;
+ StringConcatenation _builder_21 = new StringConcatenation();
+ _builder_21.append("This defines a physical thread running in a node.");
+ _builder_21.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder_21.toString());
+ EAttribute _attribute_6 = PostprocessingHelpers.getAttribute(cls, "name");
+ StringConcatenation _builder_22 = new StringConcatenation();
+ _builder_22.append("The name of the thread by which it is referred to in the model.");
+ _builder_22.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_6, _builder_22.toString());
+ EAttribute _attribute_7 = PostprocessingHelpers.getAttribute(cls, "default");
+ StringConcatenation _builder_23 = new StringConcatenation();
+ _builder_23.append("If this is {@code true} then this is the default thread.");
+ _builder_23.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_7, _builder_23.toString());
+ EAttribute _attribute_8 = PostprocessingHelpers.getAttribute(cls, "execmode");
+ StringConcatenation _builder_24 = new StringConcatenation();
+ _builder_24.append("This is the execution mode of the thread.");
+ _builder_24.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_8, _builder_24.toString());
+ EAttribute _attribute_9 = PostprocessingHelpers.getAttribute(cls, "prio");
+ StringConcatenation _builder_25 = new StringConcatenation();
+ _builder_25.append("This is the priority of the thread.");
+ _builder_25.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_9, _builder_25.toString());
+ EAttribute _attribute_10 = PostprocessingHelpers.getAttribute(cls, "stacksize");
+ StringConcatenation _builder_26 = new StringConcatenation();
+ _builder_26.append("This is the stacksize of the thread.");
+ _builder_26.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_10, _builder_26.toString());
+ EAttribute _attribute_11 = PostprocessingHelpers.getAttribute(cls, "msgblocksize");
+ StringConcatenation _builder_27 = new StringConcatenation();
+ _builder_27.append("This is the msgblocksize of the thread.");
+ _builder_27.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_11, _builder_27.toString());
+ EAttribute _attribute_12 = PostprocessingHelpers.getAttribute(cls, "msgpoolsize");
+ StringConcatenation _builder_28 = new StringConcatenation();
+ _builder_28.append("This is the msgpoolsize of the thread.");
+ _builder_28.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_12, _builder_28.toString());
+ EClass _class_4 = PostprocessingHelpers.getClass(pckg, "RuntimeClass");
+ cls = _class_4;
+ StringConcatenation _builder_29 = new StringConcatenation();
+ _builder_29.append("This defines a runtime class.");
+ _builder_29.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder_29.toString());
+ EAttribute _attribute_13 = PostprocessingHelpers.getAttribute(cls, "name");
+ StringConcatenation _builder_30 = new StringConcatenation();
+ _builder_30.append("The name of the runtime class by which it is referred to in the model.");
+ _builder_30.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_13, _builder_30.toString());
+ EReference _reference_11 = PostprocessingHelpers.getReference(cls, "docu");
+ StringConcatenation _builder_31 = new StringConcatenation();
+ _builder_31.append("This is an optional documentation.");
+ _builder_31.newLine();
+ PostprocessingHelpers.setDocumentation(_reference_11, _builder_31.toString());
+ EAttribute _attribute_14 = PostprocessingHelpers.getAttribute(cls, "threadModel");
+ StringConcatenation _builder_32 = new StringConcatenation();
+ _builder_32.append("This distinguishes single and multi threaded.");
+ _builder_32.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_14, _builder_32.toString());
+ EClass _class_5 = PostprocessingHelpers.getClass(pckg, "Documentation");
+ cls = _class_5;
+ StringConcatenation _builder_33 = new StringConcatenation();
+ _builder_33.append("A piece of documentation that can be optionally attached at");
+ _builder_33.newLine();
+ _builder_33.append("certain places in the model.");
+ _builder_33.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder_33.toString());
+ EAttribute _attribute_15 = PostprocessingHelpers.getAttribute(cls, "text");
+ StringConcatenation _builder_34 = new StringConcatenation();
+ _builder_34.append("This is the documentation\'s contents.");
+ _builder_34.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_15, _builder_34.toString());
+ EClass _class_6 = PostprocessingHelpers.getClass(pckg, "Import");
+ cls = _class_6;
+ StringConcatenation _builder_35 = new StringConcatenation();
+ _builder_35.append("The import declares an imported model (given as a URI) and");
+ _builder_35.newLine();
+ _builder_35.append("an optional imported namespace.");
+ _builder_35.newLine();
+ PostprocessingHelpers.setDocumentation(cls, _builder_35.toString());
+ EAttribute _attribute_16 = PostprocessingHelpers.getAttribute(cls, "importedNamespace");
+ StringConcatenation _builder_36 = new StringConcatenation();
+ _builder_36.append("The imported name space has to be a dot separated qualified name followed by .*.");
+ _builder_36.newLine();
+ _builder_36.append("Example: my.namespace.*");
+ _builder_36.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_16, _builder_36.toString());
+ EAttribute _attribute_17 = PostprocessingHelpers.getAttribute(cls, "importURI");
+ StringConcatenation _builder_37 = new StringConcatenation();
+ _builder_37.append("The import URI can be a relative or absolute file system path.");
+ _builder_37.newLine();
+ _builder_37.append("It may contain environment variables in ${} which will be expanded.");
+ _builder_37.newLine();
+ _builder_37.append("<p>");
+ _builder_37.newLine();
+ _builder_37.append("Examples:");
+ _builder_37.newLine();
+ _builder_37.append("<ul>");
+ _builder_37.newLine();
+ _builder_37.append(" ");
+ _builder_37.append("<li>import model \"AnotherModel.room\"</li>");
+ _builder_37.newLine();
+ _builder_37.append(" ");
+ _builder_37.append("<li>import my.namespace.* from \"AnotherModel.room\"</li>");
+ _builder_37.newLine();
+ _builder_37.append(" ");
+ _builder_37.append("<li>import my.namespace.* from \"../../AnotherProject/models/AnotherModel.room\"</li>");
+ _builder_37.newLine();
+ _builder_37.append(" ");
+ _builder_37.append("<li>import my.namespace.* from \"/${ROOM_MODELS}/SomeModel.room\"</li>");
+ _builder_37.newLine();
+ _builder_37.append("</ul>");
+ _builder_37.newLine();
+ _builder_37.append("</p>");
+ _builder_37.newLine();
+ PostprocessingHelpers.setDocumentation(_attribute_17, _builder_37.toString());
+ }
+}

Back to the top