通信图或系统序列图中的接口描述?

Interface depictions in communication diagram or System sequence diagram?

我正在四处寻找一个简单的示例描述,如果 class 教授和 Class 学生都在 Class 人中实施和接口 [=19] =]通讯图或系统时序图.

我认为它被描绘成这样一个 class 图:

但我很好奇是否可以用通信图系统时序图来描述?

您可以在任何图表类型中显示任何内容。引用 p。 UML 2.5 的 683:

NOTE. This taxonomy provides a logical organization for the various major kinds of diagrams. However, it does not preclude mixing different kinds of diagram types, as one might do when one combines structural and behavioral elements (e.g., showing a state machine nested inside an internal structure). Consequently, the boundaries between the various kinds of diagram types are not strictly enforced.

我想,这已经很清楚了。