<?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="Families2Persons" nsURI="http://www.eclipse.org/qvt/2015/QVTcore/examples/Families2Persons" | |
nsPrefix="families2Persons"> | |
<eClassifiers xsi:type="ecore:EClass" name="MemberToPerson" abstract="true"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="member" eType="ecore:EClass Families.ecore#//Member"> | |
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeUpper"> | |
<details key="body" value="1"/> | |
</eAnnotations> | |
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName"> | |
<details key="body" value="middle"/> | |
</eAnnotations> | |
</eStructuralFeatures> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="person" eType="ecore:EClass Persons.ecore#//Person"> | |
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeUpper"> | |
<details key="body" value="1"/> | |
</eAnnotations> | |
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName"> | |
<details key="body" value="middle"/> | |
</eAnnotations> | |
</eStructuralFeatures> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="familyName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Member2Male" eSuperTypes="#//MemberToPerson"/> | |
<eClassifiers xsi:type="ecore:EClass" name="Member2Female" eSuperTypes="#//MemberToPerson"/> | |
</ecore:EPackage> |