Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds smart home metamodel for implementing smart home case study #29

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.addresses.edit;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.addresses.provider.AddressesEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.addresses.editor;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.addresses.presentation.AddressesEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.addresses;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.autosar.edit;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.autosar.edit
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.autosar.provider.AutoSAREditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.autosar.editor;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.autosar.editor
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.autosar.presentation.AutoSAREditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.autosar;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.autosar
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.confidentiality4cbse.edit;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.confidentiality4cbse.edit
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.confidentiality4cbse.provider.Confidentiality4cbseEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.confidentiality4cbse.editor;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.confidentiality4cbse.editor
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.confidentiality4cbse.presentation.Confidentiality4cbseEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.confidentiality4cbse;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.confidentiality4cbse
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.families.edit;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.families.provider.FamiliesEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.families.editor;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.families.presentation.FamiliesEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.families;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.insurance.edit;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.insurance.edit
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.insurance.provider.InsuranceEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.insurance.editor;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.insurance.editor
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.insurance.presentation.InsuranceEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.insurance;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.insurance
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.joana.edit;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.joana.edit
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.joana.provider.JoanamodelEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.joana.editor;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.joana.editor
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.joana.presentation.JoanamodelEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.joana;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.joana
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.persons.edit;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.persons.provider.PersonsEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.persons.editor;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.persons.presentation.PersonsEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.persons;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.recipients.edit;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.recipients.provider.RecipientsEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.recipients.editor;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.recipients.presentation.RecipientsEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.recipients;singleton:=true
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.simulink.edit;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.simulink.edit
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.simulink.provider.SimuLinkEditPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.simulink.editor;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.simulink.editor
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: edu.kit.ipd.sdq.metamodels.simulink.presentation.SimuLinkEditorPlugin$Implementation
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.simulink;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.simulink
Bundle-Version: 1.9.0.qualifier
Bundle-Version: 1.10.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
8 changes: 8 additions & 0 deletions bundles/edu.kit.ipd.sdq.metamodels.smarthome/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
46 changes: 46 additions & 0 deletions bundles/edu.kit.ipd.sdq.metamodels.smarthome/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>edu.kit.ipd.sdq.metamodels.smarthome</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.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.sirius.nature.modelingproject</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
<filteredResources>
<filter>
<id>1720168159955</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
16 changes: 16 additions & 0 deletions bundles/edu.kit.ipd.sdq.metamodels.smarthome/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.smarthome;singleton:=true
Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.smarthome
Bundle-Version: 0.1.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-17
Export-Package: edu.kit.ipd.sdq.metamodels.smarthome,
edu.kit.ipd.sdq.metamodels.smarthome.impl,
edu.kit.ipd.sdq.metamodels.smarthome.util
Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.core.runtime
Bundle-ActivationPolicy: lazy
10 changes: 10 additions & 0 deletions bundles/edu.kit.ipd.sdq.metamodels.smarthome/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#

bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties
jars.compile.order = .
source.. = src-gen/
output.. = bin/
25 changes: 25 additions & 0 deletions bundles/edu.kit.ipd.sdq.metamodels.smarthome/model/smarthome.ecore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?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="smarthome" nsURI="edu.kit.ipd.sdq.metamodels.smarthome" nsPrefix="smarthome">
<eClassifiers xsi:type="ecore:EClass" name="Protocol">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Link">
<eStructuralFeatures xsi:type="ecore:EReference" name="protocol" lowerBound="1"
eType="#//Protocol"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="components" eType="#//Component"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Component">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="supportedProtocols" lowerBound="1"
eType="#//Protocol"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Device" eSuperTypes="#//Component"/>
<eClassifiers xsi:type="ecore:EClass" name="Server" eSuperTypes="#//Component"/>
<eClassifiers xsi:type="ecore:EClass" name="SmartHomeSystem">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="address" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="links" eType="#//Link"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="protocols" eType="#//Protocol"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="components" eType="#//Component"/>
</eClassifiers>
</ecore:EPackage>
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel 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" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel"
modelDirectory="/edu.kit.ipd.sdq.metamodels.smarthome/src-gen" creationIcons="false"
editDirectory="/edu.kit.ipd.sdq.metamodels.smarthome.edit/src-gen" editorDirectory="/edu.kit.ipd.sdq.metamodels.smarthome.editor/src-gen"
modelPluginID="edu.kit.ipd.sdq.metamodels.smarthome" modelName="Smarthome" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
codeFormatting="true" importerID="org.eclipse.emf.importer.ecore" complianceLevel="17.0"
copyrightFields="false" operationReflection="true" importOrganizing="true">
<foreignModel>smarthome.ecore</foreignModel>
<testsDirectory xsi:nil="true"/>
<genPackages prefix="Smarthome" basePackage="edu.kit.ipd.sdq.metamodels" disposableProviderFactory="true"
ecorePackage="smarthome.ecore#/">
<genClasses ecoreClass="smarthome.ecore#//Protocol">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute smarthome.ecore#//Protocol/name"/>
</genClasses>
<genClasses ecoreClass="smarthome.ecore#//Link">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference smarthome.ecore#//Link/protocol"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference smarthome.ecore#//Link/components"/>
</genClasses>
<genClasses ecoreClass="smarthome.ecore#//Component">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute smarthome.ecore#//Component/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference smarthome.ecore#//Component/supportedProtocols"/>
</genClasses>
<genClasses ecoreClass="smarthome.ecore#//Device"/>
<genClasses ecoreClass="smarthome.ecore#//Server"/>
<genClasses ecoreClass="smarthome.ecore#//SmartHomeSystem">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute smarthome.ecore#//SmartHomeSystem/address"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference smarthome.ecore#//SmartHomeSystem/links"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference smarthome.ecore#//SmartHomeSystem/protocols"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference smarthome.ecore#//SmartHomeSystem/components"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
Loading
Loading