Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Protected _changes

_changes: HashMap

Map of unsaved property changes

Protected Optional _init_sub

_init_sub: Subscription

Subscription for initialisation events

Protected _server_names

_server_names: HashMap

Map of local property names to server ones

Protected _service

_service: T

Protected _version

_version: number

Version of the data

changeEvents

changeEvents: Subject<EngineDataClassEvent> = new Subject<EngineDataClassEvent>()

Subject for change events to the class object

created_at

created_at: number

Unix epoch in seconds of the creation time of the object

id

id: string

Unique Identifier of the object

name

name: string

Human readable name of the object

Accessors

changes

Methods

Protected change

  • change<U>(prop_name: string, value: U): void

clearPendingChanges

  • clearPendingChanges(): void

delete

  • delete(): Promise<void>

emit

save

  • save(type?: "put" | "patch"): Promise<T>

storePendingChange

  • storePendingChange(key: string, value: any): this

toJSON

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc