Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAbstractElement

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

Hierarchy

Implemented by

Index

Properties

container

container: IContainer

id

id: string

isLoaded

isLoaded: boolean

model

qualifiedName

qualifiedName: string

typeName

typeName: string

unit

Unit that owns/contains this thing.

versionInfo

Methods

allProperties

load

  • load<T>(callback?: function): any
  • load<T>(): T
  • Type parameters

    Parameters

    • Optional callback: function
        • (elem: T): void
        • Parameters

          • elem: T

          Returns void

    Returns any

  • Type parameters

    Returns T

toJSON

  • 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

  • traverse(visit: function): 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. Traverse will visit all descendants of the structure, so make sure it is loaded first.

    Parameters

    Returns void

traversePublicParts

  • traversePublicParts(visit: function): 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. This visitor will only access the parts of the structure that are publicly visible, in other words, which are part of the interface of the structure.

    Parameters

    Returns void

Generated using TypeDoc