IBM RSA/Eclipse UML 插件组件图中所需的接口
我有一个界面。一个组件提供此接口,另一个组件需要此接口。 我无法在 IBM Rational Software Architect 中表示它。
在提供它的组件中(包含一个接口实现的类),我添加了一个端口并选择了实现该接口的类。
在需要它的组件(包含接口定义)中,我添加了一个端口并选择了接口。
结果是正确的,但是有一个自动创建的Class3我认为是错误的。
因此,我将 Class3 更改为接口定义,RSA 将所需接口更改为提供的接口。
我该如何正确建模?我在 RSA 文档中找不到。
谢谢!
I have a interface. One component provide this interface, and another require this interface.
I can't represent it in IBM Rational Software Architect.
In the component that provide it (contains a class that is the interface realization), I added a port and selected the Class that realizes that interface.
In the component that requires it (contains the interface definition), I added a port and selected the Interface.
The result is correct, but there is a Class3 automatically created that I think is wrong.
So, I changed the Class3 to the Interface definition,and the RSA changes the required interface to provided interface.
How can I model this correct? I can't find on RSA docs.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了文档。
我不需要添加端口。
我只需要拖放组件中的接口,选择提供或所需的区域。
I found the documentation.
I don't need to add Port.
I just need to drag and drop the interfaces in the component, choosing the provided or required area.