• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

multiplicity rep in class diagrams

 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic