Show / Hide Table of Contents

Class NSContactRelationEntity

Relationship between a (contact/person) and another (contact/person), as described by the RelationDefinition.

Syntax

Constructors

NSContactRelationEntity()

Initializes a new instance of the NSContactRelationEntity class.

Introduced or updated in version: 7

Declaration
NSContactRelationEntity

Methods

GetActiveText()

Introduced or updated in version: 7

Declaration
String GetActiveText()
Returns
Type Description
String

Active text for the relation.

Examples
NSContactRelationEntity thing;
String activeText = thing.GetActiveText();

GetComment()

Introduced or updated in version: 7

Declaration
String GetComment()
Returns
Type Description
String

Comment for relation.

Examples
NSContactRelationEntity thing;
String comment = thing.GetComment();

GetCreatedBy()

Introduced or updated in version: 7

Declaration
NSAssociate GetCreatedBy()
Returns
Type Description
NSAssociate
Examples
NSContactRelationEntity thing;
NSAssociate createdBy = thing.GetCreatedBy();

GetCreatedDate()

Introduced or updated in version: 7

Declaration
DateTime GetCreatedDate()
Returns
Type Description
DateTime

Registered when.

Examples
NSContactRelationEntity thing;
DateTime createdDate = thing.GetCreatedDate();

GetDestinationContactId()

Introduced or updated in version: 7

Declaration
Integer GetDestinationContactId()
Returns
Type Description
Integer

ID of the destination contact. The value is mandatory.

Examples
NSContactRelationEntity thing;
Integer destinationContactId = thing.GetDestinationContactId();

GetDestinationContactName()

Introduced or updated in version: 7

Declaration
String GetDestinationContactName()
Returns
Type Description
String

Name of the destination contact.

Examples
NSContactRelationEntity thing;
String destinationContactName = thing.GetDestinationContactName();

GetDestinationPersonId()

Introduced or updated in version: 7

Declaration
Integer GetDestinationPersonId()
Returns
Type Description
Integer

ID of the destination person. The value is not mandatory. The person must belong to the destination contact.

Examples
NSContactRelationEntity thing;
Integer destinationPersonId = thing.GetDestinationPersonId();

GetDestinationPersonName()

Introduced or updated in version: 7

Declaration
String GetDestinationPersonName()
Returns
Type Description
String

Name of the destination person.

Examples
NSContactRelationEntity thing;
String destinationPersonName = thing.GetDestinationPersonName();

GetPassiveText()

Introduced or updated in version: 7

Declaration
String GetPassiveText()
Returns
Type Description
String

Passive text for the relation.

Examples
NSContactRelationEntity thing;
String passiveText = thing.GetPassiveText();

GetRelationDefinitionId()

Introduced or updated in version: 7

Declaration
Integer GetRelationDefinitionId()
Returns
Type Description
Integer

Reference to definition.

Examples
NSContactRelationEntity thing;
Integer relationDefinitionId = thing.GetRelationDefinitionId();

GetRelationId()

Introduced or updated in version: 7

Declaration
Integer GetRelationId()
Returns
Type Description
Integer

Primary key.

Examples
NSContactRelationEntity thing;
Integer relationId = thing.GetRelationId();

GetReversed()

Introduced or updated in version: 7

Declaration
Integer GetReversed()
Returns
Type Description
Integer

Is direction reversed relative to definition.

Examples
NSContactRelationEntity thing;
Integer reversed = thing.GetReversed();

GetSourceContactId()

Introduced or updated in version: 7

Declaration
Integer GetSourceContactId()
Returns
Type Description
Integer

ID of the source contact. The value is mandatory.

Examples
NSContactRelationEntity thing;
Integer sourceContactId = thing.GetSourceContactId();

GetSourceContactName()

Introduced or updated in version: 7

Declaration
String GetSourceContactName()
Returns
Type Description
String

Name of the source contact.

Examples
NSContactRelationEntity thing;
String sourceContactName = thing.GetSourceContactName();

GetSourcePersonId()

Introduced or updated in version: 7

Declaration
Integer GetSourcePersonId()
Returns
Type Description
Integer

ID of the source person. The value is not mandatory. The person must belong to the source contact.

Examples
NSContactRelationEntity thing;
Integer sourcePersonId = thing.GetSourcePersonId();

GetSourcePersonName()

Introduced or updated in version: 7

Declaration
String GetSourcePersonName()
Returns
Type Description
String

Name of the source person.

Examples
NSContactRelationEntity thing;
String sourcePersonName = thing.GetSourcePersonName();

GetUpdatedBy()

Introduced or updated in version: 7

Declaration
NSAssociate GetUpdatedBy()
Returns
Type Description
NSAssociate
Examples
NSContactRelationEntity thing;
NSAssociate updatedBy = thing.GetUpdatedBy();

GetUpdatedDate()

Introduced or updated in version: 7

Declaration
DateTime GetUpdatedDate()
Returns
Type Description
DateTime

Last updated when.

Examples
NSContactRelationEntity thing;
DateTime updatedDate = thing.GetUpdatedDate();

SetActiveText(String)

Introduced or updated in version: 7

