ODataModelLoader class

Extends

EqModelLoader

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new ODataModelLoader(context: EqContext,options?: any): ODataModelLoader

Parameters:


Protected Properties


modelLoadingRejectFunc

● modelLoadingRejectFunc: (reason?: any) => void


modelLoadingResolveFunc

● modelLoadingResolveFunc: (value?: DataModel | PromiseLike<DataModel>) => void


modelNeverLoaded

● modelNeverLoaded: boolean


modelPromise

● modelPromise: Promise<DataModel> | null


Public Methods


getContext

▸ getContext(): EqContext

Returns EqContext


getModelPromise

Returns the Promise of the model loading process

▸ getModelPromise(): Promise<DataModel>

Returns Promise<DataModel>


init

▸ init(options?: any): void

Parameters:

  • options: any, Optional

Returns void


startModelLoading

▸ startModelLoading(options: any): Promise<DataModel>

Parameters:

  • options: any

Returns Promise<DataModel>


Protected Methods


createModelLoadingPromise

▸ createModelLoadingPromise(): void

Returns void


sendLoadModelRequest

▸ sendLoadModelRequest(options?: any): void

Parameters:

  • options: any, Optional

Returns void