setReferenceTarget

abstract fun setReferenceTarget(sourceId: Long, role: String, target: INodeReference?)

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

Parameters

sourceId

id of the source node

role

reference role, for which the target should be set

target

the new reference target