• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiplicity rep in class diagrams

 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For SLSB which access an object for different customer session what would the multiplicity relation be in general..

SLSB (1..n)---->SessionObject(1..n)

SLSB(1..n) becuase its pooled by the container or should it be only "1".

About the session objects (1) .

Any pointers.
Thanks
Dhiren
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are u planning to depict this multiplicity?

As far as I have read in this forum is people draw tech independent Class diagrams.

and I don't think multiplicity is needed in component diagrams.
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are u planning to depict this multiplicity?

As far as I have read in this forum is people draw tech independent Class diagrams.

and I don't think multiplicity is needed in component diagrams.

I am depicting in class diagram.
the sesisonObject is nfact the customer business object and an AccountManager is the SLSB.

Depicting some SLSB in class diagram.

Thanks
Dhiren
 
Parag Doshi
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dhiren Joshi:

I am depicting in class diagram.
the sesisonObject is nfact the customer business object and an AccountManager is the SLSB.

Depicting some SLSB in class diagram.

Thanks
Dhiren


Dhiren,
If you want to depict that relationship in class diagram then why dont you use 'uses' relationship rather than association?

You can show that the AccountManager 'uses' Customer.

HTH
Parag
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Parag,
I am not sure how to depict the uses relation ship in UML. Is it the dependency links ?
Thanks
Dhiren
 
Parag Doshi
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dhiren Joshi:
Parag,
I am not sure how to depict the uses relation ship in UML. Is it the dependency links ?
Thanks
Dhiren


Yes, its the dependency link ( ---> ). You could also add a note on the dependency link saying 'uses', just to emphasis the relationship.

Parag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic