a.binder %!s(int64=8) %!d(string=hai) anos
pai
achega
3d27009382

+ 116 - 1
SE/schema/ant-object/default_db.Dzialki/Dzialki/Dzialki.xsd

@@ -169,7 +169,122 @@
    <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
    <xs:complexType name="Dzialki_Known">
       <xs:complexContent>
-         <xs:extension base="default_db__x3A__Dzialki:Dzialki"/>
+         <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="the_geom" type="gml:AbstractFeatureType">
+                  <xs:annotation>
+                     <xs:documentation>Dane geograficzne obiektu - linia, punkt,
+                  polygon</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_STATUS_INFO" type="xs:string"/>
+               <xs:element name="opis" type="xs:string">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB" type="xs:int"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc" type="xs:double"/>
+               <xs:element name="Powierzchnia" type="xs:double"/>
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED" type="xs:string"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="cza_Dzialki___d4e6461-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY" type="xs:string"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="cza_Dzialki___d4e6467-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT" type="xs:int"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS" type="xs:int"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>

+ 116 - 1
SE/schema/ant-object/default_db.Dzialki/Dzialki_Known/Dzialki_Known.xsd

@@ -169,7 +169,122 @@
    <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
    <xs:complexType name="Dzialki_Known">
       <xs:complexContent>
-         <xs:extension base="default_db__x3A__Dzialki:Dzialki"/>
+         <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="the_geom" type="gml:AbstractFeatureType">
+                  <xs:annotation>
+                     <xs:documentation>Dane geograficzne obiektu - linia, punkt,
+                  polygon</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_STATUS_INFO" type="xs:string"/>
+               <xs:element name="opis" type="xs:string">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB" type="xs:int"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc" type="xs:double"/>
+               <xs:element name="Powierzchnia" type="xs:double"/>
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED" type="xs:string"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="cza_Dzialki___d4e6461-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY" type="xs:string"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="cza_Dzialki___d4e6467-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT" type="xs:int"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS" type="xs:int"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>

+ 116 - 1
SE/schema/ant-object/default_db.Dzialki/Dzialki_Unknown/Dzialki_Unknown.xsd

@@ -169,7 +169,122 @@
    <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
    <xs:complexType name="Dzialki_Known">
       <xs:complexContent>
-         <xs:extension base="default_db__x3A__Dzialki:Dzialki"/>
+         <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="the_geom" type="gml:AbstractFeatureType">
+                  <xs:annotation>
+                     <xs:documentation>Dane geograficzne obiektu - linia, punkt,
+                  polygon</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_STATUS_INFO" type="xs:string"/>
+               <xs:element name="opis" type="xs:string">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB" type="xs:int"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc" type="xs:double"/>
+               <xs:element name="Powierzchnia" type="xs:double"/>
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED" type="xs:string"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="cza_Dzialki___d4e6461-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY" type="xs:string"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="cza_Dzialki___d4e6467-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT" type="xs:int"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS" type="xs:int"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>