Home > @i2analyze/i2connect > records > IResultLinkRecord
records.IResultLinkRecord interface
A new result link record.
Signature:
interface IResultLinkRecord<TLinkType extends schema.ILinkType = schema.ILinkType, TFromEnd extends IResultLinkRecordEnd = IResultLinkRecordEnd, TToEnd extends IResultLinkRecordEnd = IResultLinkRecordEnd, TIdType extends ResultRecordIdType = ResultRecordIdType> extends IResultRecordBase<TLinkType, TIdType>
Extends: IResultRecordBase
Introduced: API version 1.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TLinkType | extends schema.ILinkType(default: schema.ILinkType) | The type of the result record. |
TFromEnd | extends IResultLinkRecordEnd(default: IResultLinkRecordEnd) | The type of the entity record at the "from" end of the link. |
TToEnd | extends IResultLinkRecordEnd(default: IResultLinkRecordEnd) | The type of the entity record at the "to" end of the link. |
TIdType | extends ResultRecordIdType(default: ResultRecordIdType) | The type of the identifier for the result record. |
Properties
Property | Type | Description |
---|---|---|
fromEnd | TFromEnd | Gets the entity record at the "from" end of the link. |
id | TIdType | Gets the identifier of the result record. (Inherited from IResultRecordBase) |
linkDirection | data.LinkDirection | Gets the direction of the link. |
toEnd | TToEnd | Gets the entity record at the "to" end of the link. |
Methods
Method | Description |
---|---|
setProperties(properties) | Sets the values of several properties on the result record. (Inherited from IRecordProperties) |
setProperty(displayName, value) | Sets the value of a property on the result record. (Inherited from IRecordProperties) |
setSourceReference(sourceReference) | Adds a source reference to the result record. (Inherited from IRecordProperties) |