Skip to content
Snippets Groups Projects
Commit e2311567 authored by Chrissi's avatar Chrissi
Browse files

Merge branch 'develop'

parents 0cf8f28c f0cedcbe
No related branches found
No related tags found
No related merge requests found
Showing
with 346 additions and 6 deletions
...@@ -176,3 +176,8 @@ local.properties ...@@ -176,3 +176,8 @@ local.properties
.project .project
output/ output/
doc/ doc/
[lL]ocal[tT]est*
# ANTLR
gen/
[submodule "lib/ModelSyncProvider"]
path = lib/ModelSyncProvider
url = https://git-st.inf.tu-dresden.de/cwerner/role_model_synchronization_provider.git
[submodule "lib/SCROLL"]
path = lib/SCROLL
url = https://github.com/portux/SCROLL.git
[submodule "src/main/asciidoc"] [submodule "src/main/asciidoc"]
path = src/main/doc path = src/main/doc
url = https://git-st.inf.tu-dresden.de/cwerner/code_generator.wiki.git url = https://git-st.inf.tu-dresden.de/cwerner/code_generator.wiki.git
File added
natural join imdbdatabase.Film with elib.VideoCassette as joins.JoinMovie {
keep attributes imdbdatabase.Film.year
keep aggregate avg(score) over Film.votes as Movie.averageRating
keep calculated attribute imdbdatabase.Film.votes->select(v|v.score==10)->size() as Movie.topratings:EInt
keep supertype elib.AudioVisualItem as type jointarget.MediaItem {
keep attributes elib.AudioVisualItem.minutesLength
}
keep outgoing imdbdatabase.Film.votes as type jointarget.Vote {
keep attributes imdbdatabase.Vote.score
}
keep outgoing elib.VideoCassette.cast as type jointarget.Person {
keep attributes elib.Person.lastName
}
}
natural join lib.Library with lib.Library as lib.Library {
keep attributes lib.Library.name
keep outgoing lib.Library.employees as type lib.Employee {
keep attributes lib.Employee.salary
keep outgoing lib.Employee.manager as type lib.Employee {
}
keep supertype lib.Person as type lib.Person {
keep attributes lib.Person.name
}
}
}
\ No newline at end of file
natural join lib.Library with lib.Library as lib.Library {
keep attributes lib.Library.name
keep outgoing lib.Library.employees as type lib.Employee {
keep attributes lib.Employee.salary
keep supertype lib.Person as type lib.Person {
keep attributes lib.Person.name
}
}
}
\ No newline at end of file
natural join lib.Employee with lib.Employee as lib.Employee {
keep attributes lib.Employee.salary
keep outgoing lib.Employee.manager as type lib.Employee {
}
keep supertype lib.Person as type lib.Person {
keep attributes lib.Person.name
}
}
\ No newline at end of file
natural join imdb.Film with library.VideoCassette as jointarget.Movie {
keep attributes imdb.Film.year
keep attributes library.AudioVisualItem.minutesLength
}
natural join imdb.Film with library.Author as jointarget.Director {
keep attributes imdb.Film.title
keep attributes library.Author.name
}
natural join shrinking.Class with shrinking.Class as shrinking.Class {
keep supertype shrinking.Classifier as type shrinking.Classifier {
keep attributes shrinking.Classifier.name
}
keep outgoing shrinking.StructuredClassifier.part as type shrinking.Property {
keep attributes shrinking.ConnectableElement.name
}
keep outgoing shrinking.StructuredClassifier.role as type shrinking.Property {
keep attributes shrinking.ConnectableElement.name
}
keep outgoing shrinking.StructuredClassifier.ownedAttribute as type shrinking.Property {
}
}
natural join imdbdatabase.Film with elib.VideoCassette as joins.JoinMovie {
keep attributes imdbdatabase.Film.year
keep attributes eclipselibrary.AudioVisualItem.minutesLength
keep outgoing imdbdatabase.Film.votes as type jointarget.Vote {
keep attributes imdbdatabase.Vote.score
}
keep outgoing elib.VideoCassette.cast as type jointarget.Person {
keep attributes elib.Person.lastName
}
}
theta join imdb.Film with library.Movie where imdb.Film.title = library.Movie.name as jointarget.Movie {
keep attributes imdb.Film.title
keep attributes library.Author.name
}
<?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="AMLLanguage" nsURI="http://www.example.org/aml" nsPrefix="aml">
<eClassifiers xsi:type="ecore:EClass" name="CAEXObject" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" 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"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Attribute" eSuperTypes="#//CAEXObject">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SystemUnitClass" eSuperTypes="#//CAEXObject">
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
eType="#//Attribute" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="internalElements" upperBound="-1"
eType="#//InternalElement" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="InternalElement" eSuperTypes="#//SystemUnitClass">
<eStructuralFeatures xsi:type="ecore:EReference" name="baseSystemUnit" eType="#//SystemUnitClass"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="InstanceHierarchy" eSuperTypes="#//CAEXObject">
<eStructuralFeatures xsi:type="ecore:EReference" name="internalElements" upperBound="-1"
eType="#//InternalElement" containment="true"/>
</eClassifiers>
</ecore:EPackage>
<?xml version="1.0" encoding="ISO-8859-1"?>
<ecore:EPackage name="BDD" nsURI="https://www.transformation-tool-contest.eu/2019/bdd" 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"
nsPrefix="bdd">
<eClassifiers xsi:type="ecore:EClass" name="BDD">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false"
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ports" ordered="false"
lowerBound="1" upperBound="-1" eType="#/0/Port" containment="true" eOpposite="#/0/Port/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="tree" ordered="false"
lowerBound="1" eType="#/0/Tree" containment="true" eOpposite="#/0/Tree/ownerBDD"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Port" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false"
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
lowerBound="1" eType="#/0/BDD" eOpposite="#/0/BDD/ports"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="InputPort" eSuperTypes="#/0/Port">
<eStructuralFeatures xsi:type="ecore:EReference" name="subtrees" ordered="false"
upperBound="-1" eType="#/0/Subtree" eOpposite="#/0/Subtree/port"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OutputPort" eSuperTypes="#/0/Port">
<eStructuralFeatures xsi:type="ecore:EReference" name="assignments" ordered="false"
upperBound="-1" eType="#/0/Assignment" eOpposite="#/0/Assignment/port"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Tree" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="ownerBDD" ordered="false"
eType="#/0/BDD" eOpposite="#/0/BDD/tree"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ownerSubtreeForZero"
ordered="false" eType="#/0/Subtree" eOpposite="#/0/Subtree/treeForZero"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ownerSubtreeForOne" ordered="false"
eType="#/0/Subtree" eOpposite="#/0/Subtree/treeForOne"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Leaf" eSuperTypes="#/0/Tree">
<eStructuralFeatures xsi:type="ecore:EReference" name="assignments" ordered="false"
lowerBound="1" upperBound="-1" eType="#/0/Assignment" containment="true"
eOpposite="#/0/Assignment/owner"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Assignment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="port" ordered="false"
lowerBound="1" eType="#/0/OutputPort" eOpposite="#/0/OutputPort/assignments"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
lowerBound="1" eType="#/0/Leaf" eOpposite="#/0/Leaf/assignments"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Subtree" eSuperTypes="#/0/Tree">
<eStructuralFeatures xsi:type="ecore:EReference" name="port" ordered="false"
lowerBound="1" eType="#/0/InputPort" eOpposite="#/0/InputPort/subtrees"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="treeForZero" ordered="false"
lowerBound="1" eType="#/0/Tree" containment="true" eOpposite="#/0/Tree/ownerSubtreeForZero"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="treeForOne" ordered="false"
lowerBound="1" eType="#/0/Tree" containment="true" eOpposite="#/0/Tree/ownerSubtreeForOne"/>
</eClassifiers>
</ecore:EPackage>
<?xml version="1.0" encoding="ISO-8859-1"?>
<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="bddg" nsURI="https://www.transformation-tool-contest.eu/2019/bdd/graph"
nsPrefix="bddg">
<eClassifiers xsi:type="ecore:EClass" name="BDD">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" unique="false"
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ports" ordered="false"
lowerBound="1" upperBound="-1" eType="#//Port" containment="true" eOpposite="#//Port/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="root" ordered="false" lowerBound="1"
eType="#//Tree"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="trees" upperBound="-1"
eType="#//Tree" containment="true" eOpposite="#//Tree/ownerBDD"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Port" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" unique="false"
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
lowerBound="1" eType="#//BDD" eOpposite="#//BDD/ports"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="InputPort" eSuperTypes="#//Port">
<eStructuralFeatures xsi:type="ecore:EReference" name="subtrees" ordered="false"
upperBound="-1" eType="#//Subtree" eOpposite="#//Subtree/port"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OutputPort" eSuperTypes="#//Port">
<eStructuralFeatures xsi:type="ecore:EReference" name="assignments" ordered="false"
upperBound="-1" eType="#//Assignment" eOpposite="#//Assignment/port"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Tree" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="ownerBDD" ordered="false"
eType="#//BDD" eOpposite="#//BDD/trees"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ownerSubtreeForZero" ordered="false"
upperBound="-1" eType="#//Subtree" eOpposite="#//Subtree/treeForZero"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ownerSubtreeForOne" ordered="false"
upperBound="-1" eType="#//Subtree" eOpposite="#//Subtree/treeForOne"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Leaf" eSuperTypes="#//Tree">
<eStructuralFeatures xsi:type="ecore:EReference" name="assignments" ordered="false"
lowerBound="1" upperBound="-1" eType="#//Assignment" containment="true" eOpposite="#//Assignment/owner"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Assignment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="port" ordered="false" lowerBound="1"
eType="#//OutputPort" eOpposite="#//OutputPort/assignments"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
lowerBound="1" eType="#//Leaf" eOpposite="#//Leaf/assignments"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Subtree" eSuperTypes="#//Tree">
<eStructuralFeatures xsi:type="ecore:EReference" name="port" ordered="false" lowerBound="1"
eType="#//InputPort" eOpposite="#//InputPort/subtrees"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="treeForZero" ordered="false"
lowerBound="1" eType="#//Tree" eOpposite="#//Tree/ownerSubtreeForZero"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="treeForOne" ordered="false"
lowerBound="1" eType="#//Tree" eOpposite="#//Tree/ownerSubtreeForOne"/>
</eClassifiers>
</ecore:EPackage>
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="classdiagram" nsURI="http://www.example.org/develop" nsPrefix="dev">
<eClassifiers xsi:type="ecore:EClass" name="ClassDiagram">
<eStructuralFeatures xsi:type="ecore:EReference" name="classes" upperBound="-1"
eType="#//Class" containment="true" eOpposite="#//Class/diagram"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Class">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="className" unique="false"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="diagram" lowerBound="1"
eType="#//ClassDiagram" eOpposite="#//ClassDiagram/classes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="associations" upperBound="-1"
eType="#//Association" containment="true" eOpposite="#//Association/class"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="usedBy" upperBound="-1"
eType="#//Association" eOpposite="#//Association/type"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Association">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBound" unique="false"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="class" lowerBound="1" eType="#//Class"
eOpposite="#//Class/associations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="type" lowerBound="1" eType="#//Class"
eOpposite="#//Class/usedBy"/>
</eClassifiers>
</ecore:EPackage>
assets/models/ClassDiagram.png

