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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -