简体   繁体   中英

What's a dashed line between two classes in UML?

The image bellow illustrates a data model of multiple if we could say java classes. I am familliar with all the other type of arrows except the dashed line marked with red pencil in the image .

在此处输入图片说明

Simply: nonsense. At least no valid UML. It might be a dependency but then it misses the arrow to show which depends on what.

Further

  • the * name label is meaningless.
  • The filled arrows are wrong since they are reserved for the extends relation used to define stereotypes.
  • That dashed line bottom right is invalid as well.

My advice: throw that book where you got that from as far as possible.

qwerty_so gave you an answer related to UML.

In case you are wondering about the technical details of the relationship between BaseStore and CMSSite in Hybris, it's many-to-many.

In UML that dashed line is an anchor, it has no special/strong meaning

A typical/standard use of an anchor is between an element and a note, helping to say the note concerns that element and not an other close to it

In your case its use is obscur, and it is more with the label * as already said

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM