How Astah converts relationships in UML Class relationships to ones in ERD

I created a class model, with associations including multiplicities.  I then generated the ERD from this model, and instead of it copying the multiplicities, it made all the associations many to many – any suggestions on how I could make that work?

This is a question we’ve received from our customer:
Well, we’re sorry that this rule is not clear when generating ER Diagram from existing Class Diagram from [Tools] – [ER Diagram] – [Convert UML Models to ER Models] menu. Here’s the current mapping rule how Astah converts UML relationships to Identifying Relationship and Non-Identifying Relationship based on multiplicities -> the key is to add stereotypes to relationships.

 

Compositions are always converted to Identifying relationship

compositions-erd.png

 

Relationships with “Identifying” stereotype with one-to-many relation specified by multiplicities are converted to Identifying relationship

cls-stereotype-relationship.png

 

Relationships with Non-Identifying stereotype with one-to-many relation specified by multiplicities are converted to Non-Identifying relationship

non-identify-relationship.png

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s