setReferenceTarget
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
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