Options
All
  • Public
  • Public/Protected
  • All
Menu

Abstract elements are structures that are referable by name. Sub types: (I)Element and (I)ModelUnit.

Hierarchy

Implemented by

Index

Properties

_container: null | IContainer
internal
_declaredAsNamespace: boolean
internal
_isAttached: boolean
internal
_isDeleted: boolean
internal
_isDetached: boolean
internal
_isNew: boolean
internal
container: null | IContainer
id: string
isLoaded: boolean
structureTypeName: string

Unit that owns/contains this thing.

internal

Methods

  • _getQualifiedName(): null | string
  • internal

    Returns null | string

  • resolveByIdReferences(): void
  • toJSON(): object
  • Renders the structure as plain JSON (without observables magic). This is intended for debugging and development convenience. Note that the resulting object is not of the interface type corresponding to this structure.

    Returns object

  • traverse(visit: (structure: IStructure) => void): void
  • Traverses this structure by calling the provided visitor function on itself and all the structures contained (as part) by it, in depth-first order, and it returns synchronously after that.

    Parameters

    Returns void

  • traverseFind<T>(visit: (structure: IStructure) => T): null | T
  • Traverses this structure, returning immediately when visit returns something other than null.

    Type parameters

    • T

    Parameters

    Returns null | T

  • traversePublicParts(visit: (structure: IStructure) => void): void

Generated using TypeDoc