Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.lib / src / main / resources / org / gvsig / fmap / dal / store / db / DBParameters.xml @ 40559

History | View | Annotate | Download (2.84 KB)

1
<?xml version="1.0"?>
2
<!--
3

4
    gvSIG. Desktop Geographic Information System.
5

6
    Copyright (C) 2007-2013 gvSIG Association.
7

8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

26
-->
27
<definitions>
28
  <version>1.0.0</version>
29
  <classes>
30

    
31
    <class name="DBStoreParameters">
32
      <description>Store the parameters need to open a table of a database</description>
33
      <extends>
34
              <class name="DBResourceParameters"/>
35
      </extends>
36
      <fields>
37
                <!--  Basic data -->
38
        <field name="Table" type="string" mandatory="true" group="Basic">
39
          <description>Name of the table or view to access</description>
40
        </field>
41
        <field name="DefaultGeometryField" type="string" mandatory="false" 
42
            group="Basic">
43
          <description>Default geometry field</description>
44
        </field>
45

    
46
                <!-- Advanced  -->
47
        <field name="CRS" type="crs" mandatory="false">
48
          <description>CRS used to override the autodetection</description>
49
        </field>
50
        <field name="SQL" type="string" mandatory="false">
51
          <description>SQL to use instead the table name</description>
52
        </field>
53
        <field name="Fields" type="string" mandatory="false">
54
          <description>comma separated list of the field names that we want to use</description>
55
        </field>
56
        <field name="BaseFilter" type="string" mandatory="false">
57
          <description>This filter is passed to BD provider on each request as a base filter.</description>
58
        </field>
59
        <field name="BaseOrder" type="string" mandatory="false">
60
          <description>This order is used if no custom order is request in query.</description>
61
        </field>
62
        <field name="PKFields" type="string" mandatory="false">
63
          <description>Comma separated list of the field names that compound the primary key</description>
64
        </field>
65
        <field name="Workingarea" type="envelope" mandatory="false">
66
          <description>Envelop that define the filter by area used</description>
67
        </field>
68
      </fields>
69
    </class>
70

    
71
  </classes>
72
</definitions>