addNewChild

open fun addNewChild(role: IChildLink, index: Int, concept: IConcept?): INode
open fun addNewChild(role: IChildLink, index: Int, concept: IConceptReference?): INode


abstract fun addNewChild(role: String?, index: Int, concept: IConcept?): INode

Deprecated

use IChildLink instead of String

Adds a new child node to this node.

Creates and adds a new child node to this node at the specified index.

Return

new child node

Parameters

role

role, where the node should be added

index

index, where the node should be added

concept

concept, of which the new node is instance of

See also


open fun addNewChild(role: String?, index: Int, concept: IConceptReference?): INode

Deprecated

use IChildLink instead of String

Adds a new child node to this node.

Creates and adds a new child node to this node at the specified index.

Return

new child node

Parameters

role

role, where the node should be added

index

index within the role, where the node should be added

concept

reference to a concept, of which the new node is instance of