Hierarchy

Implements

Index

Constructors

constructor

  • new StiVariable(category?: string, name?: string, alias?: string, description?: string, typeT?: Type, value?: any, readOnly?: boolean, initBy?: StiVariableInitBy, requestFromUser?: boolean, dialogInfo?: StiDialogInfo, key?: string, allowUseAsSqlParameter?: boolean, selection?: StiSelectionMode): StiVariable
  • Parameters

    • Default value category: string = ""
    • Default value name: string = ""
    • Default value alias: string = ""
    • Default value description: string = ""
    • Default value typeT: Type = String.ss.getType()
    • Default value value: any = ""
    • Default value readOnly: boolean = false
    • Default value initBy: StiVariableInitBy = StiVariableInitBy.Value
    • Default value requestFromUser: boolean = false
    • Default value dialogInfo: StiDialogInfo = new StiDialogInfo()
    • Default value key: string = null
    • Default value allowUseAsSqlParameter: boolean = false
    • Default value selection: StiSelectionMode = StiSelectionMode.FromVariable

    Returns StiVariable

Properties

Protected _hash

_hash: StiMeta[]

alias

alias: string = ""

allowUseAsSqlParameter

allowUseAsSqlParameter: boolean

category

category: string = ""

description

description: string = ""

dialogInfo

dialogInfo: StiDialogInfo = new StiDialogInfo()

fullConvert

fullConvert: boolean = true

genAddEvent

genAddEvent: boolean = true

inherited

inherited: boolean = false

initBy

initBy: StiVariableInitBy = StiVariableInitBy.Value

key

key: string = null

parentComponent

parentComponent: any = null

requestFromUser

requestFromUser: boolean = false

selection

selection: StiSelectionMode = StiSelectionMode.First

type

type: Type

Accessors

applyFormat

  • get applyFormat(): boolean

function

  • get function(): boolean
  • set function(value: boolean): void
  • Returns boolean

  • Parameters

    • value: boolean

    Returns void

initByExpressionFrom

  • get initByExpressionFrom(): string
  • set initByExpressionFrom(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

initByExpressionTo

  • get initByExpressionTo(): string
  • set initByExpressionTo(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

isCategory

  • get isCategory(): boolean
  • Returns boolean

name

  • get name(): string
  • set name(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

readOnly

  • get readOnly(): boolean
  • set readOnly(value: boolean): void
  • Returns boolean

  • Parameters

    • value: boolean

    Returns void

value

  • get value(): string
  • set value(value: string): void

valueObject

  • get valueObject(): any
  • set valueObject(value: any): void
  • Returns any

  • Parameters

    • value: any

    Returns void

Methods

as

clone

  • clone(): any

eval

  • eval(report: StiReport): any
  • Parameters

    • report: StiReport

    Returns any

getAlias

  • getAlias(): string

getKey

  • getKey(): string
  • Returns string

getName

  • getName(): string

getNativeValue

  • getNativeValue(): string
  • Returns string

getValue

  • getValue(): any

getValueProp

  • getValueProp(): string

implements

  • implements(): any[]

is

is2

  • is2<T>(type: object | Interface<T>): boolean

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson, report?: StiReport): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void

meta

saveToJsonObject

setKey

  • setKey(key: string): void
  • Parameters

    • key: string

    Returns void

setValueProp

  • setValueProp(value: string): void

toString

  • toString(): string

Static convertFromStringToDialogInfo

  • convertFromStringToDialogInfo(str: string, report: StiReport): StiDialogInfo

Static getDateTimeFromValue

  • getDateTimeFromValue(value: string): DateTime
  • Parameters

    • value: string

    Returns DateTime

Static getDateTimeOffsetFromValue

Static getValue

  • getValue(str: string, type: Type): any
  • Parameters

    • str: string
    • type: Type

    Returns any

Static getValueFromDateTime

  • getValueFromDateTime(value: DateTime): string
  • Parameters

    Returns string

Static getValueFromDateTimeOffset

Static loadFromXml

Generated using TypeDoc