| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:gml="http://www.opengis.net/gml/3.2"
- xmlns:SystemObjects__x3A__BI="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI.xsd"
- xmlns:SystemObjects__x3A__BI_from="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_from.xsd"
- xmlns:SystemObjects__x3A__BI_row="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_row.xsd"
- xmlns:SystemObjects__x3A__BI_to="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_to.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
- xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
- xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
- xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
- xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
- xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
- elementFormDefault="qualified"
- targetNamespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI.xsd"
- vc:minVersion="1.1">
- <xs:annotation>
- <xs:documentation>@2018-03 Bindera: propozycja dla bazowych dziedziczen do tworzenia patternow dla silnik a BI.
- Silnik BI potrzebuje konfiguracji, które obiekty są początkowe, które są końcowe oraz które są pomiędzy.
- Jest też czasami konieczność aby znać kolejność wyszukanych elementów.
- Zatem należy zdefiniować OD (było pracownicy), DO (było Kontrahenci) oraz ROW (było BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row), ROW_object (było BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object) oraz ewentualna abstrakcyjna definicja BI (było BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA )</xs:documentation>
- </xs:annotation>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_from.xsd"
- schemaLocation="BI_from.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_to.xsd"
- schemaLocation="BI_to.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_row.xsd"
- schemaLocation="BI_row.xsd"/>
- <xs:complexType name="BI" id="ts__x3A__BI___d15e8755-1_BI">
- <xs:annotation>
- <xs:documentation> ewentualna abstrakcyjna definicja BI (było BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA )
-
- TODO jak rozroznic wyszukiwanie generalne dla wszystkich oraz dla niektorych? Moze lepiej aby bylo zawsze wiadome ktore elementy sa poddane analizie , a ktore nie, aby to kontrolowac - wiec zawsze bedzie ref</xs:documentation>
- </xs:annotation>
- </xs:complexType>
- <xs:complexType name="BI_instance" id="ts__x3A__BI___d15e8759-1_BI_instanc">
- <xs:annotation>
- <xs:documentation>Schema dla instancjonowania wyszukanych elementow</xs:documentation>
- </xs:annotation>
- <xs:complexContent id="ts__x3A__BI___d15e8763-1">
- <xs:extension base="SystemObjects__x3A__BI:BI" id="ts__x3A__BI___d15e8764-1">
- <xs:sequence id="ts__x3A__BI___d15e8765-1">
- <xs:element name="ID" type="xs:int" id="ts__x3A__BI___d15e8766-1_ID">
- <xs:annotation>
- <xs:documentation>Primary</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0"
- name="BI_analiza_maxDepth"
- type="xs:int"
- id="ts__x3A__BI___d15e8770-1_BI_analiza">
- <xs:annotation>
- <xs:documentation>Mapowane do silnika BI dla glebokosci, uzyte w asserts dla unikalnych wyszukiwan typow</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="label" type="xs:string" id="ts__x3A__BI___d15e8774-1_label"/>
- <xs:assert test="label = concat('Analiza BI nr ', ID)"
- id="ts__x3A__BI___d15e8775-1">
- <xs:annotation>
- <xs:documentation>Przykładowy label z primary KEY</xs:documentation>
- </xs:annotation>
- </xs:assert>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="BI_instance_depth_required"
- id="ts__x3A__BI___d15e8779-1_BI_instanc">
- <xs:annotation>
- <xs:documentation>Dla patternow ktore wymagaja podania limitu konca - kontrola unikalnosci</xs:documentation>
- </xs:annotation>
- <xs:complexContent id="ts__x3A__BI___d15e8783-1">
- <xs:restriction base="SystemObjects__x3A__BI:BI_instance">
- <xs:sequence id="ts__x3A__BI___d15e8785-1">
- <xs:element name="ID" type="xs:int" id="ts__x3A__BI___d15e8786-1_ID">
- <xs:annotation>
- <xs:documentation>Primary</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1"
- name="BI_analiza_maxDepth"
- type="xs:int"
- id="ts__x3A__BI___d15e8790-1_BI_analiza">
- <xs:annotation>
- <xs:documentation>Mapowane do silnika BI dla glebokosci, uzyte w asserts dla unikalnych wyszukiwan typow</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:assert test="SystemObjects__x3A__BI_row:BI_row/count(SystemObjects__x3A__BI_row_object:BI_row_object) <= BI_analiza_maxDepth"
- id="ts__x3A__BI___d15e8794-1">
- <xs:annotation>
- <xs:documentation>Rekursywnosc - dlugosc wyszukiwania scisle zwiazana z parametrem MaxDepth</xs:documentation>
- </xs:annotation>
- </xs:assert>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:element abstract="false"
- name="BI"
- type="SystemObjects__x3A__BI:BI_instance"
- id="ts__x3A__BI___d15e8798-1_BI">
- <xs:annotation>
- <xs:documentation>Abstrakcyjny przykladowy typowy model
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="BI_instance" id="ts__x3A__BI___d15e8802-1_BI_instanc">
- <xs:complexType id="ts__x3A__BI___d15e8803-1">
- <xs:complexContent id="ts__x3A__BI___d15e8804-1">
- <xs:extension base="SystemObjects__x3A__BI:BI_instance" id="ts__x3A__BI___d15e8805-1">
- <xs:sequence id="ts__x3A__BI___d15e8806-1">
- <xs:element maxOccurs="unbounded"
- ref="SystemObjects__x3A__BI_from:BI_from"
- id="ts__x3A__BI___d15e8807-1"/>
- <xs:element ref="SystemObjects__x3A__BI_row:BI_row"
- maxOccurs="unbounded"
- minOccurs="0"
- id="ts__x3A__BI___d15e8808-1">
- <xs:annotation>
- <xs:documentation>TODO chyba nie zawsze musi byc cokolwiek znaleizone?</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded"
- minOccurs="0"
- ref="SystemObjects__x3A__BI_to:BI_to"
- id="ts__x3A__BI___d15e8812-1">
- <xs:annotation>
- <xs:documentation>Opcjonalne wskazanie namespace celu lub/i konkretnych instancji</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:unique name="BI_from">
- <xs:annotation>
- <xs:documentation>Unikalność patternów - nie ma sensu aby kilkukrotnie definiować np PRACOWNICY jako OD</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="SystemObjects__x3A__BI_from:BI_from"/>
- <xs:field xpath="targetNamespace"/>
- </xs:unique>
- <xs:unique name="BI_to">
- <xs:annotation>
- <xs:documentation>Cel szukania unikalny namespace jeden raz</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="SystemObjects__x3A__BI_to:BI_to"/>
- <xs:field xpath="targetNamespace"/>
- </xs:unique>
- </xs:element>
- <xs:group name="BI">
- <xs:annotation>
- <xs:documentation>Abstrakcyjny przykladowy typowy model
- </xs:documentation>
- </xs:annotation>
- <xs:sequence id="ts__x3A__BI___d15e8832-1">
- <xs:element ref="SystemObjects__x3A__BI:BI" id="ts__x3A__BI___d15e8833-1"/>
- </xs:sequence>
- </xs:group>
- <xs:simpleType name="targetNamespace" id="ts__x3A__BI___d15e8834-1_targetName">
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
- </xs:schema>
|