class diagram question
From: Passero (yanongena_at_pandora.be)
Date: 12/19/03
- Next message: Ilja Preuß: "Re: looking for a word"
- Previous message: Jan Ploski: "Re: Applications of DBC"
- Next in thread: Daniel T.: "Re: class diagram question"
- Reply: Daniel T.: "Re: class diagram question"
- Reply: H. S. Lahman: "Re: class diagram question"
- Reply: Roger L. Cauvin: "Re: class diagram question"
- Reply: Uncle Bob (Robert C. Martin): "Re: class diagram question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 19 Dec 2003 12:04:51 GMT
When i have a class that uses a static method of another class, do i have to
draw a link between those classes in my class diagram or do I only need to
draw the link when i'm using an instance of a class in my class? Is it the
same when i parse an object of another class as a parameter but still don't
use it as an atribute?
In java it would be something like this:
public void myFunction()
{
Myclass.doMethod(aClassOfMine)
}
aClassOfMine is an instance of a self-written class and MyClass is another
class.
In MyClass i only use aClassOfMine in the method doMethod so do i have to
draw a link between the class that calls doMehod and MyClass and do i also
have to draw a link between MyClass and ClassOfMine ?
- Next message: Ilja Preuß: "Re: looking for a word"
- Previous message: Jan Ploski: "Re: Applications of DBC"
- Next in thread: Daniel T.: "Re: class diagram question"
- Reply: Daniel T.: "Re: class diagram question"
- Reply: H. S. Lahman: "Re: class diagram question"
- Reply: Roger L. Cauvin: "Re: class diagram question"
- Reply: Uncle Bob (Robert C. Martin): "Re: class diagram question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|