Abstract
Creates a new instance.
Readonly
idThe 128 bit unique identifier of the instance. The first 32 bits are a timestamp encoded as 'base64url'.
Readonly
typeThe name of the class of the instance.
Returns the class constructor.
Returns the prototype of the instance.
Static
instancesReturns an object map of all instances of the class.
Private
initializeStatic
clearStatic
countStatic
deleteStatic
deserializeDeserializes JSON string(s) and instantiate objects as class instances. If you need to deserialize instances from multiple classes at once, just pass them all to this method and all cross-class object references are handles. The json strings must have been produced by using
Rest
...jsons: string[]One or more json strings to deserialize.
Serialized.serializeInstances
Static
destroyStatic
getReturns the instance with the given id.
Static
hasStatic
reviveRevives an instance from a plain object.
A plain object or json string to revive.
Static
serializeGenerated using TypeDoc
Base class for serializable classes. Features:
See
registerClass.
Example