| <?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="comps" nsURI="comps" nsPrefix=""> |
| <eClassifiers xsi:type="ecore:EClass" name="Model" eSuperTypes="#//Component"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="components" upperBound="-1" |
| eType="#//Component" containment="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="connectors" upperBound="-1" |
| eType="#//Connector" containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Component"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="inPorts" upperBound="-1" |
| eType="#//Port" containment="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="outPort" eType="#//Port" |
| containment="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Port"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="outgoing" lowerBound="1" |
| eType="#//Connector" eOpposite="#//Connector/source"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="incoming" lowerBound="1" |
| eType="#//Connector" eOpposite="#//Connector/target"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Connector"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1" |
| eType="#//Port" eOpposite="#//Port/outgoing"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" |
| eType="#//Port" eOpposite="#//Port/incoming"/> |
| </eClassifiers> |
| </ecore:EPackage> |