key

fun IRole.key(node: INode): String
fun IChildLink.key(node: INode): String?


Returns the key of the receiver role for the given transaction.

Return

uid of the role, if the tree of the transaction uses role ids, or the role name otherwise

Parameters

t

the desired transaction


fun IRole.key(tree: ITree): String

Returns the key of the receiver role for the given tree.

Return

uid of the role, if the tree uses role ids, or the role name otherwise

Parameters

tree

the desired tree


Deprecated

Use .key(INode), .key(IBranch), .key(ITransaction) or .key(ITree)