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