| <?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="family" nsURI="family" nsPrefix=""> |
| <eClassifiers xsi:type="ecore:EClass" name="Model"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="families" upperBound="-1" |
| eType="#//Family" containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Family"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="members" upperBound="-1" |
| eType="#//Person" containment="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="pets" upperBound="-1" eType="#//Pet" |
| containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Person"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" |
| eType="#//Person" eOpposite="#//Person/parents"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="partner" eType="#//Person"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="parents" upperBound="-1" |
| eType="#//Person" eOpposite="#//Person/children"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Pet"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| </eClassifiers> |
| </ecore:EPackage> |