Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 1.5 KB
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI 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">
<ecore:EPackage name="PrimitiveTypes">
<eClassifiers xsi:type="ecore:EDataType" name="Integer"/>
<eClassifiers xsi:type="ecore:EDataType" name="String"/>
<eClassifiers xsi:type="ecore:EDataType" name="Boolean"/>
</ecore:EPackage>
<ecore:EPackage name="Book">
<eClassifiers xsi:type="ecore:EClass" name="Book">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="title" ordered="false" unique="false" lowerBound="1" eType="/0/String"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="chapters" upperBound="-1" eType="/1/Chapter" containment="true" eOpposite="/1/Chapter/book"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Chapter">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="title" ordered="false" unique="false" lowerBound="1" eType="/0/String"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nbPages" ordered="false" unique="false" lowerBound="1" eType="/0/Integer"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="author" ordered="false" unique="false" lowerBound="1" eType="/0/String"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="book" ordered="false" lowerBound="1" eType="/1/Book" eOpposite="/1/Book/chapters"/>
</eClassifiers>
</ecore:EPackage>
</xmi:XMI>