⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simple-methods.xsd

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 XSD
📖 第 1 页 / 共 5 页
字号:
            <xs:attributeGroup ref="attlist.propertyInfoOptional"/>        </xs:complexType>    </xs:element>    <xs:element name="success-prefix">        <xs:complexType mixed="true">            <xs:attributeGroup ref="attlist.propertyInfoOptional"/>        </xs:complexType>    </xs:element>    <xs:element name="success-suffix">        <xs:complexType mixed="true">            <xs:attributeGroup ref="attlist.propertyInfoOptional"/>        </xs:complexType>    </xs:element>    <xs:element name="message-prefix">        <xs:complexType mixed="true">            <xs:attributeGroup ref="attlist.propertyInfoOptional"/>        </xs:complexType>    </xs:element>    <xs:element name="message-suffix">        <xs:complexType mixed="true">            <xs:attributeGroup ref="attlist.propertyInfoOptional"/>        </xs:complexType>    </xs:element>    <xs:element name="default-message">        <xs:complexType mixed="true">            <xs:attributeGroup ref="attlist.propertyInfoOptional"/>        </xs:complexType>    </xs:element>    <xs:element name="results-to-map">        <xs:complexType>            <xs:attributeGroup ref="attlist.results-to-map"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.results-to-map">        <xs:attribute type="xs:string" name="map-name" use="required"/>    </xs:attributeGroup>    <xs:element name="result-to-field">        <xs:complexType>            <xs:attributeGroup ref="attlist.result-to-field"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.result-to-field">        <xs:attribute type="xs:string" name="result-name" use="required"/>        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute type="xs:string" name="field-name"/>    </xs:attributeGroup>    <xs:element name="result-to-request">        <xs:complexType>            <xs:attributeGroup ref="attlist.result-to-request"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.result-to-request">        <xs:attribute type="xs:string" name="result-name" use="required"/>        <xs:attribute type="xs:string" name="request-name"/>    </xs:attributeGroup>    <xs:element name="result-to-session">        <xs:complexType>            <xs:attributeGroup ref="attlist.result-to-session"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.result-to-session">        <xs:attribute type="xs:string" name="result-name" use="required"/>        <xs:attribute type="xs:string" name="session-name"/>    </xs:attributeGroup>    <xs:element name="result-to-result">        <xs:annotation>            <xs:documentation>        NOTE that these attributes are somewhat confusing: result-name is the name of the field in the result of this service call that the value comes FROM;         service-result-name is the name of the field in the result of this simple-method called as a service where the value goes TO;        in other words FROM result-name and TO service-result-name            </xs:documentation>        </xs:annotation>        <xs:complexType>            <xs:attributeGroup ref="attlist.result-to-result"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.result-to-result">        <xs:attribute type="xs:string" name="result-name" use="required"/>        <xs:attribute type="xs:string" name="service-result-name"/>    </xs:attributeGroup>    <xs:element name="call-service-asynch" substitutionGroup="CallOperations">        <xs:annotation>            <xs:documentation>        Calls a service asynchronously and ignores the result, so no return messages        are used; that doesn't mean no errors will result, but they would just be        system errors like database failures, etc which all have system error messages.            </xs:documentation>        </xs:annotation>        <xs:complexType>            <xs:attributeGroup ref="attlist.call-service-asynch"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.call-service-asynch">        <xs:attribute type="xs:string" name="service-name" use="required"/>        <xs:attribute type="xs:string" name="in-map-name"/>        <xs:attribute name="include-user-login" default="true">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="true"/>                    <xs:enumeration value="false"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>    </xs:attributeGroup>    <xs:element name="call-bsh" substitutionGroup="CallOperations">        <xs:annotation>            <xs:documentation>        Runs an external bsh script from the classpath if resource is specified and        then runs the inlined bsh script if any is specified.                The bsh context is the current simple-method environment including maps, lists        and special objects whose names are defined in the simple-method attributes.                The current env cannot be modified, but if a Map is returned by the bsh block        the entries in the map will be put into the current env.                Error messages go on the error list and are handled with the check-errors tag.            </xs:documentation>        </xs:annotation>        <xs:complexType mixed="true">            <xs:attributeGroup ref="attlist.call-bsh"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.call-bsh">        <xs:attribute type="xs:string" name="resource"/>        <xs:attribute type="xs:string" name="error-list-name" default="error_list"/>    </xs:attributeGroup>    <xs:element name="call-simple-method" substitutionGroup="CallOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.call-simple-method"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.call-simple-method">        <xs:attribute type="xs:string" name="xml-resource"/>        <xs:attribute type="xs:string" name="method-name" use="required"/>    </xs:attributeGroup>    <!-- Operations to call Java methods and create Java objects -->    <xs:element name="call-object-method" substitutionGroup="CallOperations">        <xs:complexType>            <xs:choice minOccurs="0" maxOccurs="unbounded">                <xs:element ref="string"/>                <xs:element ref="field"/>            </xs:choice>            <xs:attributeGroup ref="attlist.call-object-method"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.call-object-method">        <xs:attribute type="xs:string" name="obj-field-name" use="required"/>        <xs:attribute type="xs:string" name="obj-map-name"/>        <xs:attribute type="xs:string" name="method-name" use="required"/>        <xs:attribute type="xs:string" name="ret-field-name"/>        <xs:attribute type="xs:string" name="ret-map-name"/>    </xs:attributeGroup>    <xs:element name="call-class-method" substitutionGroup="CallOperations">        <xs:complexType>            <xs:choice minOccurs="0" maxOccurs="unbounded">                <xs:element ref="string"/>                <xs:element ref="field"/>            </xs:choice>            <xs:attributeGroup ref="attlist.call-class-method"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.call-class-method">        <xs:attribute type="xs:string" name="class-name" use="required"/>        <xs:attribute type="xs:string" name="method-name" use="required"/>        <xs:attribute type="xs:string" name="ret-field-name"/>        <xs:attribute type="xs:string" name="ret-map-name"/>    </xs:attributeGroup>    <xs:element name="create-object" substitutionGroup="CallOperations">        <xs:complexType>            <xs:choice minOccurs="0" maxOccurs="unbounded">                <xs:element ref="string"/>                <xs:element ref="field"/>            </xs:choice>            <xs:attributeGroup ref="attlist.create-object"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.create-object">        <xs:attribute type="xs:string" name="class-name" use="required"/>        <xs:attribute type="xs:string" name="field-name"/>        <xs:attribute type="xs:string" name="map-name"/>    </xs:attributeGroup>    <!-- Operations to copy map fields in the current env to context specific containers -->    <!-- Event specific operations -->    <xs:element name="field-to-request" substitutionGroup="EventOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.field-to-request"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.field-to-request">        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute type="xs:string" name="field-name" use="required"/>        <xs:attribute type="xs:string" name="request-name"/>    </xs:attributeGroup>    <xs:element name="field-to-session" substitutionGroup="EventOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.field-to-session"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.field-to-session">        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute type="xs:string" name="field-name" use="required"/>        <xs:attribute type="xs:string" name="session-name"/>    </xs:attributeGroup>    <xs:element name="request-to-field" substitutionGroup="EventOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.request-to-field"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.request-to-field">        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute type="xs:string" name="field-name" use="required"/>        <xs:attribute type="xs:string" name="default"/>        <xs:attribute type="xs:string" name="request-name"/>    </xs:attributeGroup>    <xs:element name="request-parameters-to-list" substitutionGroup="EventOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.request-parameters-to-list"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.request-parameters-to-list">        <xs:attribute type="xs:string" name="request-name" use="required"/>        <xs:attribute type="xs:string" name="list-name"/>    </xs:attributeGroup>    <xs:element name="session-to-field" substitutionGroup="EventOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.session-to-field"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.session-to-field">        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute type="xs:string" name="field-name" use="required"/>        <xs:attribute type="xs:string" name="default"/>        <xs:attribute type="xs:string" name="session-name"/>    </xs:attributeGroup>    <xs:element name="webapp-property-to-field" substitutionGroup="EventOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.webapp-property-to-field"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.webapp-property-to-field">        <xs:attribute type="xs:string" name="resource" use="required"/>        <xs:attribute type="xs:string" name="property" use="required"/>        <xs:attribute type="xs:string" name="default"/>        <xs:attribute type="xs:string" name="field-name" use="required"/>        <xs:attribute type="xs:string" name="session-name"/>    </xs:attributeGroup>    <!-- Service specific operations -->    <xs:element name="field-to-result" substitutionGroup="ServiceOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.field-to-result"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.field-to-result">        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute type="xs:string" name="field-name" use="required"/>        <xs:attribute type="xs:string" name="result-name"/>    </xs:attributeGroup>    <!-- Environment specific operations -->    <xs:element name="map-to-map" substitutionGroup="EnvOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.map-to-map"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.map-to-map">        <xs:attribute type="xs:string" name="map-name" use="required"/>        <xs:attribute type="xs:string" name="to-map-name"/>    </xs:attributeGroup>    <xs:element name="field-to-field" substitutionGroup="EnvOperations">        <xs:complexType>            <xs:attributeGroup ref="attlist.field-to-field"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.field-to-field">        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute type="xs:string" name="field-name" use="required"/>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -