Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrimitiveProperty<T>

Type parameters

  • T

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 PrimitiveProperty

Properties

declaredOn

declaredOn: IStructureClass

defaultValue

defaultValue: T

disposer

disposer: function | undefined

isAvailable

isAvailable: boolean

isPublic

isPublic: boolean

isRequired

isRequired: boolean

name

name: string

observableValue

observableValue: IObservableValue<T>

parent

parent: Structure

Accessors

versionInfo

Methods

deepCopyInto

dispose

  • dispose(): void

get

  • get(): T

Protected getRawValue

  • getRawValue(value: T): any
  • Parameters

    • value: T

    Returns any

markCurrentValueAsDefault

  • markCurrentValueAsDefault(): void
  • Returns void

reportAvailabilityIssues

  • reportAvailabilityIssues(): void

set

  • set(newValue: T): void
  • Parameters

    • newValue: T

    Returns void

updateWithRawValue

  • updateWithRawValue(value: T): void

Generated using TypeDoc