Skip to content

Class.EntityId

github-actions[bot] edited this page Dec 9, 2024 · 11 revisions

einvoicing / EntityId

Class: EntityId<T>

Extended by

Type Parameters

T

Constructors

new EntityId()

new EntityId<T>(recordId, isHash, uuid): EntityId<T>

Parameters

recordId

T = null

isHash

boolean = false

uuid

string = null

Returns

EntityId<T>

Defined in

base/EntityId.ts:17

Properties

_recordId

protected _recordId: T = null

Defined in

base/EntityId.ts:14


_uuid

protected _uuid: string = null

Defined in

base/EntityId.ts:15

Accessors

hashOptions

Get Signature

get hashOptions(): [string, number]

Returns

[string, number]

Defined in

base/EntityId.ts:31

Methods

equals()

equals(id): boolean

Parameters

id

EntityId<T>

Returns

boolean

Defined in

base/EntityId.ts:65


fromHash()

fromHash(hash): EntityId<T>

Parameters

hash

string

Returns

EntityId<T>

Defined in

base/EntityId.ts:43


toHash()

toHash(): string

Returns

string

Defined in

base/EntityId.ts:35


toPrimitive()

toPrimitive(): T

Returns

T

Defined in

base/EntityId.ts:57


toString()

toString(): string

Returns

string

Defined in

base/EntityId.ts:61

Clone this wiki locally