JAVA/CORBA CLASSES


Name property
Example

Read-only. The name used to reference an object, object link, or file attachment.

Defined in

EmbeddedObject

Data type

Object of type java.lang.String

Syntax

public String getName()
   throws NotesException

Usage

If an object or object link does not have a name, this property returns an empty string.

If an object or object link was created using embedObject in RichTextItem, this property returns the name parameter specification. If the name parameter was not specified, this property is the same as the Source property.

If the embedded object or object link was created using the user interface, this property returns the name of the object as it appears in the user interface.

For file attachments, this property returns the name of the file unless the attachment is a duplicate. If the attachment is a duplicate, this property returns an internal name. (The Source property returns the file name in all cases.)

Language cross-reference

Name property in LotusScript NotesEmbeddedObject class

Example
See Also