My understanding is that an association exists between
2 classes when one class references the other, such as
via an instance variable. The reference is part of
the class definition.
A dependency between classes is used when no
association exists, but the arguments of an operation
in the 1st class includes the 2nd class as a
parameter. Clearly, a dependency is created since you
can't call the operation without knowing the 2nd class
definition, but the reference isn't an integral part
of the class definition.
I'm curious to know if anyone has a clearer
understanding.
--- [EMAIL PROTECTED] wrote:
>
>
> Hi, I am a Rose User.
>
> My problem is :
> when I should use the dependency and
> when I should use the association.
>
> Please tell me about the difference between the
> dependency and
> association.
>
> In the UML1.3 specfication, I wonder what the
> differnce is.
>
> Thanks.
>
>
>
************************************************************************
> * Rose Forum is a public venue for ideas and
> discussions.
> * For technical support, visit
> http://www.rational.com/support
> *
> * Admin.Subscription Requests:
> [EMAIL PROTECTED]
> * Archive of messages:
>
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *
> * To: [EMAIL PROTECTED]
> * Subject:<BLANK>
> * Body: unsubscribe rose_forum
> *
>
*************************************************************************
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************