0
ecore模型編輯器不允許將類作爲子類添加到類中;這樣做手工在帶EMF/ecore的嵌套類
...
<eClassifiers xsi:type="ecore:EClass" name="Test_Class">
<eClassifiers xsi:type="ecore:EClass" name="Nested_Class"></eClassifiers>
...
結果
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'eClassifiers' not found. (platform:/resource/EMFTestProject/model/My.ecore, 5, 62)
是否有任何的方式來建模中的Ecore文件像嵌套類?