setReferenceTarget

open fun setReferenceTarget(link: IReferenceLink, target: INode?)


abstract fun setReferenceTarget(role: String, target: INode?)

Deprecated

use IReferenceLink instead of String

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 fun setReferenceTarget(role: String, target: INodeReference?)

Deprecated

use IReferenceLink instead of String

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