Class ObjectIdentity

Identity for JavaScript objects and functions. This is implemented using a simple incrementing counter which is stored in each object under FIELD_NAME.

The identity for an object does not change during its lifecycle.

Implemented by

Constructors

Properties

Methods

Constructors

Properties

counter: number = 0

Current counter.

FIELD_NAME: string = IDENTITY_FIELD_NAME

Name of the field to be used to store the object ID. Default is mxObjectId.

Methods