Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PartListProperty<T>

A property value that is a list of (model) elements. Will detect when children are moved, added, deleted and sends the appropriate deltas.

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 PartListProperty

Properties

declaredOn

declaredOn: IStructureClass

disposer

disposer: function | undefined

isAvailable

isAvailable: boolean

isPublic

isPublic: boolean

isRequired

isRequired: boolean

name

name: string

observableValue

observableValue: IList<T>

parent

versionInfo

versionInfo: PropertyVersionInfo

Methods

deepCopyInto

detachChild

  • detachChild(child: T): void
  • Parameters

    • child: T

    Returns void

dispose

  • dispose(): void

get

removeChild

  • removeChild(child: T): boolean
  • Parameters

    • child: T

    Returns boolean

reportAvailabilityIssues

  • reportAvailabilityIssues(): void

updateElementContainer

  • updateElementContainer(unit: ModelUnit): void

updateWithRawValue

Generated using TypeDoc