문제

What relationship we use to connect class and package for a class diagram? I'm using Power Designer tool.

도움이 되었습니까?

해결책

Packages can include classes, so while this is not standard, I suppose you could use a composition relationship with a bunch of classes connected to a package with solid arrow lines, but this is not common. It is more customary to see a list of classes within the package element itself. Enterprise Architect does this and it is quite clear.

Note that a package is often implemented as a namespace. The package includes classes that belong in the namespace.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top