Declaration
Void SetActiveText(String activeText)
Parameters
Type Name Description
String activeText

Active text for the relation.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
String activeText;
thing.SetActiveText(activeText);

SetComment(String)

Introduced or updated in version: 7

Declaration
Void SetComment(String comment)
Parameters
Type Name Description
String comment

Comment for relation.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
String comment;
thing.SetComment(comment);

SetCreatedBy(NSAssociate)

Introduced or updated in version: 7

Declaration
Void SetCreatedBy(NSAssociate createdBy)
Parameters
Type Name Description
NSAssociate createdBy
Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
NSAssociate createdBy;
thing.SetCreatedBy(createdBy);

SetCreatedDate(DateTime)

Introduced or updated in version: 7

Declaration
Void SetCreatedDate(DateTime createdDate)
Parameters
Type Name Description
DateTime createdDate

Registered when.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
DateTime createdDate;
thing.SetCreatedDate(createdDate);

SetDestinationContactId(Integer)

Introduced or updated in version: 7

Declaration
Void SetDestinationContactId(Integer destinationContactId)
Parameters
Type Name Description
Integer destinationContactId

ID of the destination contact. The value is mandatory.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
Integer destinationContactId;
thing.SetDestinationContactId(destinationContactId);

SetDestinationContactName(String)

Introduced or updated in version: 7

Declaration
Void SetDestinationContactName(String destinationContactName)
Parameters
Type Name Description
String destinationContactName

Name of the destination contact.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
String destinationContactName;
thing.SetDestinationContactName(destinationContactName);

SetDestinationPersonId(Integer)

Introduced or updated in version: 7

Declaration
Void SetDestinationPersonId(Integer destinationPersonId)
Parameters
Type Name Description
Integer destinationPersonId

ID of the destination person. The value is not mandatory. The person must belong to the destination contact.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
Integer destinationPersonId;
thing.SetDestinationPersonId(destinationPersonId);

SetDestinationPersonName(String)

Introduced or updated in version: 7

Declaration
Void SetDestinationPersonName(String destinationPersonName)
Parameters
Type Name Description
String destinationPersonName

Name of the destination person.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
String destinationPersonName;
thing.SetDestinationPersonName(destinationPersonName);

SetPassiveText(String)

Introduced or updated in version: 7

Declaration
Void SetPassiveText(String passiveText)
Parameters
Type Name Description
String passiveText

Passive text for the relation.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
String passiveText;
thing.SetPassiveText(passiveText);

SetRelationDefinitionId(Integer)

Introduced or updated in version: 7

Declaration
Void SetRelationDefinitionId(Integer relationDefinitionId)
Parameters
Type Name Description
Integer relationDefinitionId

Reference to definition.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
Integer relationDefinitionId;
thing.SetRelationDefinitionId(relationDefinitionId);

SetRelationId(Integer)

Introduced or updated in version: 7

Declaration
Void SetRelationId(Integer relationId)
Parameters
Type Name Description
Integer relationId

Primary key.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
Integer relationId;
thing.SetRelationId(relationId);

SetReversed(Integer)

Introduced or updated in version: 7

Declaration
Void SetReversed(Integer reversed)
Parameters
Type Name Description
Integer reversed

Is direction reversed relative to definition.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
Integer reversed;
thing.SetReversed(reversed);

SetSourceContactId(Integer)

Introduced or updated in version: 7

Declaration
Void SetSourceContactId(Integer sourceContactId)
Parameters
Type Name Description
Integer sourceContactId

ID of the source contact. The value is mandatory.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
Integer sourceContactId;
thing.SetSourceContactId(sourceContactId);

SetSourceContactName(String)

Introduced or updated in version: 7

Declaration
Void SetSourceContactName(String sourceContactName)
Parameters
Type Name Description
String sourceContactName

Name of the source contact.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
String sourceContactName;
thing.SetSourceContactName(sourceContactName);

SetSourcePersonId(Integer)

Introduced or updated in version: 7

Declaration
Void SetSourcePersonId(Integer sourcePersonId)
Parameters
Type Name Description
Integer sourcePersonId
Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
Integer sourcePersonId;
thing.SetSourcePersonId(sourcePersonId);

SetSourcePersonName(String)

Introduced or updated in version: 7

Declaration
Void SetSourcePersonName(String sourcePersonName)
Parameters
Type Name Description
String sourcePersonName

Name of the source person.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
String sourcePersonName;
thing.SetSourcePersonName(sourcePersonName);

SetUpdatedBy(NSAssociate)

Introduced or updated in version: 7

Declaration
Void SetUpdatedBy(NSAssociate updatedBy)
Parameters
Type Name Description
NSAssociate updatedBy
Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
NSAssociate updatedBy;
thing.SetUpdatedBy(updatedBy);

SetUpdatedDate(DateTime)

Introduced or updated in version: 7

Declaration
Void SetUpdatedDate(DateTime updatedDate)
Parameters
Type Name Description
DateTime updatedDate

Last updated when.

Returns
Type Description
Void
Examples
NSContactRelationEntity thing;
DateTime updatedDate;
thing.SetUpdatedDate(updatedDate);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top