diff options
author | Juergen Haug | 2013-04-01 20:16:07 +0000 |
---|---|---|
committer | Juergen Haug | 2013-04-01 20:16:07 +0000 |
commit | 40dfb78555b1e3dd37b5323d4bf34e89561032c8 (patch) | |
tree | baf1a8f046917766f717938388bc753da86a8ea4 /plugins/org.eclipse.etrice.core.config/src-gen | |
parent | 0dbd50da04a9371d15c2e338a61d86fa9753aa58 (diff) | |
download | org.eclipse.etrice-40dfb78555b1e3dd37b5323d4bf34e89561032c8.tar.gz org.eclipse.etrice-40dfb78555b1e3dd37b5323d4bf34e89561032c8.tar.xz org.eclipse.etrice-40dfb78555b1e3dd37b5323d4bf34e89561032c8.zip |
[core] added config docu + generated comments have initial new line
Change-Id: Icc2c89038633be0760897790bc6a00b435c7188a
Diffstat (limited to 'plugins/org.eclipse.etrice.core.config/src-gen')
20 files changed, 543 insertions, 294 deletions
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore index 832c29af7..c21cf8f1c 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore @@ -2,6 +2,9 @@ <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="config" nsURI="http://www.eclipse.org/etrice/core/Config" nsPrefix="config">
<eClassifiers xsi:type="ecore:EClass" name="ConfigModel">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>The root object for the ROOM Config model. It gives access to
the {@link SubSystemConfig sub system class},
{@link ActorClassConfig actor class}, {@link ProtocolClassConfig protocol class} and
{@link ActorInstanceConfig actor instance} configurations and the room model {@link Import imports}.
"/>
+ </eAnnotations>
<eOperations name="getActorClassConfigs" upperBound="-1" eType="#//ActorClassConfig">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="EList<ActorClassConfig> list = new org.eclipse.emf.common.util.BasicEList<ActorClassConfig>();
for(ConfigElement element : this.getConfigElements())
	if(element instanceof ActorClassConfig)
		list.add((ActorClassConfig) element);
return list;
"/>
@@ -22,88 +25,275 @@ <details key="body" value="EList<SubSystemConfig> list = new org.eclipse.emf.common.util.BasicEList<SubSystemConfig>();
for(ConfigElement element : this.getConfigElements())
	if(element instanceof SubSystemConfig)
		list.add((SubSystemConfig) element);
return list;"/>
</eAnnotations>
</eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <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="<br>The model name is a dot separated fully qualified name and is
used to provide a name space.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1"
- eType="#//Import" containment="true"/>
+ eType="#//Import" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of all imported room models. The config elements reference these imports.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="configElements" upperBound="-1"
- eType="#//ConfigElement" containment="true"/>
+ eType="#//ConfigElement" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of all top level config elements
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConfigElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the super class of the top level config elements
<ul>
	<li>{@link SubSystemConfig}</li>
	<li>{@link ActorClassConfig}</li>
	<li>{@link ActorInstanceConfig}</li>
	<li>{@link ProtocolClassConfig}</li>
