blob: 661f6ef3454f66915929574cbc7f57d94dfb29ae [file] [log] [blame]
<?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="company" nsURI="http://org.eclipse.qvtd.compiler.tests.companies/Company" nsPrefix="com">
<eClassifiers xsi:type="ecore:EClass" name="Company" eSuperTypes="#//Visitable">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="depts" ordered="false"
upperBound="-1" eType="#//Department" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Department" eSuperTypes="#//Visitable">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="manager" ordered="false"
lowerBound="1" eType="#//Employee" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="subdepts" ordered="false"
upperBound="-1" eType="#//Department" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="employees" ordered="false"
upperBound="-1" eType="#//Employee" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Employee" eSuperTypes="#//Visitable">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="address" ordered="false"
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="salary" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="mentor" eType="#//Employee"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Visitable" instanceClassName="org.xtext.example.company.util.Visitable"
abstract="true" interface="true"/>
</ecore:EPackage>