Class sap.ui.vk.BaseNodeProxyModule: sap/ui/vk/BaseNodeProxy

extends BaseObject
implements Poolable

Provides a simple, lightweight proxy object to a node in a node hierarchy.

The objects of this class should not be created directly, and should only be created through the use of the following methods:

Experimental API:Since 1.32.0 This class is experimental and might be modified or removed in future versions.

Constructor Summary
new sap.ui.vk.BaseNodeProxy(nodeHierarchy, nodeId)Constructor for a new BaseNodeProxy.
Method Summary
sap.ui.vk.BaseNodeProxy.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.vk.BaseNodeProxy with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.vk.BaseNodeProxy.getMetadata()Returns a metadata object for class sap.ui.vk.BaseNodeProxy.
getHasChildren()Indicates whether the node has child nodes.
getName()Gets the name of the node.
getNodeId()Gets the ID of the node.
getNodeMetadata()Gets the metadata of the node.
Constructor Detail
new sap.ui.vk.BaseNodeProxy(nodeHierarchy, nodeId)
Constructor for a new BaseNodeProxy.
Parameters:
{sap.ui.vk.NodeHierarchy}nodeHierarchy The node hierarchy to which the node belongs to.
{string}nodeId The ID of the node which we want to provide a proxy object for.
Method Detail
sap.ui.vk.BaseNodeProxy.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.vk.BaseNodeProxy with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.base.BaseObject.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.vk.BaseNodeProxy.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.vk.BaseNodeProxy.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getHasChildren(): boolean
Indicates whether the node has child nodes.
Returns:
{boolean} A value of true indicates that the node has child nodes, and a value of false indicates otherwise.
getName(): string
Gets the name of the node.
Returns:
{string} The node's name.
getNodeId(): string
Gets the ID of the node.
Returns:
{string} The node's ID.
getNodeMetadata(): object
Gets the metadata of the node.
Returns:
{object} A JSON object containing the node's metadata.