Class

ValentResource

unstable since: 1.0

Description [src]

class Valent.Resource : Valent.Object
{
  /* No available fields */
}

ValentResource is an interface that represents a resource.

It is based on the properties in the elements namespace of the Dublin Core DCMI Metadata Terms, primarily to represent SPARQL resources and runtime objects with similar semantics.

See: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-3.

Available since: 1.0

Hierarchy

hierarchy this ValentResource ancestor_0 ValentObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Instance methods

valent_resource_get_contributor

Gets the contributor of resource.

unstable since: 1.0

valent_resource_get_coverage

Gets the coverage of resource.

unstable since: 1.0

valent_resource_get_creator

Gets the creator of resource.

unstable since: 1.0

valent_resource_get_date

Gets the date of resource.

unstable since: 1.0

valent_resource_get_description

Gets the description of resource.

unstable since: 1.0

valent_resource_get_format

Gets the format of resource.

unstable since: 1.0

valent_resource_get_identifier

Gets the identifier of resource.

unstable since: 1.0

valent_resource_get_iri

Gets the IRI of resource.

unstable since: 1.0

valent_resource_get_language

Gets the language of resource.

unstable since: 1.0

valent_resource_get_publisher

Gets the publisher of resource.

unstable since: 1.0

valent_resource_get_relation

Gets the relation of resource.

unstable since: 1.0

valent_resource_get_rights

Gets the rights of resource.

unstable since: 1.0

valent_resource_get_source

Gets the source of resource.

unstable since: 1.0

valent_resource_get_subject

Gets the subject of resource.

unstable since: 1.0

valent_resource_get_title

Gets the title of resource.

unstable since: 1.0

valent_resource_get_type_hint

Gets the type hint of resource.

unstable since: 1.0

valent_resource_set_contributor

Gets the title of resource.

unstable since: 1.0

valent_resource_set_coverage

Set the coverage of resource to coverage.

unstable since: 1.0

valent_resource_set_creator

Set the creator of resource to creator.

unstable since: 1.0

valent_resource_set_date

Set the date of resource to date.

unstable since: 1.0

valent_resource_set_description

Set the description of resource to description.

unstable since: 1.0

valent_resource_set_format

Set the format of resource to format.

unstable since: 1.0

valent_resource_set_identifier

Set the identifier of resource to identifier.

unstable since: 1.0

valent_resource_set_language

Set the language of resource to language.

unstable since: 1.0

valent_resource_set_publisher

Set the publisher of resource to publisher.

unstable since: 1.0

valent_resource_set_relation

Gets the title of resource.

unstable since: 1.0

valent_resource_set_rights

Set the rights of resource to rights.

unstable since: 1.0

valent_resource_set_source

Set the source of resource to source.

unstable since: 1.0

valent_resource_set_subject

Set the subject of resource to subject.

unstable since: 1.0

valent_resource_set_title

Set the title of resource to title.

unstable since: 1.0

valent_resource_set_type_hint

Set the nature or genre of resource to type_hint.

unstable since: 1.0

valent_resource_update

Update resource from update.

unstable since: 1.0

Methods inherited from ValentObject (8)
valent_object_chain_cancellable

Chain a cancellable to the object’s cancellable.

unstable since: 1.0

valent_object_destroy

Destroy the object.

unstable since: 1.0

valent_object_in_destruction

Get whether the object is destroyed or in destruction.

unstable since: 1.0

valent_object_lock

Acquire a lock on object.

unstable since: 1.0

valent_object_notify

Emit GObject::notify on object, on the main thread.

unstable since: 1.0

valent_object_notify_by_pspec

Emit GObject::notify on object, on the main thread.

unstable since: 1.0

valent_object_ref_cancellable

Get a GCancellable for the object.

unstable since: 1.0

valent_object_unlock

Release a lock on object.

unstable since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Valent.Resource:contributor

An entity responsible for making contributions to the resource.

unstable since: 1.0

Valent.Resource:coverage

The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant.

unstable since: 1.0

Valent.Resource:creator

An entity primarily responsible for making the resource.

unstable since: 1.0

Valent.Resource:date

A point or period of time associated with an event in the lifecycle of the resource.

unstable since: 1.0

Valent.Resource:description

An account of the resource.

unstable since: 1.0

Valent.Resource:format

The file format, physical medium, or dimensions of the resource.

unstable since: 1.0

Valent.Resource:identifier

An unambiguous reference to the resource within a given context.

unstable since: 1.0

Valent.Resource:iri

The resource IRI (Internationalized Resource Identifier).

unstable since: 1.0

Valent.Resource:language

A list of related resources from which the described resource is derived.

unstable since: 1.0

Valent.Resource:publisher

An entity responsible for making the resource available.

unstable since: 1.0

Valent.Resource:relation

A related resource.

unstable since: 1.0

Valent.Resource:rights

Information about rights held in and over the resource.

unstable since: 1.0

Valent.Resource:source

A related resource from which the described resource is derived.

unstable since: 1.0

Valent.Resource:subject

The topic of the resource.

unstable since: 1.0

Valent.Resource:title

A name given to the resource.

unstable since: 1.0

Valent.Resource:type-hint

The nature or genre of the resource.

unstable since: 1.0

Properties inherited from ValentObject (1)
Valent.Object:cancellable

The object GCancellable.

unstable since: 1.0

Signals

Signals inherited from ValentObject (1)
ValentObject::destroy

Emitted when the object is being destroyed.

unstable since: 1.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ValentResourceClass {
  ValentObjectClass parent_class;
  void (* update) (
    ValentResource* resource,
    ValentResource* update
  );
  
}

No description available.

Class members
parent_class: ValentObjectClass

No description available.

update: void (* update) ( ValentResource* resource, ValentResource* update )

No description available.

Virtual methods

Valent.ResourceClass.update

Update resource from update.

unstable since: 1.0