qisdk / com.aldebaran.qi.sdk.object.knowledge / Node

Node

@QiStruct open class Node

Struct representing a node. A Node holds an Object which can be a ResourceNode or a LiteralNode. Every node other than ResourceNode are considered as literal. Literal nodes can handle the following types:

Since
2

Constructors

<init>

Create a new Node

Node(value: Any!)

Functions

equals

open fun equals(other: Any?): Boolean

getValue

open fun getValue(): Any!

hashCode

open fun hashCode(): Int

setValue

Setter for value

open fun setValue(value: Any!): Unit

toString

open fun toString(): String