import-bot (20211) [Avatar] Offline
#1
[Originally posted by tguiheen]

Hi Tony,

Is there a Java equivalent to the Lotusscript "Extended class" syntax

eg t = lastDoc.GetItemValue( "Topic" )
t = lastDoc.Topic

How can I set and check item values on a document?

Thanks
Tony
import-bot (20211) [Avatar] Offline
#2
Re: "Extended class" syntax
[Originally posted by aspatton]

I apologize for the delay, but I overlooked your posting.

No, there is no equivalent. The appropriate method should be used on the
Document object ...

doc.getItemValueString("fieldname")

or

doc.getItemValueDouble ..... and so forth.

Tony.