mauvaisetroupe / ea-design-it

EADesignIt is lightweight Enterprise Architecture tool that allows to create transparency on your assets
https://architech.lu/ea-design-it/
10 stars 3 forks source link

Add Many-to-Many Relationship Between Data Objects and Business Objects #142

Open bcler opened 10 months ago

bcler commented 10 months ago

Description Currently, a Data Object (DO) can be linked only to one Business Object (BO). However, some applications use the same data object to model multiple Business Objects.

In the example below, we have a Party BO that is specialised by a Customer BO and a Prospect BO. In Salesforce, both BOs are implemented via the Account DO.

image

To represent this, we have to create the Account DO twice.

Requested change

mauvaisetroupe commented 10 months ago

The purpose of the Golden Sources and Replicas Data Objects Viewpoints is to document where are golden and replicas in the company.

In the current implementation, each 'database' symbol represents a DataObject, but could be seen as the representation of the SINGLE associated BusinessObject. In your exemple, we could have

  1. a golden source symbol for Party (Business Partner)
  2. a replica symbol for Account (Prospect)
  3. a replica symbol for Account (Client)

With the new many-to-many relationship, what do you think should be drawn on the diagram? And what we should write in the legend ?

mauvaisetroupe commented 10 months ago

Modeling schema

Current (one2many)

image

To Be (many2many)

image

Golden Source viewpoint

Current (one2many)

image

To Be (many2many)

image

mauvaisetroupe commented 10 months ago

Alternative discussed with @jiujiu

image

Could allow in the legend to group all DO by BO