Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractUnit<TModel>

Base class for implementations of IAbstractUnit.

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

id

id: string

structureTypeName

structureTypeName: string

Accessors

container

isLoadable

  • get (): boolean
  • Returns boolean

isLoaded

  • get (): boolean
  • Checks whether all attributes are available at this instant; if false, a load is required to access these properties.

    Returns boolean

isReadOnly

  • get (): boolean
  • Returns boolean

model

  • get (): TModel

unit

Methods

allProperties

  • allProperties(): AbstractProperty<any, any>[]

deepCopyInto

Abstract delete

  • delete(): void
  • Deletes a model from the model. This will automatically remove the item from its model parent, and update incoming references and send server changes.

    Returns void

Protected getContainerAs

  • getContainerAs<T>(containerType: any): T

loadedProperties

  • loadedProperties(): AbstractProperty<any, any>[]

publicProperties

  • publicProperties(): AbstractProperty<any, any>[]

toJSON

traverse

  • traverse(visit: function): void

traverseFind

  • traverseFind<T>(visit: function): T | null

traversePublicParts

  • traversePublicParts(visit: function): void

Generated using TypeDoc