Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ByIdReferenceProperty<T>

Property value that references a (model) element by id.

Type parameters

Hierarchy

Index

Constructors

constructor

  • parent is the structure that the value of this property attaches to, so e.g. for all values item of Part(List)Property we (should) have the invariant: item.container === this.parent.

    initialValue is default value except parts and GUID-typed primitives. (by-id/name references do not have default values.)

    Parameters

    Returns ByIdReferenceProperty

Properties

declaredOn

declaredOn: IStructureClass

disposer

disposer: function | undefined

isAvailable

isAvailable: boolean

isPublic

isPublic: boolean

isRequired

isRequired: boolean

name

name: string

observableValue

observableValue: ByIdReference<T>

parent

versionInfo

versionInfo: PropertyVersionInfo

Methods

deepCopyInto

dispose

  • dispose(): void

get

  • get(): T | null

reportAvailabilityIssues

  • reportAvailabilityIssues(): void

resolveReference

  • resolveReference(): void
  • Returns void

set

  • set(value: T | null): void
  • Parameters

    • value: T | null

    Returns void

updateElementContainer

  • updateElementContainer(): void
  • Returns void

updateWithRawValue

  • updateWithRawValue(value: string): void

Generated using TypeDoc