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

Triple

@QiStruct open class Triple

Struct representing a triple. Subject and predicate are always resources, the object can be a resource or a literal (here encapsulated in a Node).

Since
2

Constructors

<init>

Create a new Triple

Triple(subject: ResourceNode!, predicate: ResourceNode!, object: Node!)

Functions

equals

open fun equals(other: Any?): Boolean

getObject

open fun getObject(): Node!

getPredicate

open fun getPredicate(): ResourceNode!

getSubject

open fun getSubject(): ResourceNode!

hashCode

open fun hashCode(): Int

setObject

Setter for object

open fun setObject(object: Node!): Unit

setPredicate

Setter for predicate

open fun setPredicate(predicate: ResourceNode!): Unit

setSubject

Setter for subject

open fun setSubject(subject: ResourceNode!): Unit

toString

open fun toString(): String