TypeMeta
.module. TypeMeta
The TypeMeta
class implements the ITypeMeta
interface.
Extends
Implements
Constructor
Name | Description |
---|---|
new TypeMeta(id, spec, resolver) | Constructs the metadata of a type module. |
Members
Name | Description |
---|---|
_isLoaded : Protected | Indicates the value has been loaded or was specified. |
alias : | Gets the alias of the module. |
ancestor : | Gets the base type module. |
config : | Gets the configuration of the module. |
id : | Gets the identifier of the module. |
instances : | Gets the array of instance modules, possibly empty. |
isAbstract : | Gets a value that indicates if the type module is abstract. |
isConfigLoaded : | Gets a value that indicates if the module's configuration has been loaded. |
isLoaded : | Gets a value that indicates if the module's value is directly available through the |
kind : | Gets the kind of module. |
ranking : | Gets the ranking of the module. |
resolveId | Resolves a module identifier as if it were a dependency of this one. |
subtypes : | Gets the array of subtypes, possibly empty. |
value : | Gets the value of the module, if it has been loaded already, or |
Methods
Name | Description |
---|---|
loadAsync() : Promise | Loads the module and returns a promise for its value. |
loadConfigAsync() : Promise.< | Loads the configuration of the module and returns a promise for it. |
Constructor Details
new TypeMeta(id, spec, resolver) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs the metadata of a type module. Source: javascript/web/pentaho/_core/module/TypeMeta.js, line 42
|
Members Details
_isLoaded: Protected |
---|
Indicates the value has been loaded or was specified. Source: javascript/web/pentaho/_core/module/Meta.js, line 89 Overrides: pentaho._core.module.Meta#_isLoaded |
alias: |
---|
Gets the alias of the module. Source: doc-js/pentaho/module/IMeta.jsdoc, line 49 Inherited From: pentaho._core.module.Meta#alias |
ancestor: |
---|
Gets the base type module. When the type is a root type, |
config: |
---|
Gets the configuration of the module. When not yet loaded, or if the module has no configuration, returns Source: doc-js/pentaho/module/IMeta.jsdoc, line 116 Inherited From: pentaho._core.module.Meta#config |
id: |
---|
Gets the identifier of the module. Source: doc-js/pentaho/module/IMeta.jsdoc, line 30 Inherited From: pentaho._core.module.Meta#id |
instances: |
---|
Gets the array of instance modules, possibly empty. |
isAbstract: |
---|
Gets a value that indicates if the type module is abstract. An abstract type module does not have a corresponding file or implementation. Its value is |
isConfigLoaded: |
---|
Gets a value that indicates if the module's configuration has been loaded. Source: doc-js/pentaho/module/IMeta.jsdoc, line 131 Inherited From: pentaho._core.module.Meta#isConfigLoaded |
isLoaded: |
---|
Gets a value that indicates if the module's value is directly available through the Source: doc-js/pentaho/module/IMeta.jsdoc, line 93 Inherited From: pentaho._core.module.Meta#isLoaded |
kind: |
---|
Gets the kind of module. One of the strings Source: doc-js/pentaho/module/IMeta.jsdoc, line 39 Inherited From: pentaho.module.IMeta#kind |
ranking: |
---|
Gets the ranking of the module. The ranking determines the order of the module amongst other modules. Source: doc-js/pentaho/module/IMeta.jsdoc, line 58 Inherited From: pentaho._core.module.Meta#ranking |
resolveId: |
---|
Resolves a module identifier as if it were a dependency of this one. Resolving makes Afterwards, any applicable RequireJS contextual mapping configuration is applied. Source: doc-js/pentaho/module/IMeta.jsdoc, line 142 Inherited From: pentaho._core.module.Meta#resolveId |
subtypes: |
---|
Gets the array of subtypes, possibly empty. |
value: |
---|
Gets the value of the module, if it has been loaded already, or Source: doc-js/pentaho/module/IMeta.jsdoc, line 80 Inherited From: pentaho._core.module.Meta#value |
Methods Details
loadAsync() : Promise | |
---|---|
Loads the module and returns a promise for its value. Source: doc-js/pentaho/module/IMeta.jsdoc, line 69 Inherited From: pentaho._core.module.Meta#loadAsync |
Name | Description |
---|---|
Promise | A promise for the value of the module. |
See also: pentaho.module.IMeta#value
loadConfigAsync() : Promise.< | |
---|---|
Loads the configuration of the module and returns a promise for it. Source: doc-js/pentaho/module/IMeta.jsdoc, line 105 Inherited From: pentaho._core.module.Meta#loadConfigAsync |
Name | Description |
---|---|
Promise.< | A promise for the configuration of the module. |
See also: pentaho.module.IMeta#config