UML Class Diagram Java - what relationship connects package and class

user3385945

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

Bruce

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related