Skip to content

Class.EntityId

github-actions[bot] edited this page Jan 7, 2025 · 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:34

Methods

equals()

equals(id): boolean

Parameters

id

EntityId<T>

Returns

boolean

Defined in

base/EntityId.ts:70


fromHash()

fromHash(hash): EntityId<T>

Parameters

hash

string

Returns

EntityId<T>

Defined in

base/EntityId.ts:46


toHash()

toHash(): string

Returns

string

Defined in

base/EntityId.ts:38


toPrimitive()

toPrimitive(): T

Returns

T

Defined in

base/EntityId.ts:62


toString()

toString(): string

Returns

string

Defined in

base/EntityId.ts:66

Clone this wiki locally