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