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.jdbc / src / main / resources / org / gvsig / fmap / dal / store / jdbc2 / JDBC2Parameters.xml @ 43361

History | View | Annotate | Download (5.15 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
    <class name="JDBC2ResourceParameters">
31
      <description></description>
32
      <extends>
33
        <class>DBResourceParameters</class>
34
      </extends>
35
      <fields>
36
        <field name="JDBCDriverClass" type="string" mandatory="true" group="Advanced">
37
          <description>JDBC Driver class</description>
38
        </field>
39
        <field name="URL" type="string" mandatory="true" group="Connection">
40
          <description>JDBC url connection</description>
41
        </field>
42
        <field name="Catalog" type="string" mandatory="false" group="Basic">
43
          <description>Database catalog</description>
44
        </field>
45
        <field name="Schema" type="string" mandatory="false" group="Basic">
46
          <description>Database schema</description>
47
        </field>
48
      </fields>
49
    </class>
50

    
51
    <class name="JDBC2StoreParameters">
52
      <extends>
53
        <class>JDBC2ResourceParameters</class>
54
        <class>DBStoreParameters</class>
55
      </extends>
56
      <tags>
57
          <value name="defaultGroup" value="Basic"/>
58
      </tags>
59
      <fields>
60
        <field name="precalculateEnvelope" type="boolean" mandatory="false" group="Advanced" defaultValue="false" >
61
          <description>If set to true calculate the envelope when open the store in a background thread</description>
62
        </field>
63
      </fields>
64
    </class>
65

    
66
    <class name="JDBC2NewStoreParameters">
67
      <description></description>
68
      <extends>
69
        <class>JDBC2ResourceParameters</class>
70
        <class>DBNewStoreParameters</class>
71
      </extends>
72
      <tags>
73
          <value name="defaultGroup" value="Basic"/>
74
      </tags>
75
      <fields>
76
        <field name="selectRole" label="Roles for select" type="String" mandatory="false" defaultValue="" group="Permissions">
77
          <description>Roles asigned to have select privilegies</description>
78
        </field>
79
        <field name="insertRole" label="Roles for insert" type="String" mandatory="false" defaultValue="" group="Permissions">
80
          <description>Roles asigned to have insert privilegies</description>
81
        </field>
82
        <field name="updateRole" label="Roles for update" type="String" mandatory="false" defaultValue="" group="Permissions">
83
          <description>Roles asigned to have update privilegies</description>
84
        </field>
85
        <field name="deleteRole" label="Roles for delete" type="String" mandatory="false" defaultValue="" group="Permissions">
86
          <description>Roles asigned to have delete privilegies</description>
87
        </field>
88
        <field name="truncateRole" label="Roles for truncate" type="String" mandatory="false" defaultValue="" group="Permissions">
89
          <description>Roles asigned to have truncate privilegies</description>
90
        </field>
91
        <field name="referenceRole" label="Roles for reference" type="String" mandatory="false" defaultValue="" group="Permissions">
92
          <description>Roles asigned to have reference privilegies</description>
93
        </field>
94
        <field name="triggerRole" label="Roles for trigger" type="String" mandatory="false" defaultValue="" group="Permissions">
95
          <description>Roles asigned to have trigger privilegies</description>
96
        </field>
97
        <field name="allRole" label="Roles for all" type="String" mandatory="false" defaultValue="" group="Permissions">
98
          <description>Roles asigned to have all privilegies</description>
99
        </field>
100
        <field name="postCreatingStatement" label="Post-creating statement" type="String" mandatory="false" defaultValue="" group="Advanced">
101
          <description>Roles asigned to have all privilegies</description>
102
        </field>
103

    
104
      </fields>
105
    </class>
106
    
107
    <class name="JDBC2ServerExplorerParameters">
108
      <extends>
109
        <class>JDBC2ResourceParameters</class>
110
        <class>DBServerExplorerParameters</class>
111
      </extends>
112
      <tags>
113
          <value name="defaultGroup" value="Basic"/>
114
      </tags>
115
      <fields>
116
        <field name="ShowInformationDBTables" type="boolean" 
117
            mandatory="false" defaultValue="false" group="Basic">
118
          <description>Show information tables</description>
119
        </field>
120
      </fields>
121
    </class>
122

    
123

    
124
  </classes>
125
</definitions>