@jimka/typescript-ui / core / BaseObject
Class: BaseObject
Defined in: src/typescript/lib/core/BaseObject.ts:11
Base class for all library objects. Automatically assigns a unique identifier on construction.
Extended by
Constructors
new BaseObject()
ts
new BaseObject(): BaseObjectDefined in: src/typescript/lib/core/BaseObject.ts:15
Returns
Methods
getClassName()
ts
getClassName(): stringDefined in: src/typescript/lib/core/BaseObject.ts:44
Returns the runtime class name of this object.
Returns
string
The name of the constructor function as a string.
getId()
ts
getId(): stringDefined in: src/typescript/lib/core/BaseObject.ts:24
Returns the unique identifier for this object.
Returns
string
The UUID string assigned at construction time.
setId()
ts
setId(id: string): thisDefined in: src/typescript/lib/core/BaseObject.ts:33
Sets the unique identifier for this object.
Parameters
id
string
The new identifier string to assign.
Returns
this