setProperty

abstract fun setProperty(nodeId: Long, role: String, value: String?): ITree

Sets the value of the given node for the given property role to the specified value.

Return

tree with changes

Parameters

nodeId

id of the desired node

role

property role, for which the value should be set

value

the new property value