Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EnumProperty<T>

A property value that is an enum literal.

Type parameters

Hierarchy

Index

Constructors

constructor

  • new EnumProperty(declaredOn: any, parent: Structure, name: string, initialValue: T, enumType: object): EnumProperty

Properties

declaredOn

declaredOn: any

Protected enumType

enumType: object

Type declaration

handle

handle: function

Type declaration

    • (): void
    • Returns void

Private initialValue

initialValue: any

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: IObservableValue<T>

parent

parent: Structure

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(): T

initialize

markCurrentValueAsDefault

  • markCurrentValueAsDefault(): void

onChange

  • onChange(newValue: any, oldValue: any): void

resolveReferences

  • resolveReferences(): void

set

  • set(value: T): void

updateWithRawValue

  • updateWithRawValue(value: any): void

Generated using TypeDoc