我使用纸莎草纸创建了一个类图,并且我有一个* .uml模型。现在我想通过编写一些Java代码来遍历* .uml元素。 我试过这段代码: URI uri = URI.createURI("*.uml");
ResourceSet set = new ResourceSetImpl();
set.getPackageRegistry().put(UMLPackage.eNS_URI, UMLP
我碰到下面的代码。它是一个有属性分配的接口。我了解接口只能用于声明方法。这样做的目的是什么? interface Literals {
/**
* The meta object literal for the '{@link bowling.impl.PlayerImpl <em>Player</em>}' class.
* <!-- begin-user-doc