replaceNode

open override fun replaceNode(concept: ConceptReference?): INode

Replaces this node with a new node of the given concept that uses the same id as this node. Properties, references and children will be the same.

Return

replacement for this node with the new given concept

Parameters

concept

the concept of the new node