Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Implementation of interface

2 views
Skip to first unread message

leon

unread,
Jul 17, 2004, 12:08:13 AM7/17/04
to
hello:

I'm drawing the class diagram in TJB6.1 .
The code below is generated automatically when I drag the link called
'Generalization/Implementation'
from 'Class1' to 'IDataAccessObject'

public interface IDataAccessObject {
String GetData();
}

public class Class1 implements IDataAccessObject {
}

My question is why TJB doesn't generate the method 'GetData()' in
'Class1' for me ?

your help is

ElenaA

unread,
Jul 19, 2004, 4:36:58 AM7/19/04
to
you can add stubs for all methods found in interfaces your class implements
by aplying Stub Implementation to it.

"leon" <leon...@163.com> wrote in message
news:40f8a5bf$1...@newsgroups.borland.com...

leon

unread,
Aug 6, 2004, 10:28:39 AM8/6/04
to
I dont' know how to "apply stub implementation to it".
I found nothing about "stub" in all menus include properties window.
Could you tell me? thank you!

This function is automatically occurred in visio 2002. it's very convenient
"ElenaA" <Elena.A...@borland.com> wrote in message
news:40fb882b$1...@newsgroups.borland.com...

0 new messages