Skip to main content
Version: 4.4

Class: EntityIdentifier#

core.EntityIdentifier

Hierarchy#

  • EntityIdentifier

Constructors#

constructor#

+ new EntityIdentifier(value?: string | number | bigint | Date | { toHexString: () => string }): EntityIdentifier

Parameters:#

NameType
value?string | number | bigint | Date | { toHexString: () => string }

Returns: EntityIdentifier

Defined in: packages/core/src/entity/EntityIdentifier.ts:3

Methods#

getValue#

getValue<T>(): T

Type parameters:#

NameTypeDefault
TIPrimaryKeyValueIPrimaryKeyValue

Returns: T

Defined in: packages/core/src/entity/EntityIdentifier.ts:11


setValue#

setValue(value: IPrimaryKeyValue): void

Parameters:#

NameType
valueIPrimaryKeyValue

Returns: void

Defined in: packages/core/src/entity/EntityIdentifier.ts:7

Last updated on by renovate[bot]