rdf_api::Triple Interface Reference

rdf_api::Triple Interface Reference

A triple in RDF. More...

Inheritance diagram for rdf_api::Triple:
Collaboration diagram for rdf_api::Triple:

Public Member Functions

void unassert ()
 Removes the assertion from the data source.
- Public Member Functions inherited from XPCOM::IObject
void add_ref ()
 Called to indicate that some code is keeping an owning reference to the object.
oneway void release_ref ()
 Removes a reference to an object which was created by some other means (e.g.
IObject query_interface (in utf8string id)
 Returns an IObject of the same implementation, which supports a specific interface.

Public Attributes

readonly attribute Resource subject
 The subject of the triple.
readonly attribute Resource predicate
 The predicate of the triple.
readonly attribute Node _object
 The object of the triple.
- Public Attributes inherited from XPCOM::IObject
readonly attribute string objid
 Fetches the ID of the object.

Detailed Description

A triple in RDF.

This is always associated with a specific datasource.

Definition at line 318 of file RDF_APISPEC.idl.

Member Function Documentation

void rdf_api::Triple::unassert ( )

Removes the assertion from the data source.

Once this has been done, the only way to re-add it is to make another triple with the same information. If the triple is not currently asserted on the data source at the time of the call, nothing happens. Objects implementing this interface are not invalidated when a triple is unasserted. If an identical triple is unasserted and subsequently re-added, unassert will still remove the triple.

Member Data Documentation

readonly attribute Node rdf_api::Triple::_object

The object of the triple.

Definition at line 334 of file RDF_APISPEC.idl.

readonly attribute Resource rdf_api::Triple::predicate

The predicate of the triple.

Definition at line 329 of file RDF_APISPEC.idl.

readonly attribute Resource rdf_api::Triple::subject

The subject of the triple.

Definition at line 324 of file RDF_APISPEC.idl.