Przeglądaj źródła

Przykład z inherit

a.binder 8 lat temu
rodzic
commit
f46b32dab9

+ 8 - 1
SE/schema/ant-object/default_db.BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY.xsd

@@ -79,7 +79,14 @@
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
-               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:BI_audit_ENERGA_PRACOWNICY"
+                  system_cache__appinfo:heritage_acl="true">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
+                  <acl_rule_inherit_to_all_refs_by_primary/>
+                  <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
+               </system_cache__appinfo:inherit>
+               <system_cache__appinfo:exherit_all 
+                  system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
             </system_cache__appinfo:heritage>
          </xs:appinfo>
       </xs:annotation>

+ 9 - 1
SE/schema/ant-object/default_db.BI_audit_ENERGA_PRACOWNICY_adresy/BI_audit_ENERGA_PRACOWNICY_adresy/BI_audit_ENERGA_PRACOWNICY_adresy.xsd

@@ -49,7 +49,6 @@
       schemaLocation="../../default_db.BI_audit_MSIG_company/BI_audit_MSIG_company/BI_audit_MSIG_company.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_person.xsd"
       schemaLocation="../../default_db.BI_audit_MSIG_person/BI_audit_MSIG_person/BI_audit_MSIG_person.xsd"/>
-
    <!--<xs:simpleType name="A_STATUS_Type" id="NICY_adresy___d4e4846-1_A_STATUS_T">
       <xs:restriction base="xs:string">
          <xs:enumeration value="NORMAL"/>
@@ -62,6 +61,15 @@
       </xs:restriction>
    </xs:simpleType>-->
    <xs:complexType name="BI_audit_ENERGA_PRACOWNICY_adresy" id="NICY_adresy___d4e4855-1_BI_audit_E">
+      <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit  system_cache__appinfo:heritage_acl="true" system_cache__appinfo:inherit_ref="default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_elements_and_refs_by_primary/>
+               </system_cache__appinfo:inherit>
+            </system_cache__appinfo:heritage>
+         </xs:appinfo>
+      </xs:annotation>
       <xs:sequence id="NICY_adresy___d4e4856-1">
          <xs:element name="ID" type="xs:integer" id="NICY_adresy___d4e4881-1_ID"/>
          <!--<xs:element name="the_geom" type="gml:AbstractFeatureType"