Class StiDataTransformationColumn

Describes a data transformation column.

Hierarchy

Implements

Index

Constructors

constructor

  • Creates a new object of the type StiCalcDataColumn.

    Parameters

    • Default value name: string = "DataTransformationColumn"

      Name of column.let

    • Default value alias: string = "DataTransformationColumn"

      Alias of column.let

    • Optional type: Type

      Type of data of column.let

    • Default value expression: string = ""
    • Default value key: string = ""

      Key string.let

    • Optional mode: StiDataTransformationMode

    Returns StiDataTransformationColumn

Properties

Protected _hash

_hash: StiMeta[]

alias

alias: string

businessObject

businessObject: StiBusinessObject

dataColumnsCollection

dataColumnsCollection: StiDataColumnsCollection = null

dataSource

dataSource: StiDataSource

expression

expression: string

Gets or sets an expression of the calculated column.

index

index: number = -1

key

key: string

mode

Gets or sets the type of the resource.

nameInSource

nameInSource: string = "Column"

type

type: Type

Accessors

inherited

  • get inherited(): boolean
  • set inherited(value: boolean): void

name

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

Methods

as

clone

getAlias

  • getAlias(): string

getColumnPath

  • getColumnPath(): string

getDataType

  • getDataType(): Type

getDictionaryColumn

getKey

  • getKey(): string

getName

  • getName(): string

getNameInSource

  • getNameInSource(): string

implements

  • implements(): any[]

is

is2

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

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void

memberwiseClone

meta

saveToJsonObject

setKey

  • setKey(key: string): void

toString

  • toString(): string

Static getBusinessObjectFromDataColumn

Static getColumnNameFromDataColumn

  • getColumnNameFromDataColumn(dictionary: StiDictionary, column: string): string

Static getDataColumnFromColumnName

Static getDataFromBusinessObject

  • getDataFromBusinessObject(dictionary: StiDictionary, column: string): any

Static getDataFromDataColumn

  • getDataFromDataColumn(dictionary: StiDictionary, column: string, useRelationName?: boolean): any

Static getDataListFromDataColumn

  • getDataListFromDataColumn(dictionary: StiDictionary, column: string, maxRows?: number, firstPositionInDataSource?: boolean): any[]

Static getDataSourceFromDataColumn

Static getDatasFromDataColumn

  • getDatasFromDataColumn(dictionary: StiDictionary, column: string, maxRows?: number, firstPositionInDataSource?: boolean, useRelationName?: boolean): any[]
  • Parameters

    • dictionary: StiDictionary
    • column: string
    • Default value maxRows: number = null
    • Default value firstPositionInDataSource: boolean = false
    • Default value useRelationName: boolean = true

    Returns any[]

Static getDatasFromDataSourceWithExpression

  • getDatasFromDataSourceWithExpression(data: any, expression: string, maxRows?: number, firstPositionInDataSource?: boolean): List<string>

Static getRelationName

Generated using TypeDoc