Show / Hide Table of Contents

Class NSResourceEntity

The resource entity contains resource information.

Syntax

Constructors

NSResourceEntity()

Initializes a new instance of the NSResourceEntity class.

Introduced or updated in version: 7.5

Declaration
NSResourceEntity

Methods

GetDeleted()

Introduced or updated in version: 7.5

Declaration
Bool GetDeleted()
Returns
Type Description
Bool

If true, the resource is deleted.

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

GetIsLocation()

Introduced or updated in version: 7.5

Declaration
Bool GetIsLocation()
Returns
Type Description
Bool

If true the resource is a location.

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

GetLocationAddress()

Introduced or updated in version: 7.5

Declaration
String GetLocationAddress()
Returns
Type Description
String

Address of location, if this is a resource that is a location.

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

GetName()

Introduced or updated in version: 7.5

Declaration
String GetName()
Returns
Type Description
String

Initials, also login name, possibly database user name.

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

GetRank()

Introduced or updated in version: 7.5

Declaration
Integer GetRank()
Returns
Type Description
Integer

Rank order.

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

GetResourceId()

Introduced or updated in version: 7.5

Declaration
Integer GetResourceId()
Returns
Type Description
Integer

Primary key.

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

GetTooltip()

Introduced or updated in version: 7.5

Declaration
String GetTooltip()
Returns
Type Description
String

Tooltip or other description.

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

SetDeleted(Bool)

Introduced or updated in version: 7.5

Declaration
Void SetDeleted(Bool deleted)
Parameters
Type Name Description
Bool deleted

If true, the resource is deleted.

Returns
Type Description
Void
Examples
NSResourceEntity thing;
Bool deleted;
thing.SetDeleted(deleted);

SetIsLocation(Bool)

Introduced or updated in version: 7.5

Declaration
Void SetIsLocation(Bool isLocation)
Parameters
Type Name Description
Bool isLocation

If true the resource is a location.

Returns
Type Description
Void
Examples
NSResourceEntity thing;
Bool isLocation;
thing.SetIsLocation(isLocation);

SetLocationAddress(String)

Introduced or updated in version: 7.5

Declaration
Void SetLocationAddress(String locationAddress)
Parameters
Type Name Description
String locationAddress

Address of location, if this is a resource that is a location.

Returns
Type Description
Void
Examples
NSResourceEntity thing;
String locationAddress;
thing.SetLocationAddress(locationAddress);

SetName(String)

Introduced or updated in version: 7.5

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Initials, also login name, possibly database user name.

Returns
Type Description
Void
Examples
NSResourceEntity thing;
String name;
thing.SetName(name);

SetRank(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetRank(Integer rank)
Parameters
Type Name Description
Integer rank

Rank order.

Returns
Type Description
Void
Examples
NSResourceEntity thing;
Integer rank;
thing.SetRank(rank);

SetResourceId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetResourceId(Integer resourceId)
Parameters
Type Name Description
Integer resourceId

Primary key.

Returns
Type Description
Void
Examples
NSResourceEntity thing;
Integer resourceId;
thing.SetResourceId(resourceId);

SetTooltip(String)

Introduced or updated in version: 7.5

Declaration
Void SetTooltip(String tooltip)
Parameters
Type Name Description
String tooltip

Tooltip or other description.

Returns
Type Description
Void
Examples
NSResourceEntity thing;
String tooltip;
thing.SetTooltip(tooltip);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top