Hierarchy

  • StiDataRelation

Implements

Index

Constructors

constructor

  • new StiDataRelation(nameInSource?: string, name?: string, alias?: string, parentSource?: StiDataSource, childSource?: StiDataSource, parentColumns?: string[], childColumns?: string[], key?: string): StiDataRelation
  • Parameters

    • Default value nameInSource: string = ""
    • Default value name: string = nameInSource
    • Default value alias: string = nameInSource
    • Default value parentSource: StiDataSource = null
    • Default value childSource: StiDataSource = null
    • Default value parentColumns: string[] = []
    • Default value childColumns: string[] = []
    • Default value key: string = null

    Returns StiDataRelation

Properties

Protected _hash

_hash: StiMeta[]

active

active: boolean = false

Gets or sets value which indicates that this data relation is active.

alias

alias: string

childColumns

childColumns: string[]

childSource

childSource: StiDataSource

dictionary

dictionary: StiDictionary

inherited

inherited: boolean = false

isCloud

isCloud: boolean = false

key

key: string

nameInSource

nameInSource: string

parentColumns

parentColumns: string[]

parentSource

parentSource: StiDataSource

relationName

relationName: string

Accessors

name

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

  • Parameters

    • value: string

    Returns void

Methods

as

  • Type parameters

    • T

    Parameters

    Returns T

clone

  • clone(): any

fetchChildColumns

  • fetchChildColumns(): List<string>

fetchParentColumns

  • fetchParentColumns(): List<string>

getActiveState

  • getActiveState(): boolean

getChildDataSource

getDictionary

getKey

  • getKey(): string

getName

  • getName(): string

getParentDataSource

implements

  • implements(): any[]
  • Returns any[]

is

  • Type parameters

    • T

    Parameters

    Returns this

is2

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

    • T

    Parameters

    Returns boolean

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void
  • Parameters

    Returns void

meta

saveToJsonObject

setKey

  • setKey(key: string): void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc