I've given my comments below: -
--Nithyanandham
> -----Original Message-----
> From: qazmlp0912 [mailto:[EMAIL PROTECTED]]
>
> Really I'm confused about the usage of the UML notations.
> Can you clarify them?
> Here are my questions: -
>
> IN CLASS DIAGRAMS,
>
> 1.The Generalization notation "--------|>" is used
> to show the inheritance relationship between the base and
> derived classes.
> Can this notation be used to show some other relations?
No.
> 2. I feel that there are redundancies in the UML notations.
There were few. But, they were removed in the latest UML specification.
> For eg. Can "Association and extend_stereotype" notation
> be used instead of the "Generalization" notation given in 1. ?
Association implies an instance relationship where the contained instance
will be called upon to do things by the container. Stereo types are to
understand your diagrams.
"Generalization" can be used to understand the system.
1.Generalization notation is to understand the system.
Eg: -
When you give "Generalization" notation like this:
A--------|> B , Rose 'll generate the code correctly
Class A:public B
{
} ;
That means it affects the actual system.
2.
<<extend>>
---------->
whatever is shown as "<<____>>" is called stereotype. This is just
for our purpose to understand the Diagram(and NOT intended to understand the
system).
Eg:
<<extend>>
When you use the "A----------> B", Rose won't generate the code
as
Class A:public B
{
} ;
That means the stereotype notations are just for ourselves to understand the
diagrams.
> 3. What exactly are stereotypes used for?
see above.
> 4. Where exactly will you use "Association" notation and
> "Dependency or instantiates" notation?
Association- to show the contained relationship.
Dependency - to show the looser relationship which may or may not give the
impact.
>
> Really I need very clear explanations for my questions.
>
I hope I have given the required.
--
Nithyanandham.
Siemens, Bangalore, India.
Opinions expressed are my own and do not reflect the opinions of my
employer,
SIEMENS)
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
* http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
* To: [EMAIL PROTECTED]
* Subject: <BLANK>
* Body: unsubscribe rose_forum
*************************************************************************