qisdk / com.aldebaran.qi.sdk.object.knowledge / Knowledge / Async / makeNodeFromResourceNode

makeNodeFromResourceNode

abstract fun makeNodeFromResourceNode(resourceNode: ResourceNode!): Future<Node!>!

Create a Node encapsulating the given ResourceNode. This is useful when you already created a ResourceNode and need to use it as the object of triple, in a request for instance, or just to create a triple.

Parameters

resourceNode - ResourceNode!: A ResourceNode.

Return
Future<Node!>!: A Node encapsulating the given ResourceNode.