| <?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="companies" nsURI="http://www.xtext.org/example/mydsl/Companies" |
| nsPrefix="companies"> |
| <eClassifiers xsi:type="ecore:EClass" name="company"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="deparment" upperBound="-1" |
| eType="#//department" containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="department"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="department_manager" eType="#//department_manager" |
| containment="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="department_employees" eType="#//department_employees" |
| containment="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="deparment" upperBound="-1" |
| eType="#//department" containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="department_manager"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="employee" eType="#//employee" |
| containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="department_employees"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="employee" upperBound="-1" |
| eType="#//employee" containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="employee"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="address" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="salary" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="mentor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| </eClassifiers> |
| </ecore:EPackage> |