How to represent a static relationship in an UML class diagram -


i'm having trouble finding answer how represent relationship between 2 classes , b, instance of static (class scope) variable in b. example:

class {  }  class b {     static a; } 

i'm not sure if regular association or dependency (or else?).

one idea use stereotype on role name of in relationship, have never seen done. , since understand 'rule' not use both attribute , relationship represent same member can't either underline attribute called 'a' (since rather want model contents of class a).

just use stereotype <<static>> model static relationships or attributes


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -