What is the connection type between two classes when one class is accessing another class's static method. I understand the aggregation and Composition but how to depict the static method call. Please help.
Thanks in Advance. Saurav
Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
What i have done in my class diagram is i have made the methods underlined to depict their static behaviour and i have kept the aggregation relationship but made the scope of the target role as a classifier I am using Enterprise architect. But is there way to depic the relationship between the two classes differently than the simple aggregation. Or the Concept of aggregation in UML well applies when a class accesses another class's static method. Please do reply.
Thanks in advance. Saurav
Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
I'd give it a generic association and call it a day. Composition doesn't seem right.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree with you Stan ........composition does not fit completely But i think aggreation or association doest fit either ideally. Because i am just getting the methods of a class. I am not instantiating a class here.
Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
If is just a dependency association, I wouldn't show it in the class diagram. Dependencies aren't useful at that level, they just add noise. The component diagram is better for that.
Originally posted by Gabriel Claramunt: they just add noise.
I have yet to encounter a UML tool that lets you depict models simply. For that you have to use a white board + digital camera (+ White Board Photo), and/or possibly a drawing program if you require "neat" pictures.