NodeUpdateData

@Serializable
data class NodeUpdateData(val nodeId: NodeId? = null, val temporaryNodeId: NodeId? = null, val concept: String? = null, val references: Map<String, String?>? = null, val properties: Map<String, String?>? = null, val children: Map<String?, List<NodeId>>? = null)

Constructors

Link copied to clipboard
constructor(nodeId: NodeId? = null, temporaryNodeId: NodeId? = null, concept: String? = null, references: Map<String, String?>? = null, properties: Map<String, String?>? = null, children: Map<String?, List<NodeId>>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val children: Map<String?, List<NodeId>>? = null
Link copied to clipboard
val concept: String? = null
Link copied to clipboard
val nodeId: NodeId? = null
Link copied to clipboard
val properties: Map<String, String?>? = null
Link copied to clipboard
val references: Map<String, String?>? = null
Link copied to clipboard
val temporaryNodeId: NodeId? = null

Functions

Link copied to clipboard
fun replaceIds(replacer: (String) -> String?): NodeUpdateData
Link copied to clipboard
fun withChildren(childrenRole: String?, newChildren: List<NodeId>?): NodeUpdateData
Link copied to clipboard
fun withConcept(newConceptUID: String?): NodeUpdateData
Link copied to clipboard
fun withProperty(propertyRole: String, value: String?): NodeUpdateData
Link copied to clipboard
fun withReference(referenceRole: String, target: NodeId?): NodeUpdateData