Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
75 lines (74 sloc) 4.74 KB
<?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="api2mol"
nsURI="http://modelum.es/atlanmod/api2mol" nsPrefix="api2mol">
<eClassifiers xsi:type="ecore:EClass" name="Definition">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="context" upperBound="-1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="defaultMetaclass" lowerBound="1"
eType="#//DefaultMetaclassSection" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="mappings" upperBound="-1"
eType="#//Mapping" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DefaultMetaclassSection" eSuperTypes="#//Section">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="metaclassName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="attribute" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Mapping">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="metaclass" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="instanceClass" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="sections" upperBound="-1"
eType="#//Section" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Section" abstract="true"/>
<eClassifiers xsi:type="ecore:EClass" name="PropertySection" eSuperTypes="#//Section">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="property" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="statements" upperBound="-1"
eType="#//Statement" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NewSection" eSuperTypes="#//Section">
<eStructuralFeatures xsi:type="ecore:EReference" name="constructors" upperBound="-1"
eType="#//Constructor" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultipleSection" eSuperTypes="#//Section">
<eStructuralFeatures xsi:type="ecore:EReference" name="statements" upperBound="-1"
eType="#//Statement" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ValueSection" eSuperTypes="#//Section">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="metaValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="instanceValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Statement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" eType="#//StatementType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="variables" upperBound="-1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="calls" upperBound="-1"
eType="#//MethodCall" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="StatementType">
<eLiterals name="GET"/>
<eLiterals name="SET" value="1"/>
<eLiterals name="APPEND" value="2"/>
<eLiterals name="INSERT_AT" value="3"/>
<eLiterals name="REMOVE" value="4"/>
<eLiterals name="REMOVE_AT" value="5"/>
<eLiterals name="REMOVE_LAST" value="6"/>
<eLiterals name="REMOVE_ALL" value="7"/>
<eLiterals name="COUNT" value="8"/>
<eLiterals name="ACCESSORS" value="9"/>
<eLiterals name="DIRECT" value="10"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="true">
<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="MethodCall" eSuperTypes="#//NamedElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="params" upperBound="-1"
eType="#//Parameter" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Parameter" eSuperTypes="#//NamedElement"/>
<eClassifiers xsi:type="ecore:EClass" name="Constructor" eSuperTypes="#//MethodCall"/>
</ecore:EPackage>