123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: relmd
- (C) Copyright IBM Corp. 2008, 2015
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:relmd="http://www.ibm.com/xmlns/prod/cognos/relmd/1/0" targetNamespace="http://www.ibm.com/xmlns/prod/cognos/relmd/1/0" elementFormDefault="qualified" attributeFormDefault="qualified">
- <xs:include schemaLocation="../relmdMetadata.xsd"/>
- <xs:include schemaLocation="../source/relmdMetadataSource.xsd"/>
- <!--Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.-->
- <!--Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).-->
- <!---->
- <xs:element name="metadataObjectSelections">
- <xs:annotation>
- <xs:documentation>Contains user selections indicating which metadata objects to be imported.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:choice>
- <xs:choice>
- <xs:element name="allCatalogsSelection">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:allSchemaLevelChildrenSelections"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="catalogSelection" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:group ref="relmd:schemaSelections"/>
- </xs:sequence>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- <xs:key name="catalogSchemaSelectionsKey">
- <xs:selector xpath="relmd:schemaSelection"/>
- <xs:field xpath="@relmd:name"/>
- </xs:key>
- </xs:element>
- <xs:element name="catalogSelections"/>
- </xs:choice>
- <xs:group ref="relmd:schemaSelections"/>
- </xs:choice>
- </xs:complexType>
- <xs:key name="schemaSelectionsKey">
- <xs:selector xpath="relmd:schemaSelection"/>
- <xs:field xpath="@relmd:name"/>
- </xs:key>
- </xs:element>
- <xs:group name="schemaSelections">
- <xs:choice>
- <xs:element name="allSchemasSelection">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:allSchemaLevelChildrenSelections"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="schemaSelection" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:group ref="relmd:objectSelections"/>
- </xs:sequence>
- <xs:attribute name="importIndexes" type="xs:boolean" use="optional" default="true"/>
- <xs:attribute name="importPrimaryKeys" type="xs:boolean" use="optional" default="true"/>
- <xs:attribute name="importForeignKeys" type="xs:boolean" use="optional" default="true"/>
- <xs:attribute name="importColumns" type="xs:boolean" use="optional" default="true"/>
- <xs:attribute name="importForeignKeysUsingGenericMethod" type="xs:boolean" use="optional" default="false"/>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:group>
- <xs:group name="objectSelections">
- <xs:sequence>
- <xs:choice>
- <xs:element name="allTablesSelection">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:allChildrenSelections"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="tableSelection" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="columnSelection" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:choice>
- <xs:element name="allViewsSelection">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:allChildrenSelections"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="viewSelection" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="columnSelection" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:choice>
- <xs:element name="allSynonymsSelection">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:allChildrenSelections"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="synonymSelection" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:choice>
- <xs:element name="allProceduresSelection">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:allChildrenSelections"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="procedureSelection" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:choice>
- <xs:element name="allFunctionsSelection">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:allChildrenSelections"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="functionSelection" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:referenceable"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:element name="systemObjectsSelections" minOccurs="0">
- <xs:complexType>
- <xs:choice>
- <xs:group ref="relmd:objectSelections" minOccurs="0"/>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:group>
- <xs:group name="metadataSourceSelections">
- <xs:sequence>
- <xs:element ref="relmd:contentStoreDatabaseConnection"/>
- <xs:element ref="relmd:metadataObjectSelections"/>
- </xs:sequence>
- </xs:group>
- <xs:attributeGroup name="allObjectsSelection">
- <xs:attribute name="includeAllObjects" type="xs:boolean" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="allSchemaLevelChildrenSelections">
- <xs:attributeGroup ref="relmd:allChildrenSelections"/>
- <xs:attribute name="includeSystemObjects" type="xs:boolean" use="optional" default="false"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="allChildrenSelections"/>
- <xs:attributeGroup name="selectedObject">
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:attributeGroup>
- </xs:schema>
|