getRole

abstract fun getRole(nodeId: Long): String?

Returns the role of the given node within its parent node in this tree.

Return

name of the role

Parameters

nodeId

id of the desired node