Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractProperty<T, P>

Abstract base wrapper for property values/settings. All values/settings of ModelElement-s are wrapped in the appropriate way. This is particularly important for reference values which require additional magic.

Type parameters

  • T

  • P

Hierarchy

  • AbstractProperty

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 AbstractProperty

Properties

declaredOn

declaredOn: IStructureClass

disposer

disposer: function | undefined

isAvailable

isAvailable: boolean

isPublic

isPublic: boolean

isRequired

isRequired: boolean

name

name: string

observableValue

observableValue: P

parent

parent: Structure

Accessors

versionInfo

Methods

Abstract deepCopyInto

dispose

  • dispose(): void
  • Returns void

Abstract get

  • get(): T
  • Returns T

reportAvailabilityIssues

  • reportAvailabilityIssues(): void
  • Returns void

Abstract updateWithRawValue

  • updateWithRawValue(value: any): void
  • Parameters

    • value: any

    Returns void

Generated using TypeDoc