2018-09-25 12:14:18 +00:00
|
|
|
|
/** @typedef {Trees.GlobalTree.Node.Children} NodeChildren */
|
|
|
|
|
|
2018-09-24 16:03:29 +00:00
|
|
|
|
/**
|
|
|
|
|
* Интерфейс позволяющей пользователю работать с потомками ноды
|
|
|
|
|
*
|
|
|
|
|
* @group manager
|
|
|
|
|
* @class Children
|
|
|
|
|
* @memberof Trees.GlobalTree.Node
|
|
|
|
|
*/
|
|
|
|
|
function Children() {
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @name s_node_add
|
|
|
|
|
* @public
|
|
|
|
|
* @memberof Trees.GlobalTree.Node.Children
|
|
|
|
|
* @type {number}
|
|
|
|
|
*/
|
|
|
|
|
this.s_node_add = -1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @name s_change
|
|
|
|
|
* @public
|
|
|
|
|
* @memberof Trees.GlobalTree.Node.Children
|
|
|
|
|
* @type {number}
|
|
|
|
|
*/
|
|
|
|
|
this.s_change = -1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Возвращает список потомков ноды
|
|
|
|
|
*
|
|
|
|
|
* @public
|
|
|
|
|
* @function get
|
2018-09-25 12:14:18 +00:00
|
|
|
|
* @returns {v2.list(v2.integer)}
|
2018-09-24 16:03:29 +00:00
|
|
|
|
* @memberof Trees.GlobalTree.Node.Children
|
|
|
|
|
*/
|
|
|
|
|
this.children = function(attributeName) {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Возвращает тип ноды, по ее идентификатору
|
|
|
|
|
*
|
|
|
|
|
* @public
|
|
|
|
|
* @function get_type_by_id
|
|
|
|
|
* @returns {v2.model_type}
|
|
|
|
|
* @memberof Trees.GlobalTree.Node.Children
|
|
|
|
|
*/
|
|
|
|
|
this.get_type_by_id = function(attributeName) {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
}
|