addNewChild

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

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 override fun addNewChild(role: String?, index: Int, concept: IConceptReference?): INode

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


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