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

📄 datasource.exsd

📁 基于eclipse的birt报表!!! 是个web项目!
💻 EXSD
📖 第 1 页 / 共 2 页
字号:
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.birt.data.oda">
<annotation>
      <appInfo>
         <meta.schema plugin="org.eclipse.birt.data.oda" id="dataSource" name="BIRT Open Data Access Extension"/>
      </appInfo>
      <documentation>
         [Deprecated] This extension point is used to support the extension of BIRT design time and runtime data source access.  Each extension must implement the BIRT Open Data Access (ODA) Java runtime interfaces defined in the &lt;i&gt;org.eclipse.birt.data.oda&lt;/i&gt; package.
&lt;p&gt;
&lt;b&gt;As of BIRT 2.0, the BIRT ODA run-time framework has been migrated to the Eclipse Data Tools Platform (DTP) project.
It is replaced by the &lt;i&gt;org.eclipse.datatools.connectivity.oda.dataSource&lt;/i&gt; extension point.
&lt;br&gt;BIRT 2.0 provides a DTP-to-BIRT ODA adapter plug-in to support
existing ODA run-time extensions that implemented this extension point.
&lt;/b&gt;
      </documentation>
   </annotation>

   <element name="extension">
      <complexType>
         <sequence>
            <element ref="dataSource"/>
            <element ref="dataSet" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="point" type="string" use="required">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="dataSource">
      <annotation>
         <documentation>
            The definition of a type of ODA data source extension for use at design time and run-time.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="traceLogging" minOccurs="0" maxOccurs="1"/>
            <element ref="properties" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  A fully qualified ID that uniquely identifies this ODA data source extension in the BIRT environment. If a data source designer extension (which extends the &lt;i&gt;org.eclipse.birt.report.designer.ui.datasource&lt;/i&gt; extension point) for this ODA driver is available, the value of this attribute must match that of the designer extension&apos;s &lt;i&gt;id&lt;/i&gt; attribute in its &lt;i&gt; data-Source &lt;/i&gt; element.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="odaVersion" type="string" use="default" value="2.0">
            <annotation>
               <documentation>
                  Version of the &lt;i&gt;org.eclipse.birt.data.oda&lt;/i&gt; plug-in for which this driver is developed. This element is required and should take the format of Major.Minor or Major.Minor.Service (e.g. 2.0 or 2.0.1).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="defaultDisplayName" type="string">
            <annotation>
               <documentation>
                  The display name of the ODA data source extension.  Default to the extension id if no display name is specified.It can be used by the BIRT Designer in displaying a list of ODA data source extensions, when they do not have a corresponding data source editor (dataSourceUI extension point).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="displayNameID" type="string">
            <annotation>
               <documentation>
                  Not supported in Release 1.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="driverClass" type="string" use="required">
            <annotation>
               <documentation>
                  Concrete class that implements the &lt;i&gt;org.eclipse.birt.data.oda.IDriver&lt;/i&gt; interface. This is the entry point of the ODA runtime driver.  The same driver may support multiple data source extensions.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.birt.data.oda.IDriver"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="setThreadContextClassLoader" type="boolean" use="default" value="false">
            <annotation>
               <documentation>
                  If true, the consumer of the ODA runtime extension plug-in should set the thread context class loader to the one used to load this driver before calling any ODA interface method.In BIRT release 1, any data source extension with this flag set to true would take precedence, and is applied to all data source extensions implemented by this plug-in. In BIRT Data Engine, the thread context class loader being set is the OSGi class loader used to load this ODA runtime plugin.  It is not designed to be used by a plugin to in turn load additional classes.  If further class loading is needed, it is up to individual ODA runtime plugin implementation to provide its own URLClassLoader, and switch thread context class loader as appropriate.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="dataSet">
      <annotation>
         <documentation>
            The definition of a type of data set supported by this dataSource extension.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="dataTypeMapping" minOccurs="1" maxOccurs="unbounded"/>
            <element ref="properties" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  A fully qualified ID that uniquely identifies this ODA data set definition in the BIRT environment.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="defaultDisplayName" type="string">
            <annotation>
               <documentation>
                  The display name of the ODA data set definition.  Default to its id if no display name is specified.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="displayNameID" type="string">
            <annotation>
               <documentation>
                  Not supported in Release 1.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="dataTypeMapping">
      <annotation>
         <documentation>
            A single mapping from a data provider&apos;s native data type to one or more ODA data types.  Each native data type must be mapped to a primary ODA scalar data type.  The driver can optionally provide a list of alternate ODA data types to which it is capable of converting a native data type.This data type mapping facilitates all ODA consumers to map from the same set of ODA data types to its own application-specific data types.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="alternativeOdaDataType" minOccurs="0" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="nativeDataType" type="string">
            <annotation>
               <documentation>
                  Native data type name (a string)
               </documentation>
            </annotation>
         </attribute>
         <attribute name="nativeDataTypeCode" type="string" use="required">
            <annotation>
               <documentation>
                  Native data type code (an integer). Its value must match one of the data type codes returned in the driver&apos;s ODA interface implementation.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="odaScalarDataType" use="default" value="String">
            <annotation>
               <documentation>
                  The primary ODA scalar data type which the native type maps to. Supported ODA data types are: date, double, integer, string, time, timestamp and decimal.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="Date">
                  </enumeration>
                  <enumeration value="Double">
                  </enumeration>
                  <enumeration value="Integer">
                  </enumeration>
                  <enumeration value="String">
                  </enumeration>
                  <enumeration value="Time">
                  </enumeration>
                  <enumeration value="Timestamp">
                  </enumeration>
                  <enumeration value="Decimal">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="alternativeOdaDataType">
      <annotation>
         <documentation>
            Provide an alternative mapping to an ODA scalar data type.
         </documentation>
      </annotation>
      <complexType>
         <attribute name="odaScalarDataType" use="required">
            <annotation>
               <documentation>
                  The ODA scalar data type to which the native type may be converted by the driver.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="Date">
                  </enumeration>
                  <enumeration value="Double">
                  </enumeration>
                  <enumeration value="Integer">
                  </enumeration>
                  <enumeration value="String">
                  </enumeration>
                  <enumeration value="Time">
                  </enumeration>
                  <enumeration value="Timestamp">
                  </enumeration>
                  <enumeration value="Decimal">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="traceLogging">
      <annotation>
         <documentation>
            Configures the ODA run-time driver&apos;s trace logging settings for the data source extension.The configured values are passed through to the driver&apos;s implementation of the &lt;code&gt;IDriver.setLogConfiguration&lt;/code&gt; method.&lt;br&gt;It is up to individual ODA driver on how to honor any of these trace logging attributes as appropriate.&lt;br&gt;&lt;br&gt;Note: The trace logging configuration specified in the plug-in PDE .options file would take precedence over those configured in this element, if the debug tracing flag is set to &quot;true&quot;.&lt;br&gt;The ODA plug-in&apos;s PDE tracing options, listed below for cross reference, match the attributes of this element.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;plug-in Id&amp;gt;/debug = true/false&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;plug-in Id&amp;gt;/traceLogging/logLevel &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;plug-in Id&amp;gt;/traceLogging/logFileNamePrefix &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;plug-in Id&amp;gt;/traceLogging/logDirectory&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;plug-in Id&amp;gt;/traceLogging/logFormatterClass
         </documentation>
      </annotation>
      <complexType>
         <attribute name="logLevel" type="string" use="default" value="WARNING">
            <annotation>
               <documentation>
                  The name or numeric value for the driver&apos;s log level.&lt;br&gt;The log levels&apos; names and corresponding numeric values are:&lt;br&gt; &quot;SEVERE&quot;       = 1000; &quot;WARNING&quot;      = 900; &quot;INFO&quot;         = 800; &quot;CONFIG&quot;       = 700; &quot;FINE&quot;         = 500; &quot;FINER&quot;        = 400; &quot;FINEST&quot;       = 300; &quot;ALL&quot;          = 0; &quot;OFF&quot;          = 1001 or higher .
               </documentation>
            </annotation>
         </attribute>
         <attribute name="logFileNamePrefix" type="string">
            <annotation>
               <documentation>
                  A string prefix for driver&apos;s log file name.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="logDirectory" type="string">
            <annotation>
               <documentation>
                  Directory for log file.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="logFormatterClass" type="string">
            <annotation>
               <documentation>
                  The class name of a concrete log formatter, suitable for use by the driver-specific logging utility.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.birt.data.oda.util.logging.LogFormatter"/>
               </appInfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="property">
      <annotation>
         <documentation>
            A property whose value can be edited using the BIRT Designer at design-time.  Its value is then passed to the ODA runtime driver during report generation.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="choice" minOccurs="0" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  Unique name of the property
               </documentation>
            </annotation>
         </attribute>
         <attribute name="defaultDisplayName" type="string">
            <annotation>
               <documentation>
                  The default display name, which is used if no localized display name is found with I18N.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="displayNameID" type="string">
            <annotation>
               <documentation>
                  Not supported in Release 1.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="type" use="default" value="string">
            <annotation>
               <documentation>
                  Type of the property. The property type could be one of value from the enumerations.
               </documentation>
            </annotation>

⌨️ 快捷键说明

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