Differences between a conceptual UML class diagram and an ERD?

前端 未结 6 1247
误落风尘
误落风尘 2020-12-05 03:11

If I create a conceptual class diagram such that each class captures \'name\' and \'attributes\' but not \'operations\', have I not basically created what would be otherwise

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 04:01

    The ER diagrams I've seen (most frequently ERWin IE notation) have focused on the design for a database. They are concerned with primary keys, foreign keys, have unnamed relationships, and usually have no generalization / specialization.

    A good UML conceptual class diagram, on the other hand, is not concerned with keys, reflects the problem domain, and has association-end properties that at least hint at the semantics of why things are related. This helps communicate the domain down to more junior developers so they don't have to guess.

提交回复
热议问题