Class NSCategory

Carrier object for Category.

Constructors

NSCategory()

Initializes a new instance of the NSCategory class.

Declaration

NSCategory

Methods

GetId()

Gets the primary key (ID) for the NSCategory.

Declaration

Integer GetId()

Examples

NSCategory thing;
Integer id = thing.GetId();

Returns

Type Description
Integer

GetTooltip()

Gets the tooltip description for the NSCategory list item.

Declaration

String GetTooltip()

Examples

NSCategory thing;
String descr = thing.GetTooltip();

Returns

Type Description
String

GetValue()

Gets the name of the NSCategory.

Declaration

String GetValue()

Examples

NSCategory thing;
String name = thing.GetValue();

Returns

Type Description
String

SetId(Integer)

Sets the primary key (ID) for the NSCategory

Declaration

Void SetId(Integer id)

Examples

NSCategory thing;
thing.SetId(123);

Parameters

Type Name Description
Integer id

Returns

Type Description
Void

SetTooltip(String)

Sets the tooltip description for the NSCategory list item.

Declaration

Void SetTooltip(String tooltip)

Examples

NSCategory thing;
String descr = "something new";
thing.SetTooltip(descr);

Parameters

Type Name Description
String tooltip

Returns

Type Description
Void

SetValue(String)

Sets the name of the NSCategory item.

Declaration

Void SetValue(String value)

Examples

NSCategory thing;
thing.SetValue("frotz");

Parameters

Type Name Description
String value

Returns

Type Description
Void