blob: cce877ac5d636e81ca809cda88ca6e8cb843e836 [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="SimpleRDBMS"
nsURI="http:///SimpleRDBMS.ecore" nsPrefix="SimpleRDBMS">
<eClassifiers xsi:type="ecore:EClass" name="Table" eSuperTypes="#//RModelElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="column" upperBound="-1"
eType="#//Column" containment="true" eOpposite="#//Column/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="foreignKey" upperBound="-1"
eType="#//ForeignKey" containment="true" eOpposite="#//ForeignKey/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="_key" upperBound="-1" eType="#//Key"
containment="true" eOpposite="#//Key/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="schema" eType="#//Schema"
eOpposite="#//Schema/tables"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Column" eSuperTypes="#//RModelElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
defaultValueLiteral=""/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Table"
eOpposite="#//Table/column"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="_key" upperBound="-1" eType="#//Key"
eOpposite="#//Key/column"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="foreignKey" upperBound="-1"
eType="#//ForeignKey" eOpposite="#//ForeignKey/column"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Key" eSuperTypes="#//RModelElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="column" upperBound="-1"
eType="#//Column" eOpposite="#//Column/_key"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Table"
eOpposite="#//Table/_key"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ForeignKey" eSuperTypes="#//RModelElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="column" upperBound="-1"
eType="#//Column" eOpposite="#//Column/foreignKey"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="refersTo" eType="#//Key"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Table"
eOpposite="#//Table/foreignKey"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RModelElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Schema" eSuperTypes="#//RModelElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="tables" upperBound="-1"
eType="#//Table" containment="true" eOpposite="#//Table/schema"/>
</eClassifiers>
</ecore:EPackage>