Extending Notes classes in Java

Hi,

I am trying to extend the Notes Document class in Java

ie class Memo extends Document throws NotesException{

}

but I am having problems getting it working. I have read somewhere on this forus that the Notes classes don’t support inheritence. Is this correct? Or am I just mis-guided in my adventures :wink:

Thanks in advance

Nigel

Subject: Extending Notes classes in Java

I’m a newbie at this, but . . .

There seems to be a difference in the way the type Document is implemented in the various libraries. I haven’t yet understood why there are three libraries: lotus.domino, lotus.domino.local and lotus.notes. (If anyone can help me with this, that would be great!)

In lotus.domino, it’s an interface.

In lotus.domino.local, it’s a class

In lotus.notes, it’s a class.

The classes aren’t defined as final, so inheritance is allowed, and you can implement the interface.

I know that the Notes classes don’t support inheritance in the Lotusscript environment.

HTH.

Subject: RE: Extending Notes classes in Java

Thanks Simon. I didn’t realise that it was implemented in 3 libraries. Perhaps I am using the wrong one. I will take a look.

Cheers