7.97 KiB

<?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="library"
nsURI="http://www.eclipse.org/emf/jcrm/samples/emf/sample/Library" nsPrefix="library">
<eClassifiers xsi:type="ecore:EClass" name="Book">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="name" value="Book"/>
<details key="kind" value="elementOnly"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="title" unique="false" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="element"/>
<details key="name" value="title"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pages" unique="false" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int" unsettable="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="element"/>
<details key="name" value="pages"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="author" lowerBound="1"
eType="#//Writer">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="element"/>
<details key="name" value="author"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Library">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="element"/>
<details key="name" value="name"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="books" upperBound="-1"
eType="#//Book" containment="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="element"/>
<details key="name" value="books"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Writer">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="element"/>
<details key="name" value="name"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GuideBookWriter" eSuperTypes="#//Writer">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="countries" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SpecialistBookWriter" eSuperTypes="#//Writer">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="subject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>
\ No newline at end of file
<?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="Family" nsURI="http://www.example.org/ttc17" nsPrefix="ttc17">
<eClassifiers xsi:type="ecore:EClass" name="Member">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" unique="false"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="familyMother" eType="#//Family"
eOpposite="#//Family/mother"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="familyFather" eType="#//Family"
eOpposite="#//Family/father"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="familySon" eType="#//Family"
eOpposite="#//Family/familySons"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="familyDaughter" eType="#//Family"
eOpposite="#//Family/familyDaugthers"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Family">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lastName" unique="false"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="mother" eType="#//Member"
containment="true" eOpposite="#//Member/familyMother"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="father" eType="#//Member"
containment="true" eOpposite="#//Member/familyFather"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="familyDaugthers" upperBound="-1"
eType="#//Member" containment="true" eOpposite="#//Member/familyDaughter"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="familySons" upperBound="-1"
eType="#//Member" containment="true" eOpposite="#//Member/familySon"/>
</eClassifiers>
</ecore:EPackage>
assets/models/Family.png

7.49 KiB

{"name":"Family","init":{"name":"FamilyModel","primaryClass":"Family.Family","image":"Family.png","nested":[{"name":"MemberModel","primaryClass":"Family.Member"}]}}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment