google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Ecore doesn't generate multiple interfaces #455

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
interface Ione
{}
interface Itwo
{}
class A
{
  isA Ione, Itwo;
}
with above ump to generate ECore

What is the expected output? 
<?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="MultipleInterfaces" 
nsURI="MultipleInterfaces" nsPrefix="MultipleInterfaces">
  <eClassifiers xsi:type="ecore:EDataType" name="Time" instanceClassName="java.sql.Time"/>
  <eClassifiers xsi:type="ecore:EClass" name="Ione" interface="true" abstract="true">
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Itwo" interface="true" abstract="true">
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="A" eSuperTypes="#//Ione #//Itwo">
  </eClassifiers>
</ecore:EPackage>

What do you see instead?
<?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="model" nsURI="model" 
nsPrefix="model">
  <eClassifiers xsi:type="ecore:EDataType" name="Time" instanceClassName="java.sql.Time"/>
  <eClassifiers xsi:type="ecore:EClass" name="Ione" interface="true" abstract="true">
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="A" eSuperTypes="#//Ione">
  </eClassifiers>
</ecore:EPackage>

Additional information
Inferface Itwo is missing!

Original issue reported on code.google.com by Tianyuan...@gmail.com on 15 Nov 2013 at 2:21

GoogleCodeExporter commented 9 years ago
fix in r3199...

Original comment by Tianyuan...@gmail.com on 15 Nov 2013 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 9 Dec 2013 at 2:01