diff options
Diffstat (limited to 'Domains/github-graph/model/github.ecore')
-rw-r--r-- | Domains/github-graph/model/github.ecore | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/Domains/github-graph/model/github.ecore b/Domains/github-graph/model/github.ecore new file mode 100644 index 00000000..012003bc --- /dev/null +++ b/Domains/github-graph/model/github.ecore | |||
@@ -0,0 +1,67 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="github" nsURI="sure.ghtorrent.github" nsPrefix="github"> | ||
4 | <eClassifiers xsi:type="ecore:EClass" name="User"> | ||
5 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
6 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
7 | </eClassifiers> | ||
8 | <eClassifiers xsi:type="ecore:EClass" name="Project"> | ||
9 | <eStructuralFeatures xsi:type="ecore:EReference" name="issue" upperBound="-1" | ||
10 | eType="#//Issue" containment="true"/> | ||
11 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="creatd_at" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | ||
12 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deleted" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
13 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="updated_at" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | ||
14 | <eStructuralFeatures xsi:type="ecore:EReference" name="projectMembers" upperBound="-1" | ||
15 | eType="#//User" containment="true"/> | ||
16 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
17 | <eStructuralFeatures xsi:type="ecore:EReference" name="commits" upperBound="-1" | ||
18 | eType="#//Commit" containment="true"/> | ||
19 | </eClassifiers> | ||
20 | <eClassifiers xsi:type="ecore:EClass" name="Commit"> | ||
21 | <eAnnotations source="http://www.obeo.fr/dsl/dnc/archetype"> | ||
22 | <details key="archetype" value="Role"/> | ||
23 | </eAnnotations> | ||
24 | <eStructuralFeatures xsi:type="ecore:EReference" name="committer" lowerBound="1" | ||
25 | eType="#//User"/> | ||
26 | <eStructuralFeatures xsi:type="ecore:EReference" name="parents" upperBound="2" | ||
27 | eType="#//Commit"/> | ||
28 | <eStructuralFeatures xsi:type="ecore:EReference" name="pullrequest" eType="#//PullRequest" | ||
29 | eOpposite="#//PullRequest/commit"/> | ||
30 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="created_at" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | ||
31 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="sha" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
32 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="parents_sha" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ENTITIES"/> | ||
33 | </eClassifiers> | ||
34 | <eClassifiers xsi:type="ecore:EClass" name="Issue"> | ||
35 | <eStructuralFeatures xsi:type="ecore:EReference" name="pullrequest" eType="#//PullRequest" | ||
36 | containment="true"/> | ||
37 | <eStructuralFeatures xsi:type="ecore:EReference" name="issueevent" upperBound="-1" | ||
38 | eType="#//IssueEvent" containment="true"/> | ||
39 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="created_at" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | ||
40 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
41 | </eClassifiers> | ||
42 | <eClassifiers xsi:type="ecore:EClass" name="PullRequest"> | ||
43 | <eStructuralFeatures xsi:type="ecore:EReference" name="commit" eType="#//Commit" | ||
44 | eOpposite="#//Commit/pullrequest"/> | ||
45 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
46 | </eClassifiers> | ||
47 | <eClassifiers xsi:type="ecore:EEnum" name="Action"> | ||
48 | <eLiterals name="SUBSCRIBED"/> | ||
49 | <eLiterals name="MENTIONED" value="1"/> | ||
50 | <eLiterals name="CLOSED" value="2"/> | ||
51 | <eLiterals name="REFERENCED" value="3"/> | ||
52 | <eLiterals name="ASSIGNED" value="4"/> | ||
53 | <eLiterals name="REOPENED" value="5"/> | ||
54 | <eLiterals name="UNSUBSCRIBED" value="6"/> | ||
55 | <eLiterals name="MERGED" value="7"/> | ||
56 | <eLiterals name="HEAD_REF_CLEANED" value="8"/> | ||
57 | <eLiterals name="HEAD_REF_DELETED" value="9"/> | ||
58 | <eLiterals name="HEAD_REF_RESTORED" value="10"/> | ||
59 | </eClassifiers> | ||
60 | <eClassifiers xsi:type="ecore:EClass" name="IssueEvent"> | ||
61 | <eStructuralFeatures xsi:type="ecore:EReference" name="user" lowerBound="1" eType="#//User"/> | ||
62 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="action" eType="#//Action"/> | ||
63 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="created_at" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | ||
64 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="actor_url" lowerBound="1" | ||
65 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
66 | </eClassifiers> | ||
67 | </ecore:EPackage> | ||