Statistics
| Revision:

root / trunk / extensions / extWFS2 / src / com / iver / cit / gvsig / fmap / layers / WFSLayerNode.java @ 4911

History | View | Annotate | Download (3.3 KB)

1
package com.iver.cit.gvsig.fmap.layers;
2

    
3
import java.util.Hashtable;
4
import java.util.Vector;
5

    
6
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
7
 *
8
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
9
 *
10
 * This program is free software; you can redistribute it and/or
11
 * modify it under the terms of the GNU General Public License
12
 * as published by the Free Software Foundation; either version 2
13
 * of the License, or (at your option) any later version.
14
 *
15
 * This program is distributed in the hope that it will be useful,
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 * GNU General Public License for more details.
19
 *
20
 * You should have received a copy of the GNU General Public License
21
 * along with this program; if not, write to the Free Software
22
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
23
 *
24
 * For more information, contact:
25
 *
26
 *  Generalitat Valenciana
27
 *   Conselleria d'Infraestructures i Transport
28
 *   Av. Blasco Ib??ez, 50
29
 *   46010 VALENCIA
30
 *   SPAIN
31
 *
32
 *      +34 963862235
33
 *   gvsig@gva.es
34
 *      www.gvsig.gva.es
35
 *
36
 *    or
37
 *
38
 *   IVER T.I. S.A
39
 *   Salamanca 50
40
 *   46005 Valencia
41
 *   Spain
42
 *
43
 *   +34 963163400
44
 *   dac@iver.es
45
 */
46
/* CVS MESSAGES:
47
 *
48
 * $Id: WFSLayerNode.java 4911 2006-04-20 16:38:24Z jorpiell $
49
 * $Log$
50
 * Revision 1.2  2006-04-20 16:38:24  jorpiell
51
 * Ahora mismo ya se puede hacer un getCapabilities y un getDescribeType de la capa seleccionada para ver los atributos a dibujar. Queda implementar el panel de opciones y hacer el getFeature().
52
 *
53
 * Revision 1.1  2006/04/19 12:50:16  jorpiell
54
 * Primer commit de la aplicaci?n. Se puede hacer un getCapabilities y ver el mensaje de vienvenida del servidor
55
 *
56
 *
57
 */
58
/**
59
 * This class represents one node of the layer tree of a
60
 * common WFS service.
61
 * @author Jorge Piera Llodr? (piera_jor@gva.es)
62
 */
63
public class WFSLayerNode {
64
        private String        name = null;
65
        private String        title = null;
66
        private String        _abstract = null;
67
        private Vector keykords = new Vector();
68
        private String defaultSRS = null;
69
        private Vector otherSRS = new Vector();
70
        private String noSRS = null;
71
        private Vector operations = new Vector();
72
        private String outputFormat = null;
73
        private String wgs84BoundingBox = null;
74
        private Vector metadataURL = new Vector();
75
        private Hashtable fields = new Hashtable();
76
        
77
        /**
78
         * @return Returns the fields.
79
         */
80
        public Hashtable getFields() {
81
                return fields;
82
        }
83
        /**
84
         * @param fields The fields to set.
85
         */
86
        public void setFields(Hashtable fields) {
87
                this.fields = fields;
88
        }
89
        /**
90
         * 
91
         */
92
        public String toString(){
93
                String str;
94
                if (getName()==null)
95
                        str = getTitle();
96
                else
97
                        str = "["+getName()+"] "+getTitle();
98
                return str;
99
        }
100
        /**
101
         * @return Returns the _abstract.
102
         */
103
        public String getAbstract() {
104
                return _abstract;
105
        }
106
        /**
107
         * @param _abstract The _abstract to set.
108
         */
109
        public void setAbstract(String _abstract) {
110
                this._abstract = _abstract;
111
        }
112
        /**
113
         * @return Returns the name.
114
         */
115
        public String getName() {
116
                return name;
117
        }
118
        /**
119
         * @param name The name to set.
120
         */
121
        public void setName(String name) {
122
                this.name = name;
123
        }
124
        /**
125
         * @return Returns the title.
126
         */
127
        public String getTitle() {
128
                return title;
129
        }
130
        /**
131
         * @param title The title to set.
132
         */
133
        public void setTitle(String title) {
134
                this.title = title;
135
        }
136
        
137
        
138
        
139
}