我有一个类似的界面:
public interface MyEntity {
//HIbernate version
public long getOptLock();
//these method are used to keep track of Last modified timestamp
public void update();
public void persist();
}
这是由我的对象模型中的大多数类实现的。现在,我知道如何显示 interface realisation在类图中。
问题是因为这个特定的接口(interface)是由大多数类实现的,它使类图变得困惑。是否有其他方法来显示界面实现?
最佳答案
关于UML图: How to show interface that is implemented by most of the Classes in my class diagram,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14724056/