diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-11-09 17:50:54 +0000 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-11-09 18:32:17 +0000 |
commit | c7d481dde64d662211081129344536a3c0c90455 (patch) | |
tree | 4020e9c1faf84b6f337df74f8965d896c5ca4399 /spec | |
parent | 88d4fd40e74c28c440794caac44211bd66f5c748 (diff) |
Chan.I.FT.Metadata: change Metadata property to a{sas}
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec/Channel_Interface_File_Transfer_Metadata.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/spec/spec/Channel_Interface_File_Transfer_Metadata.xml b/spec/spec/Channel_Interface_File_Transfer_Metadata.xml index ea42332da..1e102fc24 100644 --- a/spec/spec/Channel_Interface_File_Transfer_Metadata.xml +++ b/spec/spec/Channel_Interface_File_Transfer_Metadata.xml @@ -57,7 +57,7 @@ </property> <property name="Metadata" tp:name-for-bindings="Metadata" - type="a{ss}" tp:type="String_String_Map" access="readwrite" + type="a{sas}" tp:type="Metadata" access="readwrite" tp:immutable="sì" tp:requestable="naturalmente"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Additional information about the file transfer set by the @@ -66,6 +66,18 @@ </tp:docstring> </property> + <tp:mapping name="Metadata" type="a{ua{sv}}"> + <tp:docstring> + A mapping from string key to a list of strings, used in the + <tp:member-ref>Metadata</tp:member-ref> property. To emulate a + simple string → string hash table one should have exactly one + member in the value string list. A string list is used instead + of a single string so one can transfer RDF triples. + </tp:docstring> + <tp:member name="Key" type="s"/> + <tp:member name="Values" type="as"/> + </tp:mapping> + </interface> </node> <!-- vim:set sw=2 sts=2 et ft=xml: --> |