footballmanagement.ecore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="footballmanagement" nsURI="http://footballmanagement/1.0" nsPrefix="footballmanagement"> | |
<eClassifiers xsi:type="ecore:EClass" name="Individual" abstract="true"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="surName" 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"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Coach" eSuperTypes="#//Individual"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="experience" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Player" eSuperTypes="#//Individual"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="price" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="playerType" eType="#//PlayerType"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="FootballTeam"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="individuals" upperBound="-1" | |
eType="#//Individual"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="founded" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="contracts" upperBound="-1" | |
eType="#//Contract"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="FootballClub"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="players" upperBound="-1" | |
eType="#//Player"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="coaches" upperBound="-1" | |
eType="#//Coach"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="contracts" upperBound="-1" | |
eType="#//Contract"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="footballTeam" upperBound="-1" | |
eType="#//FootballTeam"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Contract"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="player" lowerBound="1" | |
eType="#//Player"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="individual" lowerBound="1" | |
eType="#//Individual"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="startDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="finalDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="footballTeam" lowerBound="1" | |
eType="#//FootballTeam"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="current" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="ManagementSystem"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="footballClubs" upperBound="-1" | |
eType="#//FootballClub"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="individuals" upperBound="-1" | |
eType="#//Individual"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EEnum" name="PlayerType"> | |
<eLiterals name="Goalkeeper"/> | |
<eLiterals name="Defender" value="1"/> | |
<eLiterals name="Midfielder" value="2"/> | |
<eLiterals name="Forward" value="3"/> | |
</eClassifiers> | |
<eSubpackages name="EPackage0"/> | |
</ecore:EPackage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment