blob: 128e5c63cc7a159572d2947602f0d73d70e274c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?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="familytree" nsURI="http://www.example.org/familytree" nsPrefix="familytree">
<eClassifiers xsi:type="ecore:EClass" name="FamilyTree">
<eStructuralFeatures xsi:type="ecore:EReference" name="members" upperBound="-1"
eType="#//Member" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Member">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="age" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
defaultValueLiteral="0"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
eType="#//Member" eOpposite="#//Member/parents"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parents" upperBound="2"
eType="#//Member" eOpposite="#//Member/children"/>
</eClassifiers>
</ecore:EPackage>
|