retargetObjectReferencesSpec.xsd 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: fmmd
  5. (C) Copyright IBM Corp. 2003, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  10. <xs:element name="retargetObjectReferences">
  11. <xs:annotation>
  12. <xs:documentation>This is the form in which model errors are collected for display and repair purposes.</xs:documentation>
  13. </xs:annotation>
  14. <xs:complexType>
  15. <xs:sequence>
  16. <xs:element name="entry" maxOccurs="unbounded">
  17. <xs:annotation>
  18. <xs:documentation>Attrbute "currentRefValue" (which must refer to an existing object) is the key for all instances.</xs:documentation>
  19. </xs:annotation>
  20. <xs:complexType>
  21. <xs:sequence>
  22. <xs:element name="updateInfo" maxOccurs="unbounded">
  23. <xs:annotation>
  24. <xs:documentation>Attrbute "newRefValue" (which must refer to an existing object) is the key for all instances.</xs:documentation>
  25. </xs:annotation>
  26. <xs:complexType>
  27. <xs:choice minOccurs="0" maxOccurs="unbounded">
  28. <xs:annotation>
  29. <xs:documentation>If "updateInfo" contains no chiildren, then the update will be made to all properties in the model having value of "currentRefValue".</xs:documentation>
  30. </xs:annotation>
  31. <xs:element name="itemToUpdate">
  32. <xs:annotation>
  33. <xs:documentation>ID of either an existing object or existing property - same syntax as that found in logs.</xs:documentation>
  34. </xs:annotation>
  35. <xs:complexType>
  36. <xs:simpleContent>
  37. <xs:extension base="xs:string">
  38. <xs:attribute name="processDescendants" type="xs:boolean" use="required"/>
  39. </xs:extension>
  40. </xs:simpleContent>
  41. </xs:complexType>
  42. </xs:element>
  43. </xs:choice>
  44. <xs:attribute name="newRefValue" type="xs:string" use="required"/>
  45. </xs:complexType>
  46. </xs:element>
  47. </xs:sequence>
  48. <xs:attribute name="currentRefValue" type="xs:string" use="required"/>
  49. </xs:complexType>
  50. </xs:element>
  51. </xs:sequence>
  52. </xs:complexType>
  53. </xs:element>
  54. </xs:schema>