Revision 4911 trunk/extensions/extWFS2/src/com/iver/cit/gvsig/fmap/layers/WFSLayerNode.java
WFSLayerNode.java | ||
---|---|---|
1 | 1 |
package com.iver.cit.gvsig.fmap.layers; |
2 |
|
|
3 |
import java.util.Hashtable; |
|
4 |
import java.util.Vector; |
|
5 |
|
|
2 | 6 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
3 | 7 |
* |
4 | 8 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
... | ... | |
43 | 47 |
* |
44 | 48 |
* $Id$ |
45 | 49 |
* $Log$ |
46 |
* Revision 1.1 2006-04-19 12:50:16 jorpiell |
|
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 |
|
47 | 54 |
* Primer commit de la aplicaci?n. Se puede hacer un getCapabilities y ver el mensaje de vienvenida del servidor |
48 | 55 |
* |
49 | 56 |
* |
... | ... | |
54 | 61 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
55 | 62 |
*/ |
56 | 63 |
public class WFSLayerNode { |
57 |
private String name; |
|
58 |
private String description; |
|
59 |
|
|
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 |
|
|
60 | 77 |
/** |
61 |
* @return Returns the description.
|
|
78 |
* @return Returns the fields.
|
|
62 | 79 |
*/ |
63 |
public String getDescription() {
|
|
64 |
return description;
|
|
80 |
public Hashtable getFields() {
|
|
81 |
return fields;
|
|
65 | 82 |
} |
66 |
|
|
67 | 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 |
/** |
|
68 | 113 |
* @return Returns the name. |
69 | 114 |
*/ |
70 | 115 |
public String getName() { |
71 | 116 |
return name; |
72 | 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 |
} |
|
73 | 136 |
|
74 |
|
|
137 |
|
|
138 |
|
|
75 | 139 |
} |
Also available in: Unified diff