BrowsedNode
Extends:
src/lib/model/Node.js~ServerNode → BrowsedNode
A node discovered while browsing the server's database.
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) Creates a new node. |
Member Summary
Public Members | ||
public |
id: * The node's id. @type {NodeId} |
|
public |
The node's value |
Method Summary
Public Methods | ||
public |
addReferences(references: Object[]) Add multiple references at once. |
|
public |
createChild(options: Object): * Creates new child node. |
Public Constructors
public constructor(options: Object) source
Creates a new node.
Params:
Name | Type | Attribute | Description |
options | Object | The options to use. |
|
options.parent | BrowsedNode |
|
The parent node. |
options.reference | Object | The reference to pick metadata from. |
Public Members
Public Methods
public addReferences(references: Object[]) source
Add multiple references at once.
Params:
Name | Type | Attribute | Description |
references | Object[] | The references to add. |