Hierarchy

Implements

Index

Constructors

constructor

  • new StiJsonDatabase(name?: string, pathData?: string, key?: string): StiJsonDatabase

Properties

alias

alias: string

allowException

allowException: boolean = true

connectedEvent

connectedEvent: StiEvent = new StiEvent()

connectingEvent

connectingEvent: StiEvent = new StiEvent()

dataSchema

dataSchema: StiDataSchema

disconnectedEvent

disconnectedEvent: StiEvent = new StiEvent()

disconnectingEvent

disconnectingEvent: StiEvent = new StiEvent()

headers

headers: Header[] = []

List of headers used for http requests to load data.

inherited

inherited: boolean = false

key

key: string = null

name

name: string

pathData

pathData: string

relationDirection

relationDirection: StiRelationDirection = StiRelationDirection.ParentToChild

Accessors

connectionType

headersString

  • get headersString(): string
  • set headersString(value: string): void
  • Headers used for http requests to load data.

    Returns string

  • Headers used for http requests to load data.

    Parameters

    • value: string

    Returns void

properties

serviceCategory

  • get serviceCategory(): string

serviceEnabled

  • get serviceEnabled(): boolean
  • set serviceEnabled(value: boolean): void
  • Gets or sets the value whether a service is enabled or not.

    Returns boolean

  • Gets or sets the value whether a service is enabled or not.

    Parameters

    • value: boolean

    Returns void

serviceInfo

  • get serviceInfo(): string

serviceName

  • get serviceName(): string

serviceType

  • get serviceType(): Type

сanBeTypeChangeResult

  • get сanBeTypeChangeResult(): boolean

Methods

applyDatabaseInformation

as

clone

  • clone(cloneProperties?: boolean, cloneComponents?: boolean, base?: boolean): StiDatabase
  • Parameters

    • Default value cloneProperties: boolean = true
    • Default value cloneComponents: boolean = true
    • Default value base: boolean = true

    Returns StiDatabase

copyDataSourceFrom

createConnector

createDataSources

createFileConnector

Protected getConnectorOptions

Protected getConnectorOptionsAsync

  • getConnectorOptionsAsync(report: StiReport, isSchema: boolean): Promise<StiFileDataOptions>

getDataAdapter

getDataAdapterType

  • getDataAdapterType(): Type

getDatabaseInformation

getDatabaseInformationAsync

getDatasourceType

  • getDatasourceType(): Type

getKey

  • getKey(): string

getName

  • getName(): string

implements

  • implements(): any[]

invokeConnected

  • invokeConnected(): void

invokeConnecting

  • invokeConnecting(): void

invokeDisconnected

  • invokeDisconnected(): void

invokeDisconnecting

  • invokeDisconnecting(): void

is

is2

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

Protected isPropertiesInitializedProtected

  • isPropertiesInitializedProtected(): boolean

isPropertyPresent

  • isPropertyPresent(key: any): boolean

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void

memberwiseClone

meta

Protected onConnected

Protected onConnecting

Protected onDisconnected

Protected onDisconnecting

regData

regDataAsync

Protected regDataSetInDataStore

saveToJsonObject

setKey

  • setKey(key: string): void

toString

  • toString(): string

Static parsePath

  • parsePath(path: string, report: StiReport): string

Generated using TypeDoc