Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrimitiveListProperty<T>

Primitive-typed property values list.

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

    • declaredOn: any
    • parent: Structure
    • name: string
    • initialValue: T[]
    • Rest ...moreArgs: any[]

    Returns PrimitiveListProperty

Properties

declaredOn

declaredOn: any

handle

handle: function

Type declaration

    • (): void
    • Returns void

isAvailable

isAvailable: boolean

Returns true if this property is not deleted, and already availabe in the current model version

isPublic

isPublic: boolean

isRequired

isRequired: boolean

name

name: string

observableValue

observableValue: IObservableArray<T>

parent

parent: Structure

Private primitiveType

primitiveType: any

versionInfo

versionInfo: PropertyVersionInfo

Methods

assertPropertyAvailableInCurrentVersion

  • assertPropertyAvailableInCurrentVersion(): void

assertReadable

  • assertReadable(): void

assertWritable

  • assertWritable(): void

deepCopyInto

  • deepCopyInto(clone: any): void

dispose

  • dispose(): void

fireOnChange

  • fireOnChange(): void

get

  • get(): IObservableArray<T>

initialize

  • initialize(initialItems: T[], primitiveType: PrimitiveTypeEnum): IObservableArray<T>

onChange

  • onChange(change: IArraySplice<T> | IArrayChange<T>): void

resolveReferences

  • resolveReferences(): void

set

  • set(newValue: T[]): void

toRawChangeValue

  • toRawChangeValue(value: T): any
  • Parameters

    • value: T

    Returns any

updateWithRawValue

  • updateWithRawValue(value: T[]): void

Generated using TypeDoc