Class NSResourceEntity

The resource entity contains resource information.

Constructors

NSResourceEntity()

Initializes a new instance of the NSResourceEntity class.

Declaration

NSResourceEntity

Methods

GetDeleted()

Declaration

Bool GetDeleted()

Examples

NSResourceEntity thing;
Bool deleted = thing.GetDeleted();

Returns

Type Description
Bool If true, the resource is deleted.

GetIsLocation()

Declaration

Bool GetIsLocation()

Examples

NSResourceEntity thing;
Bool isLocation = thing.GetIsLocation();

Returns

Type Description
Bool If true the resource is a location.

GetLocationAddress()

Declaration

String GetLocationAddress()

Examples

NSResourceEntity thing;
String locationAddress = thing.GetLocationAddress();

Returns

Type Description
String Address of location, if this is a resource that is a location.

GetName()

Declaration

String GetName()

Examples

NSResourceEntity thing;
String name = thing.GetName();

Returns

Type Description
String Initials, also login name, possibly database user name.

GetRank()

Declaration

Integer GetRank()

Examples

NSResourceEntity thing;
Integer rank = thing.GetRank();

Returns

Type Description
Integer Rank order.

GetResourceId()

Declaration

Integer GetResourceId()

Examples

NSResourceEntity thing;
Integer resourceId = thing.GetResourceId();

Returns

Type Description
Integer Primary key.

GetTooltip()

Declaration

String GetTooltip()

Examples

NSResourceEntity thing;
String tooltip = thing.GetTooltip();

Returns

Type Description
String Tooltip or other description.

SetDeleted(Bool)

Declaration

Void SetDeleted(Bool deleted)

Examples

NSResourceEntity thing;
Bool deleted;
thing.SetDeleted(deleted);

Parameters

Type Name Description
Bool deleted If true, the resource is deleted.

Returns

Type Description
Void

SetIsLocation(Bool)

Declaration

Void SetIsLocation(Bool isLocation)

Examples

NSResourceEntity thing;
Bool isLocation;
thing.SetIsLocation(isLocation);

Parameters

Type Name Description
Bool isLocation If true the resource is a location.

Returns

Type Description
Void

SetLocationAddress(String)

Declaration

Void SetLocationAddress(String locationAddress)

Examples

NSResourceEntity thing;
String locationAddress;
thing.SetLocationAddress(locationAddress);

Parameters

Type Name Description
String locationAddress Address of location, if this is a resource that is a location.

Returns

Type Description
Void

SetName(String)

Declaration

Void SetName(String name)

Examples

NSResourceEntity thing;
String name;
thing.SetName(name);

Parameters

Type Name Description
String name Initials, also login name, possibly database user name.

Returns

Type Description
Void

SetRank(Integer)

Declaration

Void SetRank(Integer rank)

Examples

NSResourceEntity thing;
Integer rank;
thing.SetRank(rank);

Parameters

Type Name Description
Integer rank Rank order.

Returns

Type Description
Void

SetResourceId(Integer)

Declaration

Void SetResourceId(Integer resourceId)

Examples

NSResourceEntity thing;
Integer resourceId;
thing.SetResourceId(resourceId);

Parameters

Type Name Description
Integer resourceId Primary key.

Returns

Type Description
Void

SetTooltip(String)

Declaration

Void SetTooltip(String tooltip)

Examples

NSResourceEntity thing;
String tooltip;
thing.SetTooltip(tooltip);

Parameters

Type Name Description
String tooltip Tooltip or other description.

Returns

Type Description
Void