[tracker] Updated transfers ontology
- From: Ivan Frade <ifrade src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Updated transfers ontology
- Date: Fri, 7 Aug 2009 13:05:29 +0000 (UTC)
commit 03818d000778670fd1eb723c226da348cdc128cb
Author: Ivan Frade <ivan frade nokia com>
Date: Fri Aug 7 16:04:29 2009 +0300
Updated transfers ontology
Added new status instances. Added property to cache the global status
of a transfer pack. Calculate it from the individual transfers was too expensive.
data/ontologies/39-mto.ontology | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/39-mto.ontology b/data/ontologies/39-mto.ontology
index ac0483d..db9e825 100644
--- a/data/ontologies/39-mto.ontology
+++ b/data/ontologies/39-mto.ontology
@@ -76,6 +76,11 @@ mto:state-active a mto:State .
mto:state-paused a mto:State .
mto:state-cancelled a mto:State .
mto:state-done a mto:State .
+mto:state-pending a mto:State .
+mto:state-error a mto:State .
+mto:state-user-paused a mto:State .
+mto:state-user-cancelled a mto:State .
+mto:state-user-started a mto:State .
mto:state a rdf:Property ;
rdfs:label "State" ;
@@ -84,6 +89,13 @@ mto:state a rdf:Property ;
rdfs:domain mto:TransferElement ;
rdfs:range mto:State .
+mto:transferState a rdf:Property ;
+ rdfs:label "Transfer state" ;
+ rdfs:comment "Captures the state of the transfer. This is derived from the cumulative states of the transfer elements of this transfer. Applications are responsible to keep it up-to-date" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain mto:Transfer ;
+ rdfs:range mto:State .
+
mto:TransferMethod a rdfs:Class ;
rdfs:comment "Class with a restricted set of instances to enumarate transfer methods" .
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]