Home > @i2analyze/i2connect > records > IResultRecordBase
records.IResultRecordBase interface
A set of information and functionality that is common to all result records.
Signature:
interface IResultRecordBase<TItemType extends schema.IItemType = schema.IItemType, TIdType extends ResultRecordIdType = ResultRecordId> extends IRecordProperties<TItemType>
Extends: IRecordProperties<TItemType>
Introduced: API version 1.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TItemType | extends schema.IItemType (default: schema.IItemType) | The type of the result record. |
TIdType | extends ResultRecordIdType (default: ResultRecordId) | The type of the identifier for the result record. |
Properties
Property | Type | Description |
---|---|---|
id | TIdType | Gets the identifier of the result record. |
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) |