</ul>
"/>
+ </eAnnotations>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ConfigElement"/>
<eClassifiers xsi:type="ecore:EClass" name="SubSystemConfig" eSuperTypes="#//ConfigElement">
- <eStructuralFeatures xsi:type="ecore:EReference" name="root" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//LogicalSystem"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="subSystem" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//SubSystemRef"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class defines settings with a sub system scope.
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="root" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//LogicalSystem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the logical system that contains the {@link #org.eclipse.etrice.core.room.SubSystemRef sub system reference}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subSystem" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//SubSystemRef">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the sub system reference.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="dynConfig" eType="#//DynamicConfig"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the dynamic configuration. It is available within the {@link #getSubSystem sub system}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DynamicConfig">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="filePath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="userCode1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="userCode2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="polling" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>The dynamic configuration provides a configuration at runtime.
The source of the configuration is abstracted by an interface.
<br>
This feature is experimental and implemented for target language java only.
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="filePath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the file path of the configuration. In this case the source of the configuration is a simple file.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="userCode1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>Defines the import statement for the implemenation of the configuration source.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="userCode2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the constructor statement for the implemenation of the configuration source.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="polling" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>Defines the time interval in milliseconds to query changes from the configuration source.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ActorClassConfig" eSuperTypes="#//ConfigElement">
- <eStructuralFeatures xsi:type="ecore:EReference" name="actor" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//ActorClass"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class models a configuration for an {@link org.eclipse.etrice.core.room.ActorClass actor class}.
The configuration defines the default values for all instances of the {@link #getActor actor}.
The values are applied at generation time.
The config sub elements are:
<ul>
	<li>{@link AttrClassConfig attribute class config}</li>
</ul>				
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="actor" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//ActorClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the actor class.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//AttrClassConfig" containment="true"/>
+ eType="#//AttrClassConfig" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of all attribute configurations.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ActorInstanceConfig" eSuperTypes="#//ConfigElement">
- <eStructuralFeatures xsi:type="ecore:EReference" name="root" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//LogicalSystem"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="subSystem" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//SubSystemRef"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class models a configuration for an {@link org.eclipse.etrice.core.room.ActorRef actor instance}.
The configuration defines values for this actor instance and overrides the default values from the corresponding class config.
The values are applied at generation time.
The config sub elements are:
<ul>
	<li>{@link AttrInstanceConfig attribute instance config}</li>
</ul>				
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="root" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//LogicalSystem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the logical system that contains the {@link #getSubSystem sub system}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subSystem" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//SubSystemRef">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the sub system that contains the {@link #getRefPath actor instance}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//RefPath"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the path of the actor instance relative to the {@link #getSubSystem sub system}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//AttrInstanceConfig" containment="true"/>
+ eType="#//AttrInstanceConfig" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of all attribute configurations.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="ports" upperBound="-1"
- eType="#//PortInstanceConfig" containment="true"/>
+ eType="#//PortInstanceConfig" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of all port configurations.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ProtocolClassConfig" eSuperTypes="#//ConfigElement">
- <eStructuralFeatures xsi:type="ecore:EReference" name="protocol" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//ProtocolClass"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class models a configuration for an {@link org.eclipse.etrice.core.room.ProtocolClass protocol class}.
The config sub elements are:
<ul>
	<li>a {@link PortClassConfig port class config} for the regular port class</li>
	<li>a {@link PortClassConfig port class config} for the conjugate port class</li>
</ul>
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="protocol" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//ProtocolClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the protocol class.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="regular" eType="#//PortClassConfig"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the configuration for the regular part of the protocol.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="conjugated" eType="#//PortClassConfig"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the configuration for the conjugated part of the protocol.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PortClassConfig">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class models a configuration for an {@link org.eclipse.etrice.core.room.PortClass port class}.
The configuration defines the default values for all instances of the port.
The values are applied at generation time.
The config sub elements are:
<ul>
	<li>{@link AttrClassConfig attribute class config}</li>
</ul>
"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//AttrClassConfig" containment="true"/>
+ eType="#//AttrClassConfig" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of all attribute configurations.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PortInstanceConfig">
- <eStructuralFeatures xsi:type="ecore:EReference" name="item" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//InterfaceItem"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class models a configuration for an {@link org.eclipse.etrice.core.room.InterfaceItem interface item} (e.g. port instance).
The configuration defines values for this interface item and overrides the default values from the corresponding class config.
The values are applied at generation time.
The config sub elements are:
<ul>
	<li>{@link AttrInstanceConfig attribute instance config}</li>
</ul>				
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="item" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//InterfaceItem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the interface item.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//AttrInstanceConfig" containment="true"/>
+ eType="#//AttrInstanceConfig" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of all attribute configurations.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AttrConfig">
- <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//Attribute"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>It is the super class of
<ul>
	<li>{@link AttrClassConfig}</li>
	<li>{@link AttrInstanceConfig}</li>
</ul>				
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//Attribute">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the attribute.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//LiteralArray"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the value of {@link #getAttribute attribute}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AttrClassConfig" eSuperTypes="#//AttrConfig">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class models a configuration for an {@link org.eclipse.etrice.core.room.Attribute attribute}.
The configuration defines a default value for all instances of the attribute.
The values are applied at generation time.
<br>If the type of the given {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is
<ul>
	<li>primitive, then a {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} might exist and {@link #getAttributes attributes} is empty</li>
	<li>compound attribute (e.g. {@link org.eclipse.etrice.core.room.DataClass data class}), then {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} is null and configurations for children {@link #getAttributes attributes} might exist</li>
</ul>				
"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="min" eType="#//NumberLiteral"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the lower bound of {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} , in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} has a numerical value.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="max" eType="#//NumberLiteral"
- containment="true"/>
+ containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is the upper bound of {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} , in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} has a numerical value.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//AttrClassConfig" containment="true"/>
+ eType="#//AttrClassConfig" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of attribute configurations of children attributes, in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is compound.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AttrInstanceConfig" eSuperTypes="#//AttrConfig">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dynConfig" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="readOnly" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This class models a configuration for an {@link org.eclipse.etrice.core.room.Attribute attribute}.
The configuration defines values for this attribute instance and overrides the default values from the corresponding class config.
The values are applied at generation time.
<br>If the type of the given {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is
<ul>
	<li>primitive, then a {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} might exist and {@link #getAttributes attributes} is empty</li>
	<li>compound attribute (e.g. {@link org.eclipse.etrice.core.room.DataClass data class}), then {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} is null and configurations for children {@link #getAttributes attributes} might exist</li>
</ul>				
"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dynConfig" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>If the dynamic configuration options is activated for this attribute, then the values are set at runtime by the means of the {@link DynamicConfig dynamic config}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="readOnly" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>Controls the behavior of the dynamic configuration. If set to false, then {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} is updated (overwritten) if changes occur in the external configuration, 
otherwise set to true, then changes in {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} (that occur from within the system) are recorded to the external configuration.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//AttrInstanceConfig" containment="true"/>
+ eType="#//AttrInstanceConfig" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of attribute configurations of children attributes, in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is compound.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RefPath">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>A path of strings that are interpreted as {@link org.eclipse.etrice.core.room.ActorRef}s starting at a {@link org.eclipse.etrice.core.room.SubSystemClass}.
"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="refs" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a path in the instance tree where each segment corresponds to the name of the
corresponding {@link ActorContainerRef}.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Import">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <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="<br>The import declares an imported {@link org.eclipse.etrice.core.room.RoomModel room model} (given as a URI) and
an optional imported namespace.
"/>
+ </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="<br>The imported name space has to be a dot separated qualified name followed by .*.
Example: my.namespace.*
"/>
+ </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="<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>
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LiteralArray">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>Aggregates one or more {@link Literal literals}.		
"/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="literals" upperBound="-1"
- eType="#//Literal" containment="true"/>
+ eType="#//Literal" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>This is a list of literals.
"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Literal">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="<br>It is the super class of
<ul>
	<li>{@link BooleanLiteral}</li>
	<li>{@link NumberLiteral}</li>
	<li>{@link StringLiteral}</li>
</ul>
that represents a primitive value.
"/>
+ </eAnnotations>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Literal"/>
<eClassifiers xsi:type="ecore:EClass" name="BooleanLiteral" eSuperTypes="#//Literal">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isTrue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java index 4651430a3..01bda2b71 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java @@ -1,4 +1,6 @@ - +/* +* generated by Xtext +*/ package org.eclipse.etrice.core; import org.eclipse.emf.ecore.EPackage; diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorClassConfig.java index 204549fd3..d64f7c6a5 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorClassConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorClassConfig.java @@ -11,6 +11,17 @@ import org.eclipse.etrice.core.room.ActorClass; * A representation of the model object '<em><b>Actor Class Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class models a configuration for an {@link org.eclipse.etrice.core.room.ActorClass actor class}.
+ * The configuration defines the default values for all instances of the {@link #getActor actor}.
+ * The values are applied at generation time.
+ * The config sub elements are:
+ * <ul>
+ * <li>{@link AttrClassConfig attribute class config}</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -28,11 +39,11 @@ public interface ActorClassConfig extends ConfigElement /**
* Returns the value of the '<em><b>Actor</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Actor</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the actor class.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Actor</em>' reference.
* @see #setActor(ActorClass)
* @see org.eclipse.etrice.core.config.ConfigPackage#getActorClassConfig_Actor()
@@ -55,11 +66,11 @@ public interface ActorClassConfig extends ConfigElement * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.AttrClassConfig}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all attribute configurations.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Attributes</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getActorClassConfig_Attributes()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java index f5e9e2f70..c80dd1c7e 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java @@ -12,6 +12,17 @@ import org.eclipse.etrice.core.room.SubSystemRef; * A representation of the model object '<em><b>Actor Instance Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class models a configuration for an {@link org.eclipse.etrice.core.room.ActorRef actor instance}.
+ * The configuration defines values for this actor instance and overrides the default values from the corresponding class config.
+ * The values are applied at generation time.
+ * The config sub elements are:
+ * <ul>
+ * <li>{@link AttrInstanceConfig attribute instance config}</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -32,11 +43,11 @@ public interface ActorInstanceConfig extends ConfigElement /**
* Returns the value of the '<em><b>Root</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Root</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the logical system that contains the {@link #getSubSystem sub system}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Root</em>' reference.
* @see #setRoot(LogicalSystem)
* @see org.eclipse.etrice.core.config.ConfigPackage#getActorInstanceConfig_Root()
@@ -58,11 +69,11 @@ public interface ActorInstanceConfig extends ConfigElement /**
* Returns the value of the '<em><b>Sub System</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Sub System</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the sub system that contains the {@link #getRefPath actor instance}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Sub System</em>' reference.
* @see #setSubSystem(SubSystemRef)
* @see org.eclipse.etrice.core.config.ConfigPackage#getActorInstanceConfig_SubSystem()
@@ -84,11 +95,11 @@ public interface ActorInstanceConfig extends ConfigElement /**
* Returns the value of the '<em><b>Path</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Path</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the path of the actor instance relative to the {@link #getSubSystem sub system}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Path</em>' containment reference.
* @see #setPath(RefPath)
* @see org.eclipse.etrice.core.config.ConfigPackage#getActorInstanceConfig_Path()
@@ -111,11 +122,11 @@ public interface ActorInstanceConfig extends ConfigElement * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.AttrInstanceConfig}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all attribute configurations.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Attributes</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getActorInstanceConfig_Attributes()
* @model containment="true"
@@ -127,11 +138,11 @@ public interface ActorInstanceConfig extends ConfigElement * Returns the value of the '<em><b>Ports</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.PortInstanceConfig}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ports</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all port configurations.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Ports</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getActorInstanceConfig_Ports()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java index c8e4032db..2faab8734 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java @@ -9,6 +9,18 @@ import org.eclipse.emf.common.util.EList; * A representation of the model object '<em><b>Attr Class Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class models a configuration for an {@link org.eclipse.etrice.core.room.Attribute attribute}.
+ * The configuration defines a default value for all instances of the attribute.
+ * The values are applied at generation time.
+ * <br>If the type of the given {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is
+ * <ul>
+ * <li>primitive, then a {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} might exist and {@link #getAttributes attributes} is empty</li>
+ * <li>compound attribute (e.g. {@link org.eclipse.etrice.core.room.DataClass data class}), then {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} is null and configurations for children {@link #getAttributes attributes} might exist</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,11 +39,11 @@ public interface AttrClassConfig extends AttrConfig /**
* Returns the value of the '<em><b>Min</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Min</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the lower bound of {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} , in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} has a numerical value.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Min</em>' containment reference.
* @see #setMin(NumberLiteral)
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrClassConfig_Min()
@@ -53,11 +65,11 @@ public interface AttrClassConfig extends AttrConfig /**
* Returns the value of the '<em><b>Max</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Max</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the upper bound of {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} , in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} has a numerical value.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Max</em>' containment reference.
* @see #setMax(NumberLiteral)
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrClassConfig_Max()
@@ -80,11 +92,11 @@ public interface AttrClassConfig extends AttrConfig * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.AttrClassConfig}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of attribute configurations of children attributes, in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is compound.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Attributes</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrClassConfig_Attributes()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java index 593ddc202..95156f2fb 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java @@ -11,6 +11,15 @@ import org.eclipse.etrice.core.room.Attribute; * A representation of the model object '<em><b>Attr Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>It is the super class of
+ * <ul>
+ * <li>{@link AttrClassConfig}</li>
+ * <li>{@link AttrInstanceConfig}</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -28,11 +37,11 @@ public interface AttrConfig extends EObject /**
* Returns the value of the '<em><b>Attribute</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attribute</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the attribute.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Attribute</em>' reference.
* @see #setAttribute(Attribute)
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrConfig_Attribute()
@@ -54,11 +63,11 @@ public interface AttrConfig extends EObject /**
* Returns the value of the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the value of {@link #getAttribute attribute}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Value</em>' containment reference.
* @see #setValue(LiteralArray)
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrConfig_Value()
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java index 41ff51746..16954545e 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java @@ -9,6 +9,18 @@ import org.eclipse.emf.common.util.EList; * A representation of the model object '<em><b>Attr Instance Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class models a configuration for an {@link org.eclipse.etrice.core.room.Attribute attribute}.
+ * The configuration defines values for this attribute instance and overrides the default values from the corresponding class config.
+ * The values are applied at generation time.
+ * <br>If the type of the given {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is
+ * <ul>
+ * <li>primitive, then a {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} might exist and {@link #getAttributes attributes} is empty</li>
+ * <li>compound attribute (e.g. {@link org.eclipse.etrice.core.room.DataClass data class}), then {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} is null and configurations for children {@link #getAttributes attributes} might exist</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,11 +39,11 @@ public interface AttrInstanceConfig extends AttrConfig /**
* Returns the value of the '<em><b>Dyn Config</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dyn Config</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>If the dynamic configuration options is activated for this attribute, then the values are set at runtime by the means of the {@link DynamicConfig dynamic config}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Dyn Config</em>' attribute.
* @see #setDynConfig(boolean)
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_DynConfig()
@@ -53,11 +65,12 @@ public interface AttrInstanceConfig extends AttrConfig /**
* Returns the value of the '<em><b>Read Only</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>Controls the behavior of the dynamic configuration. If set to false, then {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} is updated (overwritten) if changes occur in the external configuration,
+ * otherwise set to true, then changes in {@link org.eclipse.etrice.core.config.AttrConfig#getValue value} (that occur from within the system) are recorded to the external configuration.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Read Only</em>' attribute.
* @see #setReadOnly(boolean)
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_ReadOnly()
@@ -80,11 +93,11 @@ public interface AttrInstanceConfig extends AttrConfig * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.AttrInstanceConfig}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of attribute configurations of children attributes, in case the {@link org.eclipse.etrice.core.config.AttrConfig#getAttribute attribute} is compound.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Attributes</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_Attributes()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigElement.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigElement.java index 0947cf678..c982dabbc 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigElement.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigElement.java @@ -9,6 +9,17 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Element</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This is the super class of the top level config elements
+ * <ul>
+ * <li>{@link SubSystemConfig}</li>
+ * <li>{@link ActorClassConfig}</li>
+ * <li>{@link ActorInstanceConfig}</li>
+ * <li>{@link ProtocolClassConfig}</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
*
* @see org.eclipse.etrice.core.config.ConfigPackage#getConfigElement()
* @model
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java index 7344b6a92..11942b699 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java @@ -11,6 +11,14 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Model</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>The root object for the ROOM Config model. It gives access to
+ * the {@link SubSystemConfig sub system class},
+ * {@link ActorClassConfig actor class}, {@link ProtocolClassConfig protocol class} and
+ * {@link ActorInstanceConfig actor instance} configurations and the room model {@link Import imports}.
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -29,11 +37,12 @@ public interface ConfigModel extends EObject /**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- 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.config.ConfigPackage#getConfigModel_Name()
@@ -56,11 +65,11 @@ public interface ConfigModel extends EObject * Returns the value of the '<em><b>Imports</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.Import}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Imports</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all imported room models. The config elements reference these imports.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Imports</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getConfigModel_Imports()
* @model containment="true"
@@ -72,11 +81,11 @@ public interface ConfigModel extends EObject * Returns the value of the '<em><b>Config Elements</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.ConfigElement}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config Elements</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all top level config elements
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Config Elements</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getConfigModel_ConfigElements()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java index 32f8daf46..bf9bdbe93 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java @@ -9,6 +9,14 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Dynamic Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>The dynamic configuration provides a configuration at runtime.
+ * The source of the configuration is abstracted by an interface.
+ * <br>
+ * This feature is experimental and implemented for target language java only.
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -28,11 +36,11 @@ public interface DynamicConfig extends EObject /**
* Returns the value of the '<em><b>File Path</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>File Path</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the file path of the configuration. In this case the source of the configuration is a simple file.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>File Path</em>' attribute.
* @see #setFilePath(String)
* @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_FilePath()
@@ -54,11 +62,11 @@ public interface DynamicConfig extends EObject /**
* Returns the value of the '<em><b>User Code1</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>User Code1</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>Defines the import statement for the implemenation of the configuration source.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>User Code1</em>' attribute.
* @see #setUserCode1(String)
* @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_UserCode1()
@@ -80,11 +88,11 @@ public interface DynamicConfig extends EObject /**
* Returns the value of the '<em><b>User Code2</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>User Code2</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the constructor statement for the implemenation of the configuration source.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>User Code2</em>' attribute.
* @see #setUserCode2(String)
* @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_UserCode2()
@@ -106,11 +114,11 @@ public interface DynamicConfig extends EObject /**
* Returns the value of the '<em><b>Polling</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Polling</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>Defines the time interval in milliseconds to query changes from the configuration source.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Polling</em>' attribute.
* @see #setPolling(int)
* @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_Polling()
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Import.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Import.java index 065a725f5..974063024 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Import.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Import.java @@ -9,6 +9,12 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Import</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>The import declares an imported {@link org.eclipse.etrice.core.room.RoomModel room model} (given as a URI) and
+ * an optional imported namespace.
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -26,11 +32,12 @@ public interface Import extends EObject /**
* Returns the value of the '<em><b>Imported Namespace</b></em>' attribute.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Imported Namespace</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- 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.config.ConfigPackage#getImport_ImportedNamespace()
@@ -52,11 +59,21 @@ public interface Import extends EObject /**
* 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>
- * If the meaning of the '<em>Import URI</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * 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-user-doc -->
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Import URI</em>' attribute.
* @see #setImportURI(String)
* @see org.eclipse.etrice.core.config.ConfigPackage#getImport_ImportURI()
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Literal.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Literal.java index 01f5ed2c7..b20738a0b 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Literal.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/Literal.java @@ -9,6 +9,17 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Literal</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>It is the super class of
+ * <ul>
+ * <li>{@link BooleanLiteral}</li>
+ * <li>{@link NumberLiteral}</li>
+ * <li>{@link StringLiteral}</li>
+ * </ul>
+ * that represents a primitive value.
+ *
+ * <!-- end-model-doc -->
+ *
*
* @see org.eclipse.etrice.core.config.ConfigPackage#getLiteral()
* @model
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java index 684ba279f..a56699af7 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java @@ -11,6 +11,11 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Literal Array</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>Aggregates one or more {@link Literal literals}.
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -28,11 +33,11 @@ public interface LiteralArray extends EObject * Returns the value of the '<em><b>Literals</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.Literal}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Literals</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of literals.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Literals</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getLiteralArray_Literals()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java index c6524ac29..f39f3e774 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java @@ -11,6 +11,17 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Port Class Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class models a configuration for an {@link org.eclipse.etrice.core.room.PortClass port class}.
+ * The configuration defines the default values for all instances of the port.
+ * The values are applied at generation time.
+ * The config sub elements are:
+ * <ul>
+ * <li>{@link AttrClassConfig attribute class config}</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -28,11 +39,11 @@ public interface PortClassConfig extends EObject * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.AttrClassConfig}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all attribute configurations.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Attributes</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getPortClassConfig_Attributes()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java index b0d95a7c6..7a6a8fecb 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java @@ -13,6 +13,17 @@ import org.eclipse.etrice.core.room.InterfaceItem; * A representation of the model object '<em><b>Port Instance Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class models a configuration for an {@link org.eclipse.etrice.core.room.InterfaceItem interface item} (e.g. port instance).
+ * The configuration defines values for this interface item and overrides the default values from the corresponding class config.
+ * The values are applied at generation time.
+ * The config sub elements are:
+ * <ul>
+ * <li>{@link AttrInstanceConfig attribute instance config}</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -30,11 +41,11 @@ public interface PortInstanceConfig extends EObject /**
* Returns the value of the '<em><b>Item</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Item</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the interface item.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Item</em>' reference.
* @see #setItem(InterfaceItem)
* @see org.eclipse.etrice.core.config.ConfigPackage#getPortInstanceConfig_Item()
@@ -57,11 +68,11 @@ public interface PortInstanceConfig extends EObject * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.etrice.core.config.AttrInstanceConfig}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a list of all attribute configurations.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Attributes</em>' containment reference list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getPortInstanceConfig_Attributes()
* @model containment="true"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java index 86e385f93..bbbd54cd9 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java @@ -9,6 +9,16 @@ import org.eclipse.etrice.core.room.ProtocolClass; * A representation of the model object '<em><b>Protocol Class Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class models a configuration for an {@link org.eclipse.etrice.core.room.ProtocolClass protocol class}.
+ * The config sub elements are:
+ * <ul>
+ * <li>a {@link PortClassConfig port class config} for the regular port class</li>
+ * <li>a {@link PortClassConfig port class config} for the conjugate port class</li>
+ * </ul>
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,11 +37,11 @@ public interface ProtocolClassConfig extends ConfigElement /**
* Returns the value of the '<em><b>Protocol</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Protocol</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the protocol class.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Protocol</em>' reference.
* @see #setProtocol(ProtocolClass)
* @see org.eclipse.etrice.core.config.ConfigPackage#getProtocolClassConfig_Protocol()
@@ -53,11 +63,11 @@ public interface ProtocolClassConfig extends ConfigElement /**
* Returns the value of the '<em><b>Regular</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Regular</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the configuration for the regular part of the protocol.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Regular</em>' containment reference.
* @see #setRegular(PortClassConfig)
* @see org.eclipse.etrice.core.config.ConfigPackage#getProtocolClassConfig_Regular()
@@ -79,11 +89,11 @@ public interface ProtocolClassConfig extends ConfigElement /**
* Returns the value of the '<em><b>Conjugated</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Conjugated</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the configuration for the conjugated part of the protocol.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Conjugated</em>' containment reference.
* @see #setConjugated(PortClassConfig)
* @see org.eclipse.etrice.core.config.ConfigPackage#getProtocolClassConfig_Conjugated()
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/RefPath.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/RefPath.java index 1e2afb6d6..50b286e12 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/RefPath.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/RefPath.java @@ -11,6 +11,11 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Ref Path</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>A path of strings that are interpreted as {@link org.eclipse.etrice.core.room.ActorRef}s starting at a {@link org.eclipse.etrice.core.room.SubSystemClass}.
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -28,11 +33,12 @@ public interface RefPath extends EObject * Returns the value of the '<em><b>Refs</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Refs</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is a path in the instance tree where each segment corresponds to the name of the
+ * corresponding {@link ActorContainerRef}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Refs</em>' attribute list.
* @see org.eclipse.etrice.core.config.ConfigPackage#getRefPath_Refs()
* @model unique="false"
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java index 8c601f7e4..871282c8a 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java @@ -10,6 +10,11 @@ import org.eclipse.etrice.core.room.SubSystemRef; * A representation of the model object '<em><b>Sub System Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <!-- begin-model-doc -->
+ * <br>This class defines settings with a sub system scope.
+ *
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
@@ -28,11 +33,11 @@ public interface SubSystemConfig extends ConfigElement /**
* Returns the value of the '<em><b>Root</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Root</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the logical system that contains the {@link #org.eclipse.etrice.core.room.SubSystemRef sub system reference}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Root</em>' reference.
* @see #setRoot(LogicalSystem)
* @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig_Root()
@@ -54,11 +59,11 @@ public interface SubSystemConfig extends ConfigElement /**
* Returns the value of the '<em><b>Sub System</b></em>' reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Sub System</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the sub system reference.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Sub System</em>' reference.
* @see #setSubSystem(SubSystemRef)
* @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig_SubSystem()
@@ -80,11 +85,11 @@ public interface SubSystemConfig extends ConfigElement /**
* Returns the value of the '<em><b>Dyn Config</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dyn Config</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * <br>This is the dynamic configuration. It is available within the {@link #getSubSystem sub system}.
+ *
+ * <!-- end-model-doc -->
* @return the value of the '<em>Dyn Config</em>' containment reference.
* @see #setDynConfig(DynamicConfig)
* @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig_DynConfig()
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java index ebd931de1..5d4963534 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java @@ -1,7 +1,6 @@ /* * generated by Xtext */ - package org.eclipse.etrice.core.services; import com.google.inject.Singleton; @@ -277,13 +276,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - /// * - // - // * Validation: - // - // * duplicates config, attributes - // - // * / ActorClassConfig: + //ActorClassConfig: // // "ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}"; public ParserRule getRule() { return rule; } @@ -338,19 +331,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cPortsPortInstanceConfigParserRuleCall_7_1_0 = (RuleCall)cPortsAssignment_7_1.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); - /// * - // - // * Validation: - // - // * duplicates config, attributes - // - // * valid instance reference - // - // * Proposal: - // - // * attributes - // - // * / ActorInstanceConfig: + //ActorInstanceConfig: // // "ActorInstanceConfig" root=[room::LogicalSystem|FQN] "/" subSystem=[room::SubSystemRef] "/" path=RefPath "{" // @@ -582,17 +563,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cAttrClassConfigParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cAttrInstanceConfigParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - /// * - // - // * Validation: - // - // * correct value type - // - // * Proposal: - // - // * correct Literal - // - // * / AttrConfig: + //AttrConfig: // // AttrClassConfig | AttrInstanceConfig; public ParserRule getRule() { return rule; } @@ -635,21 +606,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_1_2_0 = (RuleCall)cAttributesAssignment_3_1_2.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2); - /// * - // - // * Validation: - // - // * correct min, max type + available - // - // * min <= value <= max - // - // * if !value -> min <= attribute.defaultValue <= max - // - // * character length - // - // * - // - // * / AttrClassConfig: + //AttrClassConfig: // // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? ("max" "=" // @@ -845,13 +802,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final Assignment cRefsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cRefsIDTerminalRuleCall_1_1_0 = (RuleCall)cRefsAssignment_1_1.eContents().get(0); - /// * - // - // * Proposal: - // - // * for ActorInstanceConfig - // - // * / RefPath: + //RefPath: // // refs+=ID ("/" refs+=ID)*; public ParserRule getRule() { return rule; } @@ -1019,10 +970,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { // ////; // - //// LiteralArray = BooleanLiteral+|NumberLiteral+ - // - //// LiteralArray = StringLiteral - // //LiteralArray: // // literals+=Literal ("," literals+=Literal)*; @@ -1561,13 +1508,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { return getDynamicConfigAccess().getRule(); } - /// * - // - // * Validation: - // - // * duplicates config, attributes - // - // * / ActorClassConfig: + //ActorClassConfig: // // "ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}"; public ActorClassConfigElements getActorClassConfigAccess() { @@ -1578,19 +1519,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { return getActorClassConfigAccess().getRule(); } - /// * - // - // * Validation: - // - // * duplicates config, attributes - // - // * valid instance reference - // - // * Proposal: - // - // * attributes - // - // * / ActorInstanceConfig: + //ActorInstanceConfig: // // "ActorInstanceConfig" root=[room::LogicalSystem|FQN] "/" subSystem=[room::SubSystemRef] "/" path=RefPath "{" // @@ -1638,17 +1567,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { return getPortInstanceConfigAccess().getRule(); } - /// * - // - // * Validation: - // - // * correct value type - // - // * Proposal: - // - // * correct Literal - // - // * / AttrConfig: + //AttrConfig: // // AttrClassConfig | AttrInstanceConfig; public AttrConfigElements getAttrConfigAccess() { @@ -1659,21 +1578,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { return getAttrConfigAccess().getRule(); } - /// * - // - // * Validation: - // - // * correct min, max type + available - // - // * min <= value <= max - // - // * if !value -> min <= attribute.defaultValue <= max - // - // * character length - // - // * - // - // * / AttrClassConfig: + //AttrClassConfig: // // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? ("max" "=" // @@ -1699,13 +1604,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { return getAttrInstanceConfigAccess().getRule(); } - /// * - // - // * Proposal: - // - // * for ActorInstanceConfig - // - // * / RefPath: + //RefPath: // // refs+=ID ("/" refs+=ID)*; public RefPathElements getRefPathAccess() { @@ -1781,10 +1680,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { // ////; // - //// LiteralArray = BooleanLiteral+|NumberLiteral+ - // - //// LiteralArray = StringLiteral - // //LiteralArray: // // literals+=Literal ("," literals+=Literal)*; diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java index 60d3bb078..0551c9b74 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java @@ -1,14 +1,16 @@ +/* +* generated by Xtext +*/ package org.eclipse.etrice.core.validation; import java.util.ArrayList; import java.util.List; import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.validation.AbstractDeclarativeValidator; import org.eclipse.xtext.validation.ComposedChecks; @ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class}) -public class AbstractConfigJavaValidator extends AbstractDeclarativeValidator { +public class AbstractConfigJavaValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { @Override protected List<EPackage> getEPackages() { |