Statistics
| Revision:

svn-gvsig-desktop / trunk / applications / appgvSIG / config / mapping.xml @ 312

History | View | Annotate | Download (2.99 KB)

1 312 fernando
<!DOCTYPE mapping PUBLIC
2
  "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
3
  "http://castor.exolab.org/mapping.dtd">
4
<mapping>
5
  <description>Proyecto openSIG</description>
6
  <class name="com.iver.cit.opensig.project.castor.DefaultProject">
7
          <map-to xml="project"/>
8
    <field name="name">
9
      <bind-xml name="name" node="attribute"/>
10
    </field>
11
    <field name="owner" required="false">
12
      <bind-xml name="owner" node="attribute"/>
13
    </field>
14
    <field name="comments" required="false">
15
      <bind-xml name="description" node="attribute"/>
16
    </field>
17
    <field name="path">
18
      <bind-xml name="path" node="attribute"/>
19
    </field>
20
    <field name="creationDate">
21
      <bind-xml name="date" node="attribute"/>
22
    </field>
23
    <field name="color">
24
      <bind-xml name="color" node="attribute"/>
25
    </field>
26
    <field name="viewArray" collection="array" type="com.iver.cit.opensig.project.castor.View">
27
      <bind-xml name="view" node="element"/>
28
    </field>
29
    <field name="extentArray"
30
    type="com.iver.cit.opensig.project.castor.Extent"
31
    collection="array">
32
      <bind-xml name="extent-array" node="element" />
33
    </field>
34
  </class>
35
  <class name="com.iver.cit.opensig.project.castor.View"
36
          extends="com.iver.cit.opensig.project.castor.DefaultProjectElement">
37
    <field name="mapUnits" type="int">
38
      <bind-xml name="mapUnits" node="attribute"/>
39
    </field>
40
    <field name="distanceUnits" type="int">
41
      <bind-xml name="distanceUnits" node="attribute"/>
42
    </field>
43
  </class>
44
  <class name="com.iver.cit.opensig.project.castor.DefaultProjectElement">
45
    <field name="name">
46
      <bind-xml name="name" node="attribute"/>
47
    </field>
48
    <field name="owner" required="false">
49
      <bind-xml name="owner" node="attribute"/>
50
    </field>
51
    <field name="comment" required="false">
52
      <bind-xml name="description" node="attribute"/>
53
    </field>
54
    <field name="creationDate">
55
      <bind-xml name="date" node="attribute"/>
56
    </field>
57
  </class>
58
  <class name="com.iver.cit.opensig.project.castor.Extent">
59
    <description>Default mapping for class
60
    com.iver.cit.opensig.project.castor.Extent</description>
61
    <map-to xml="extent" />
62
    <field name="encuadre" type="java.lang.String">
63
      <bind-xml name="bounds" node="attribute" />
64
    </field>
65
    <field name="description" type="java.lang.String">
66
      <bind-xml name="description" node="element" />
67
    </field>
68
  </class>
69
  <class name="com.iver.cit.opensig.fmap.IFLayer">
70
    <description>Default mapping for class
71
    com.iver.cit.opensig.fmap.IFLayer</description>
72
    <map-to xml="IFLayer" />
73
    <field name="visible" type="boolean">
74
      <bind-xml name="visible" node="attribute" />
75
    </field>
76
    <field name="minScale" type="int">
77
      <bind-xml name="min-scale" node="attribute" />
78
    </field>
79
    <field name="maxScale" type="int">
80
      <bind-xml name="max-scale" node="attribute" />
81
    </field>
82
    <field name="name" type="java.lang.String">
83
      <bind-xml name="name" node="element" />
84
    </field>
85
  </class>
86
</mapping>