summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Parker2012-09-21 14:44:06 (EDT)
committer Miles Parker2012-09-21 14:44:06 (EDT)
commit9d818517f0a5e0e8010a76c582a073d355905a4d (patch)
tree32016400256fb19178a6be3d61a5dfaba083fc98
parent33134762207a91b00d6e1451d02cc92c567bab92 (diff)
downloadorg.eclipse.mylyn.reviews.r4e-9d818517f0a5e0e8010a76c582a073d355905a4d.zip
org.eclipse.mylyn.reviews.r4e-9d818517f0a5e0e8010a76c582a073d355905a4d.tar.gz
org.eclipse.mylyn.reviews.r4e-9d818517f0a5e0e8010a76c582a073d355905a4d.tar.bz2
324327: Define a common model for reviewsrefs/changes/70/7870/1
Change-Id: I1f3f06d328b23c7e4df0eef6b5baaf3ecd498a5c Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=324327
-rw-r--r--org.eclipse.mylyn.reviews.frame.core/model/org.eclipse.mylyn.reviews.frame.core.model.ecore164
1 files changed, 88 insertions, 76 deletions
diff --git a/org.eclipse.mylyn.reviews.frame.core/model/org.eclipse.mylyn.reviews.frame.core.model.ecore b/org.eclipse.mylyn.reviews.frame.core/model/org.eclipse.mylyn.reviews.frame.core.model.ecore
index 8a64811..11b80c5 100644
--- a/org.eclipse.mylyn.reviews.frame.core/model/org.eclipse.mylyn.reviews.frame.core.model.ecore
+++ b/org.eclipse.mylyn.reviews.frame.core/model/org.eclipse.mylyn.reviews.frame.core.model.ecore
@@ -1,76 +1,88 @@
-<?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="model"
- nsURI="http://org.eclipse.mylyn.reviews.frame.core.model/1.0" nsPrefix="org.eclipse.mylyn.reviews.frame.core">
- <eClassifiers xsi:type="ecore:EClass" name="Review" eSuperTypes="#//ReviewComponent #//SubModelRoot">
- <eStructuralFeatures xsi:type="ecore:EReference" name="topics" upperBound="-1"
- eType="#//Topic" transient="true" derived="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="reviewItems" upperBound="-1"
- eType="#//Item" transient="true" derived="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="reviewTask" eType="#//TaskReference"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="state" lowerBound="1" eType="#//ReviewState"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Comment" eSuperTypes="#//ReviewComponent">
- <eStructuralFeatures xsi:type="ecore:EReference" name="user" lowerBound="1" eType="#//User"
- resolveProxies="false"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" lowerBound="1" eType="#//CommentType"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Item" eSuperTypes="#//ReviewComponent">
- <eStructuralFeatures xsi:type="ecore:EReference" name="addedBy" lowerBound="1"
- eType="#//User"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="review" lowerBound="1"
- eType="#//Review"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Location" abstract="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="User">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="email" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TaskReference" eSuperTypes="#//ReviewComponent">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="taskId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="repositoryURL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ReviewState" abstract="true" eSuperTypes="#//ReviewComponent"/>
- <eClassifiers xsi:type="ecore:EClass" name="ReviewGroup" eSuperTypes="#//ReviewComponent #//SubModelRoot">
- <eStructuralFeatures xsi:type="ecore:EReference" name="reviews" upperBound="-1"
- eType="#//Review" transient="true" derived="true" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="reviewGroupTask" eType="#//TaskReference"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CommentType" abstract="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="Topic" eSuperTypes="#//Comment">
- <eStructuralFeatures xsi:type="ecore:EReference" name="task" eType="#//TaskReference"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="location" upperBound="-1"
- eType="#//Location" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="comments" upperBound="-1"
- eType="#//Comment" transient="true" derived="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="review" lowerBound="1"
- eType="#//Review"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ReviewComponent">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="enabled" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="true" iD="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="namespace" value=""/>
- <details key="wildcards" value=""/>
- <details key="name" value=""/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SubModelRoot">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="fragmentVersion" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
- defaultValueLiteral="0.8.0"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="compatibility" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
- transient="true" unsettable="true" derived="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="applicationVersion" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
- transient="true" defaultValueLiteral="1.0.0" unsettable="true" derived="true"/>
- </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="model" nsURI="http://org.eclipse.mylyn.reviews.frame.core.model/1.0"
+ nsPrefix="org.eclipse.mylyn.reviews.frame.core">
+ <eClassifiers xsi:type="ecore:EClass" name="Review" eSuperTypes="#//ReviewComponent #//SubModelRoot">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="topics" upperBound="-1"
+ eType="#//Topic" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="items" upperBound="-1"
+ eType="#//ReviewItem" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reviewTask" eType="#//TaskReference"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="state" lowerBound="1" eType="#//ReviewState"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Comment" eSuperTypes="#//ReviewComponent">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="author" lowerBound="1"
+ eType="#//User" resolveProxies="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type" lowerBound="1" eType="#//CommentType"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="creationDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="replies" upperBound="-1"
+ eType="#//Comment" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="draft" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ReviewItem" eSuperTypes="#//ReviewComponent">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="addedBy" lowerBound="1"
+ eType="#//User"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="review" lowerBound="1"
+ eType="#//Review"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="topics" upperBound="-1"
+ eType="#//Topic" eOpposite="#//Topic/item"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Location" abstract="true"/>
+ <eClassifiers xsi:type="ecore:EClass" name="User">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="email" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TaskReference" eSuperTypes="#//ReviewComponent">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="taskId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="repositoryURL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ReviewState" abstract="true" eSuperTypes="#//ReviewComponent"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ReviewGroup" eSuperTypes="#//ReviewComponent #//SubModelRoot">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reviews" upperBound="-1"
+ eType="#//Review" transient="true" derived="true" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reviewGroupTask" eType="#//TaskReference"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CommentType" abstract="true"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Topic" eSuperTypes="#//Comment">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="task" eType="#//TaskReference"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="location" upperBound="-1"
+ eType="#//Location" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="comments" upperBound="-1"
+ eType="#//Comment" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="review" lowerBound="1"
+ eType="#//Review"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="item" eType="#//ReviewItem"
+ eOpposite="#//ReviewItem/topics"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ReviewComponent">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="enabled" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="true" iD="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="namespace" value=""/>
+ <details key="wildcards" value=""/>
+ <details key="name" value=""/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SubModelRoot">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fragmentVersion" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ defaultValueLiteral="0.8.0"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="compatibility" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ transient="true" unsettable="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="applicationVersion" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ transient="true" defaultValueLiteral="1.0.0" unsettable="true" derived="true"/>
+ </eClassifiers>
+</ecore:EPackage>