FIX: Fixed the broken attribute generation. Until now all ExtractedAttributes were generated to EAttributes. But to generate code from an Ecore metamodel, all attributes  that have an EClass as EType have to be generated as EReference (EReference has an EClass, EAttribute has an EDataType).
FIX: Fixed the broken attribute generation. Until now all ExtractedAttributes were generated to EAttributes. But to generate code from an Ecore metamodel, all attributes  that have an EClass as EType have to be generated as EReference (EReference has an EClass, EAttribute has an EDataType).

tsaglam/EcoreMetamodelExtraction