Skip to content

Commit

Permalink
Bug 568195 - [Passage][Operator] unify issued licenses storage
Browse files Browse the repository at this point in the history
design EMF model for shipments

Signed-off-by: eparovyshnaya <elena.parovyshnaya@gmail.com>
  • Loading branch information
eparovyshnaya committed Apr 4, 2021
1 parent a61f9e7 commit aca7244
Showing 1 changed file with 24 additions and 0 deletions.
@@ -0,0 +1,24 @@
<?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="shipments" nsURI="http://www.eclipse.org/passage/lic/shipments/0.1.0"
nsPrefix="org.eclipse.passage.lic">
<eClassifiers xsi:type="ecore:EClass" name="Personal">
<eStructuralFeatures xsi:type="ecore:EReference" name="licenses" upperBound="-1"
eType="#//PersonalLicense" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Floating">
<eStructuralFeatures xsi:type="ecore:EReference" name="licenses" upperBound="-1"
eType="#//FloatingLicense" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PersonalLicense">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="user" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="license" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FloatingLicense">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="company" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="license" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>

0 comments on commit aca7244

Please sign in to comment.