set_uri


Description:

public void set_uri (string property_uri, string value)

Sets a resource property as an URI string.

Replaces any previous value.

This method applies to properties with a [rdfs:range](rdf-ontology.html#rdfs:range) that points to a non-literal class (i.e. a subclass of [rdfs:Resource](rdf-ontology.html#rdfs:Resource)).

This function produces similar RDF to [method@Resource.set_relation], although it requires that the URI is previously known.

Parameters:

this

the `TrackerResource`

property_uri

a string identifying the property to modify

value

the property object