5.2.4.1.3 The LNameComponent Interface
A name component consists of two attributes:
identifier
and kind
. The LNameComponent
interface defines the operations associated with these attributes,
as follows:
string get_id()
raises(NotSet);
void set_id(in string k);
string get_kind()
raises(NotSet);
void set_kind(in string k);
-
get_id
- The
get_id
operation returns theidentifier
attribute’s value. If the attribute has not been set, theNotSet
exception is raised. -
set_id
- The
set_id
operation sets theidentifier
attribute to the string argument. -
get_kind
- The
get_kind
operation returns thekind
attribute’s value. If the attribute has not been set, theNotSet
exception is raised. -
set_kind
- The
set_kind
operation sets thekind
attribute to the string argument.
Parent topic: Names Library Interface Pseudo OMG IDL