• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

static relations in UML

 
Patrick Cogan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a little confused as to exactly how to model various static relations between two classes in a class diagram. How would you model the following?

  • How do you model the relation between two classes where one class is a static variable? (instance variables modelled using associations)
  • How do you model the relation between two classes when one of the classes is declared and used inside a static method - e.g a main method?
  • Not really to do with anything static, but how do you model the relation between two classes when one of the classes is declared and used inside an instance method or as a method parameter.



  • Thanks,

    Patrick.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic