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 @ 45652
History | View | Annotate | Download (5.42 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" order="40"> |
39 |
<description>Name of the table or view to access</description> |
40 |
</field>
|
41 |
<field name="DefaultGeometryField" type="string" mandatory="false" group="Basic" order="50"> |
42 |
<description>Default geometry field</description> |
43 |
</field>
|
44 |
|
45 |
<field name="GeometryType" type="integer" mandatory="false" defaultValue="-1" group="Basic" order="60"> |
46 |
<description>Geometry type</description> |
47 |
<availableValues>
|
48 |
<value label="(Select an item)">-1</value> |
49 |
<value label="GEOMETRY">0</value> |
50 |
<value label="POINT">1</value> |
51 |
<value label="MULTIPOINT">7</value> |
52 |
<value label="CIRCLE">11</value> |
53 |
<value label="ARC">12</value> |
54 |
<value label="ELLIPSE">13</value> |
55 |
<value label="SPLINE">14</value> |
56 |
<value label="ELLIPTICARC">15</value> |
57 |
<value label="LINE">18</value> |
58 |
<value label="POLYGON">19</value> |
59 |
<value label="MULTILINE">21</value> |
60 |
<value label="MULTIPOLYGON">22</value> |
61 |
<value label="CIRCUMFERENCE">23</value> |
62 |
<value label="PERIELLIPSE">24</value> |
63 |
<value label="FILLEDSPLINE">25</value> |
64 |
</availableValues>
|
65 |
</field>
|
66 |
|
67 |
<field name="GeometrySubtype" type="integer" mandatory="false" defaultValue="4" group="Basic" order="70"> |
68 |
<description>Geometry subtype</description> |
69 |
<availableValues>
|
70 |
<value label="(Select an item)">4</value> |
71 |
<value label="GEOM2D">0</value> |
72 |
<value label="GEOM3D">1</value> |
73 |
<value label="GEOM2DM">2</value> |
74 |
<value label="GEOM3DM">3</value> |
75 |
</availableValues>
|
76 |
</field>
|
77 |
|
78 |
<!-- Advanced -->
|
79 |
<field name="CRS" type="crs" mandatory="false"> |
80 |
<description>CRS used to override the autodetection</description> |
81 |
</field>
|
82 |
<field name="SQL" type="string" mandatory="false"> |
83 |
<description>SQL to use instead the table name</description> |
84 |
</field>
|
85 |
<field name="Fields" type="string" mandatory="false"> |
86 |
<description>comma separated list of the field names that we want to use</description> |
87 |
</field>
|
88 |
<field name="BaseFilter" type="string" mandatory="false"> |
89 |
<description>This filter is passed to BD provider on each request as a base filter.</description> |
90 |
</field>
|
91 |
<field name="BaseOrder" type="string" mandatory="false"> |
92 |
<description>This order is used if no custom order is request in query.</description> |
93 |
</field>
|
94 |
<field name="PKFields" type="string" mandatory="false"> |
95 |
<description>Comma separated list of the field names that compound the primary key</description> |
96 |
</field>
|
97 |
<field name="Workingarea" type="envelope" mandatory="false"> |
98 |
<description>Envelop that define the filter by area used</description> |
99 |
</field>
|
100 |
</fields>
|
101 |
</class>
|
102 |
|
103 |
<class name="DBNewStoreParameters"> |
104 |
<description>Store the parameters need to open a table of a database</description> |
105 |
<extends>
|
106 |
<class name="DBResourceParameters"/> |
107 |
<class namespace="dal" name="NewProviderParameters"/> |
108 |
</extends>
|
109 |
<fields>
|
110 |
<field name="Table" type="string" mandatory="true" group="Basic"> |
111 |
<description>Name of the table or view to access</description> |
112 |
</field>
|
113 |
</fields>
|
114 |
</class>
|
115 |
|
116 |
</classes>
|
117 |
</definitions>
|