Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-09-13 08:24:03 +0000
committercletavernie2011-09-13 08:24:03 +0000
commit0ae8a27c9b71c52240faac422b9e55cc6741c8dd (patch)
tree89bc1435da18c4108ec82a55bb5b03542896672f /sandbox/org.eclipse.papyrus.properties.generation/Source/sample.ecore
parentc5af84706c127117696726054fc3db49c614b8bb (diff)
downloadorg.eclipse.papyrus-0ae8a27c9b71c52240faac422b9e55cc6741c8dd.tar.gz
org.eclipse.papyrus-0ae8a27c9b71c52240faac422b9e55cc6741c8dd.tar.xz
org.eclipse.papyrus-0ae8a27c9b71c52240faac422b9e55cc6741c8dd.zip
Import to the sandbox before major refactoring
Diffstat (limited to 'sandbox/org.eclipse.papyrus.properties.generation/Source/sample.ecore')
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/Source/sample.ecore27
1 files changed, 27 insertions, 0 deletions
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/Source/sample.ecore b/sandbox/org.eclipse.papyrus.properties.generation/Source/sample.ecore
new file mode 100644
index 00000000000..c50c65bec0c
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/Source/sample.ecore
@@ -0,0 +1,27 @@
+<?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="Sample"
+ nsURI="http://sample" nsPrefix="sample">
+ <eClassifiers xsi:type="ecore:EClass" name="Library">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="books" upperBound="-1"
+ eType="#//Book"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Book">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="author" eType="#//Person"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" eType="#//Category"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="string" eType="#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Person">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="Category">
+ <eLiterals name="SF"/>
+ <eLiterals name="Polar"/>
+ <eLiterals name="Enfant"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EString"/>
+</ecore:EPackage>

Back to the top