support binary attribute values
authorAleš Křenek <ljocha@ics.muni.cz>
Mon, 8 Aug 2005 09:38:11 +0000 (09:38 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Mon, 8 Aug 2005 09:38:11 +0000 (09:38 +0000)
org.glite.jp.ws-interface/src/JobProvenanceTypes.xml

index c6dcdb6..49d3bf6 100644 (file)
@@ -36,8 +36,8 @@
                        <elem name="attr" type="xsd:string">Attribute name to query.</elem>
                        <elem name="op" type="queryOp">Operation.</elem>
                        <elem name="origin" type="attrOrig" optional="yes">Where the attribute value came from.</elem>
-                       <elem name="value" type="xsd:string">Value to compare the job attribute with.</elem>
-                       <elem name="value2" type="xsd:string" optional="yes">Another value (for op = WITHIN).</elem>
+                       <elem name="value" type="stringOrBlob">Value to compare the job attribute with.</elem>
+                       <elem name="value2" type="stringOrBlob" optional="yes">Another value (for op = WITHIN).</elem>
                </struct>
 
                <struct name="jppsFile">
                <struct name="attrValue">
                        Single value of an attribute.
                        <elem name="name" type="xsd:string">Name of the attribute, including namespace.</elem>
-                       <elem name="value" type="xsd:string">Value.</elem>
+                       <elem name="value" type="stringOrBlob" optional="yes">String value.</elem>
                        <elem name="timestamp" type="xsd:dateTime">When this value was recorded.</elem>
                        <elem name="origin" type="attrOrig">Where this value came from.</elem>
                        <elem name="originDetail" type="xsd:string" optional="yes"></elem>
                </struct>
 
+               <choice name="stringOrBlob">
+                       <elem name="string" type="xsd:string">String value.</elem>
+                       <elem name="blob" type="xsd:base64Binary">Binary value.</elem>
+               </choice>
+
                <enum name="attrOrig">
                        Specification of attribute origin.
                        <val name="SYSTEM">JP system value, e.g. job owner.</val>