如何设计一个非面向对象的UML类图? [英] How to design an UML class diagramm with non object oriented parts?

查看:154
本文介绍了如何设计一个非面向对象的UML类图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ABAP中编码,并实现了一个模板方法模式。我喜欢为此绘制一些UML类图。在UML中为这个类做的没有问题。但是我的课程是在一个功能模块(SAP特定术语)中实现的,它就像一个独立的方法,用于使实现可用于远程过程调用。



那么在一个图表中获得非oo函数modo和oo类的最佳可能性是什么?有任何想法吗?



编辑:是否允许混合组件和类图?

解决方案

p>使用一个(静态)方法将每个函数视为一个类?


i´m coding in ABAP and implemented a template method pattern. I like to draw some UML class diagramm for this. To do this in UML for the classes is no problem. But my class is implemented in a function modul (SAP specific terms), its like an stand alone method which i use to make the implementation available to an Remote Procedure Call.

So whats the best possibility to get the non oo function modul and the oo classes in one diagramm. Any ideas?

EDIT: Is it allowed to mix component and class diagrams?

解决方案

Treat the/each function as a class with one (static) method?

这篇关于如何设计一个非面向对象的UML类图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