• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Domain model for SCEA part 2

 
Dariusz Skrudlik
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my model domain I found relation

A 1-1 B
A 1-* C
B *-* C

Is this possible in real ?
 
Yegor Bugayenko
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not?

Employee "works in" Department
Employee "contributes to" Project
Department "is related to" Project

Pay attention that association IS NOT aggregation or composition.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Always remember that you should not make any modifications in BDM.
If you are making some changes(very little)-you should provide reasonable justifications. One should not change the problem altogether.
 
Dariusz Skrudlik
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yegor Bugayenko wrote:Why not?

Employee "works in" Department
Employee "contributes to" Project
Department "is related to" Project

Pay attention that association IS NOT aggregation or composition.


1 - 1 : Employee "works in" Department -> Departmen has only one worker !!!

Relation 1 .. 1 means that I can think about related class as one e.g D
then I get ambiguous relation
D 1-* C
D *-* C

Yes or not ?




 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then I get ambiguous relation
D 1-* C
D *-* C

Yes or not ?

Relationship between D to C could be either
1 to many (1-*) or
many to many(* - *) but not both.


 
Dariusz Skrudlik
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sharma Ashutosh wrote:
then I get ambiguous relation
D 1-* C
D *-* C

Yes or not ?

Relationship between D to C could be either
1 to many (1-*) or
many to many(* - *) but not both.




This mean that my domain model from assignment is wrong !
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your assignment? There are very less chances that for C and D - you are seeing multiple relationships.
 
Dariusz Skrudlik
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A 1-1 B
A 1-* C
B *-* C

When I think about A and B as one class e.g. D (because there is relation 1 - 1)
I can write it as
D 1-* C
D *-* C

According class name from my assignment relation between A and B should be
A 1 - * B
Can I change my domain model and add explanation for it ?
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am bit confused what are you doing and why you are doing? Can't visualize what are you talking about.
 
Antoni Mysliborski
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it maybe "Utility International" assignment? I have similar problem, and those relations don't make too much sense for me. I believe it should be:
Customer 1 - * Bill
Customer 1 - * Payment
Payment 1 - * Bill

Can we safely change it? How did you do finally?
 
Vijaykumar Dixit
Ranch Hand
Posts: 32
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen this problem in real projects many times that business analysts come up with doamin model and they are to be treated always as analysis level (i.e. logical domain model) which explain business requirements.

But solution/design level domain model (physical doamin model) can have subtle differences and not necessarily be identical to logical one.

Correct me if I am wrong. What do other chaps think?
 
Dariusz Skrudlik
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally I decided to change domain model. In the diagram I put a description why I did this - my change extends original domain model (domain assumptions were still met).

After 8 week, I passed
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats for passing.
Whatever changes you are doing in BDM-you should provide documentation for it in a logical manner.
 
Ishita Gupta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dariusz,
Congrats for passing.

You said you had modified the domain model, did that mean that you had added the updated domain model diagram as a part of your submission or just added a point in assumptions set ?

This will help me decide on my assignment too.

Thanks in advance,
Ishita
 
Vijaykumar Dixit
Ranch Hand
Posts: 32
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ishita Gupta wrote:You said you had modified the domain model, did that mean that you had added the updated domain model diagram as a part of your submission or just added a point in assumptions set ?

This will help me decide on my assignment too.

Thanks in advance,
Ishita


I updated my domain model slightly and added it submission under the class diagrams I had created. I called it Physical domain model.

Mind you I am still waiting for the results
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic