Class NSDepartment
Also known as User Group.
Syntax
Constructors
NSDepartment()
Initializes a new instance of the NSDepartment class.
Declaration
Methods
GetId()
Gets the primary key (ID) for the Department
Declaration
Returns
Examples
NSDepartment thing;
Integer id = thing.GetId();
Gets the tooltip description for the Department list item.
Declaration
Returns
NSDepartment thing;
String descr = thing.GetTooltip();
GetValue()
Gets the name of the Department.
Declaration
Returns
Examples
NSDepartment thing;
String name = thing.GetValue();
SetId(Integer)
Sets the primary key (ID) for the Department
Declaration
Parameters
Returns
Examples
NSDepartment thing;
thing.SetId(123);
Sets the tooltip description for the Department list item.
Declaration
Void SetTooltip(String tooltip)
Parameters
Type |
Name |
Description |
String |
tooltip |
|
Returns
NSDepartment thing;
String descr = "something new";
thing.SetTooltip(descr);
SetValue(String)
Sets the name of the Department item.
Declaration
Void SetValue(String value)
Parameters
Type |
Name |
Description |
String |
value |
|
Returns
Examples
NSDepartment thing;
thing.SetValue("frotz");