Class NSLink

Links two entities (contacts/projects/sales/URLs) together.

Constructors

NSLink()

Initializes a new instance of the NSLink class.

Declaration

NSLink

Methods

GetDescription()

Declaration

String GetDescription()

Examples

NSLink thing;
String description = thing.GetDescription();

Returns

Type Description
String Link description.

GetEntityName()

Declaration

String GetEntityName()

Examples

NSLink thing;
String entityName = thing.GetEntityName();

Returns

Type Description
String Name of the entity the link points to (The destination/target entity).

GetExtraInfo()

Declaration

String GetExtraInfo()

Examples

NSLink thing;
String extraInfo = thing.GetExtraInfo();

Returns

Type Description
String Extrainfo for link. Use for information that does not have a primary key.

GetId()

Declaration

Integer GetId()

Examples

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

Returns

Type Description
Integer ID of the entity the link points to (The destination/target entity primary key).

GetLinkId()

Declaration

Integer GetLinkId()

Examples

NSLink thing;
Integer linkId = thing.GetLinkId();

Returns

Type Description
Integer Primary key.

SetDescription(String)

Declaration

Void SetDescription(String description)

Examples

NSLink thing;
String description;
thing.SetDescription(description);

Parameters

Type Name Description
String description Link description.

Returns

Type Description
Void

SetEntityName(String)

Declaration

Void SetEntityName(String entityName)

Examples

NSLink thing;
String entityName;
thing.SetEntityName(entityName);

Parameters

Type Name Description
String entityName Name of the entity the link points to (The destination/target entity).

Returns

Type Description
Void

SetExtraInfo(String)

Declaration

Void SetExtraInfo(String extraInfo)

Examples

NSLink thing;
String extraInfo;
thing.SetExtraInfo(extraInfo);

Parameters

Type Name Description
String extraInfo Extrainfo for link. Use for information that does not have a primary key.

Returns

Type Description
Void

SetId(Integer)

Declaration

Void SetId(Integer id)

Examples

NSLink thing;
Integer id;
thing.SetId(id);

Parameters

Type Name Description
Integer id ID of the entity the link points to (The destination/target entity primary key).

Returns

Type Description
Void

SetLinkId(Integer)

Declaration

Void SetLinkId(Integer linkId)

Examples

NSLink thing;
Integer linkId;
thing.SetLinkId(linkId);

Parameters

Type Name Description
Integer linkId Primary key.

Returns

Type Description
Void