Show / Hide Table of Contents

Class NSResourceEntity

The resource entity contains resource information.

Syntax

Constructors

NSResourceEntity()

Initializes a new instance of the NSResourceEntity class.

Declaration
NSResourceEntity

Methods

GetDeleted()

The resource entity contains resource information.

Declaration
Bool GetDeleted()
Returns
Type Description
Bool

If true, the resource is deleted.

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

GetIsLocation()

The resource entity contains resource information.

Declaration
Bool GetIsLocation()
Returns
Type Description
Bool

If true the resource is a location.

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

GetLocationAddress()

The resource entity contains resource information.

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()

The resource entity contains resource information.

Declaration
String GetName()
Returns
Type Description
String

Initials, also login name, possibly database user name.

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

GetRank()

The resource entity contains resource information.

Declaration
Integer GetRank()
Returns
Type Description
Integer

Rank order.

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

GetResourceId()

The resource entity contains resource information.

Declaration
Integer GetResourceId()
Returns
Type Description
Integer

Primary key.

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

GetTooltip()

The resource entity contains resource information.

Declaration
String GetTooltip()
Returns
Type Description
String

Tooltip or other description.

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

SetDeleted(Bool)

The resource entity contains resource information.

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)

The resource entity contains resource information.

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)

The resource entity contains resource information.

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)

The resource entity contains resource information.

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)

The resource entity contains resource information.

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)

The resource entity contains resource information.

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)

The resource entity contains resource information.

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);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top