IService
pentaho.typeInfo.IService
The typeInfo.IService
interface represents a service from which basic type information can be obtained without loading the types' class' AMD modules.
Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 17
See also: pentaho.typeInfo.service
Methods
Name | Description |
---|---|
configure(configSpec) | Declares multiple types, possibly interrelated. |
declare(id, decl) | Declares a type. |
getAliasOf(idOrAlias) : string | undefined | null | Gets the alias of a type given its id (or alias). |
getBaseOf(idOrAlias) : string | undefined | null | Gets the base id of a type given its id or alias. |
getIdOf(aliasOrId) : string | undefined | Gets the id of a type given its alias (or id). |
getSubtypesOf(idOrAliasBase) : Array.< | undefined | Gets an array of the identifiers of known subtypes of a given base type, optionally including itself. |
isSubtypeOf(idOrAliasSub, idOrAliasBase) : boolean | undefined | Determines if one type is a subtype of another. |
Methods Details
configure(configSpec) | ||||||
---|---|---|---|---|---|---|
Declares multiple types, possibly interrelated. Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 27
|
declare(id, decl) | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Declares a type. Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 39
|
getAliasOf(idOrAlias) : string | undefined | null | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Gets the alias of a type given its id (or alias). Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 51
|
getBaseOf(idOrAlias) : string | undefined | null | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Gets the base id of a type given its id or alias. Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 75
|
getIdOf(aliasOrId) : string | undefined | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Gets the id of a type given its alias (or id). Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 64
|
getSubtypesOf(idOrAliasBase) : Array.< | undefined | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gets an array of the identifiers of known subtypes of a given base type, optionally including itself. Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 88
|
isSubtypeOf(idOrAliasSub, idOrAliasBase) : boolean | undefined | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Determines if one type is a subtype of another. Source: doc-js/pentaho/typeInfo/IService.jsdoc, line 102
|