|
Assuming you are using Java. Here is my take on
this:
1) You
have a base class, say B and a derived class, say D.
2)
Like Ajit said, you could see the base class operations in the Operations tab of
the class D specification with the checkbox "Show Inherited" checked
on.
This
is correct, since from D you could get to any of the operations in B.
However, that does not necessarily mean that it should display the operations of
B in D either in the Browser View or in the Class Diagram. These
operations are not part of D except that you could use them in
D.
So, if
you want to change the implementation of any of these operations in D, you want
the skeleton code of these operations to be placed in the D.java file. To
do this, you would have to add the operation explicitly in D with the same
signature as in B.
3) On
the other hand, you have these operations in B and each of those operations have
the generic functionality. And you would always want to override the
implementation of these operations in the derived class. Then, you would
want to make those operations abstract as well as the class abstract. If
you do that Rose will show the operations in the Derived class
also.
For
example in either Rose 2001 or Rose 2001A, follow these steps to do
this:
1)
Create a Base class -> B.
2)
Make the B an abstract class.
3)
Create an operation/method in B -> op1().
4)
Make the op1() as an abstract operation/method.
5)
Create a class -> D.
6)
Have D derive from B.
7)
Generate the code for D.
8)
Now, you should see the op1() displayed in the class D.
Hope
that helps and if I am totally off the track, I apologize.
--Sonny
-----Original Message-----
From: Chandran, Ajit [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 6:07 AM To: 'Kumar'; Rational Subject: (ROSE) RE:
|
- (ROSE) RE: Nallamilli, Surya
- Re: (ROSE) RE: Rudy Zulkarnain
- (ROSE) RE: Mirza, Misbah
- (ROSE) RE: Ahmed, Khawar
- (ROSE) RE: Maksimchuk, Robert
- (ROSE) RE: Deznjak Wokysky
- (ROSE) RE: Dunnavant, Todd
- (ROSE) RE: Gornik, Davor
- (ROSE) RE: Chandran, Ajit
- RE: (ROSE) RE: Nallamilli, Surya
- RE: (ROSE) RE: Naidu Yelisetty
- (ROSE) RE: Rothmeier, Jeff
- (ROSE) Re: Yinghai Lu
- (ROSE) RE: Kelly, Stephen
- RE: (ROSE) RE: balachandra
- (ROSE) RE: Hsia, John
- (ROSE) RE: Viswanathan, Annamalai
- RE: (ROSE) Re: Stretcher, Nansi
- RE: (ROSE) Re: Styve, Arne
- RE: (ROSE) Re: Stretcher, Nansi
