commit cbf01e385f8e6108692e9e6c1d2eed61a5773ae0
parent c2d2fc28e2a3dd73fd9534221a590fac8eb21f07
Author: Bob Haugen <bob.haugen@gmail.com>
Date: Tue, 14 Sep 2021 15:02:24 +0000
Merge branch 'pack-unpack-ttl' into 'master'
Pack unpack ttl
See merge request valueflows/valueflows!655
Diffstat:
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/docs/introduction/flows.md b/docs/introduction/flows.md
@@ -78,7 +78,7 @@ pickup | No effect | No effect | Input | N/A | dropoff |
dropoff | No effect | No effect | Output | currentLocation | pickup |
accept | No effect | Decrement | Input | N/A | modify |
modify | No effect | Increment | Output | N/A | accept |
-pack | No effect | Decrement | Input | add containedIn | accept |
+pack | No effect | Decrement | Input | add containedIn | modify |
unpack | No effect | Increment | Output | remove containedIn | accept |
transfer-custody | No effect | Decr+Incr(2) | N/A | N/A | N/A |
transfer-all-rights | Decr+Incr(2) | No effect | N/A | N/A | N/A |
diff --git a/release-doc-in-process/all_vf.TTL b/release-doc-in-process/all_vf.TTL
@@ -972,6 +972,17 @@ vf:move a owl:NamedIndividual ,
rdfs:label "move"@en ;
vs:term_status "unstable" .
+vf:pack a owl:NamedIndividual ,
+ vf:Action ,
+ vf:PairsWith ;
+ vf:inputOutput vf:input ;
+ vf:pairsWith vf:modify ;
+ vf:resourceEffect vf:noEffect ;
+ vf:onhandEffect vf:decrement ;
+ rdfs:comment "A resource is put into the container resource that is being modified."@en ;
+ rdfs:label "pack"@en ;
+ vs:term_status "unstable" .
+
vf:pickup a owl:NamedIndividual ,
vf:Action ,
vf:PairsWith ;
@@ -1033,6 +1044,17 @@ vf:transfer-custody a owl:NamedIndividual ,
rdfs:label "transfer custody"@en ;
vs:term_status "unstable" .
+vf:unpack a owl:NamedIndividual ,
+ vf:Action ,
+ vf:PairsWith ;
+ vf:inputOutput vf:output ;
+ vf:pairsWith vf:accept ;
+ vf:resourceEffect vf:noEffect ;
+ vf:onhandEffect vf:increment ;
+ rdfs:comment "A resource is removed from the container resource that was accepted to the process."@en ;
+ rdfs:label "unpack"@en ;
+ vs:term_status "unstable" .
+
vf:use a owl:NamedIndividual ,
vf:Action ;
vf:inputOutput vf:input ;