new Folder()
A folder which can contain queries, topic collections and other folders
Extends
Methods
createSemanticCollection(name) → {$k.SemanticCollection}
Creates a semantic collection and adds it to this folder
Parameters:
Name | Type | Description |
---|---|---|
name | string | The name of the new semantic collection |
- Since
- 5.3.3
Throws:
If no write transaction is active
Returns:
the new semantic collection
- Type:
- $k.SemanticCollection
elements() → {Array.<object>}
Returns the elements of the collection
- Inherited From
Returns:
- Type:
- Array.<object>
id() → {string}
Returns the registered ID, or undefined if not registered.
- Inherited From
Returns:
- Type:
- string
leafElements() → {Array.<object>}
Returns the elements which are not folders
Returns:
- Type:
- Array.<object>
name() → {string}
Returns the name
- Inherited From
Returns:
- Type:
- string
parentFolders() → {Array.<$k.Folder>}
Returns the folders that contain this element
- Inherited From
Returns:
- Type:
- Array.<$k.Folder>
registryType() → {string}
Returns the name of the registry that contains elements of this type
- Inherited From
Returns:
- Type:
- string
subfolders() → {Array.<object>}
Returns the subfolders
Returns:
- Type:
- Array.<object>