setReferenceTarget

open override fun setReferenceTarget(role: String, target: INode?)

Sets the target of the given role reference for this node to the specified target node.

Parameters

role

the desired reference role

target

new target for this node's reference


open override fun setReferenceTarget(role: String, target: INodeReference?)

Sets the target of the given role reference for this node to the node referenced by the specified target reference.

Parameters

role

the desired reference role

target

reference to the new target for this node's reference