<?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="property" nsURI="http://property/1.0" nsPrefix="property"> | |
<eClassifiers xsi:type="ecore:EClass" name="PropertyModel" eSuperTypes="../model/general.ecore#//DescribableElement"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="hasProperty" upperBound="-1" | |
eType="#//Property" containment="true"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Property" eSuperTypes="../model/general.ecore#//NamedElement"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="datatype" eType="#//DataTypeKind"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="enumValues" upperBound="-1" | |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="unit" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EEnum" name="DataTypeKind"> | |
<eLiterals name="Enumeration"/> | |
<eLiterals name="String" value="1" literal="String"/> | |
<eLiterals name="Integer" value="2"/> | |
<eLiterals name="Float" value="3"/> | |
</eClassifiers> | |
</ecore:EPackage> |