How do I indicate static methods within a UML class diagram?

jim conallen

Simply preface the method with a dollar sign ($). For example:

$ GetInstance() : MyObject

Indicates a method called GetInstance that accepts no arguments and returns an object of type MyObject. The dollar sign identifies it as a static method.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact