setNamedElement (OutlineEntry - Java)

Specifies a named element for an outline entry.

Defined in

OutlineEntry

Syntax

public boolean setNamedElement(Database db, String elementName, int entryClass)
     throws NotesException

Parameters

Database db

The database containing the named element.

String elementName

The name of a database element.

int entryClass

The entry class to be assigned to the database element. See getEntryClass for the legal values.

Return value

boolean

true if the named element is set successfully.

Usage

This method sets the outline entry type to OUTLINE_TYPE_NAMEDELEMENT and the entry class as specified.

Example