Statistics
| Revision:

root / trunk / libraries / libRemoteServices / src / org / gvsig / remoteClient / gml / v2 / GMLSimpleFeature_v2.java @ 9729

History | View | Annotate | Download (2.81 KB)

1
package org.gvsig.remoteClient.gml.v2;
2

    
3
import java.util.Map;
4

    
5
import org.gvsig.remoteClient.gml.GMLSimpleFeature;
6
import org.gvsig.remoteClient.gml.types.IXMLType;
7

    
8

    
9
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
10
 *
11
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
12
 *
13
 * This program is free software; you can redistribute it and/or
14
 * modify it under the terms of the GNU General Public License
15
 * as published by the Free Software Foundation; either version 2
16
 * of the License, or (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
26
 *
27
 * For more information, contact:
28
 *
29
 *  Generalitat Valenciana
30
 *   Conselleria d'Infraestructures i Transport
31
 *   Av. Blasco Ib??ez, 50
32
 *   46010 VALENCIA
33
 *   SPAIN
34
 *
35
 *      +34 963862235
36
 *   gvsig@gva.es
37
 *      www.gvsig.gva.es
38
 *
39
 *    or
40
 *
41
 *   IVER T.I. S.A
42
 *   Salamanca 50
43
 *   46005 Valencia
44
 *   Spain
45
 *
46
 *   +34 963163400
47
 *   dac@iver.es
48
 */
49
/* CVS MESSAGES:
50
 *
51
 * $Id: GMLSimpleFeature_v2.java 9729 2007-01-15 13:11:17Z csanchez $
52
 * $Log$
53
 * Revision 1.5  2007-01-15 13:11:00  csanchez
54
 * Sistema de Warnings y Excepciones adaptado a BasicException
55
 *
56
 * Revision 1.4  2006/12/29 18:05:20  jorpiell
57
 * Se tienen en cuenta los simpleTypes y los choices, adem?s de los atributos multiples
58
 *
59
 * Revision 1.2  2006/12/22 11:25:44  csanchez
60
 * Nuevo parser GML 2.x para gml's sin esquema
61
 *
62
 * Revision 1.1  2006/08/10 12:00:49  jorpiell
63
 * Primer commit del driver de Gml
64
 *
65
 *
66
 */
67
/**
68
 * @author Jorge Piera Llodr? (piera_jor@gva.es)
69
 * @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
70
 */
71
public class GMLSimpleFeature_v2 extends GMLSimpleFeature {
72
        private IXMLType type = null;
73
        private Map values  = null;
74
        private Object geom = null;
75
        
76
        /**
77
         * GML without schema
78
         * @param name
79
         * @param values
80
         * @param geom
81
         */
82
        public GMLSimpleFeature_v2(String name, Map values, Object geom) {
83
                super(name);                
84
                this.values = values;
85
                this.geom = geom;
86
        }
87
        
88
        /**
89
         * GML with schema
90
         * @param name
91
         * @param type
92
         * @param values
93
         * @param geom
94
         */
95
        public GMLSimpleFeature_v2(String name, IXMLType type, Map values, Object geom) {
96
                super(name);                
97
                this.values = values;
98
                this.geom = geom;
99
                this.type = type;
100
        }
101

    
102

    
103
        /**
104
         * @return Returns the type.
105
         */
106
        public IXMLType getType() {
107
                return type;
108
        }
109

    
110
        /**
111
         * @return Returns the geom.
112
         */
113
        public Object getGeom() {
114
                return geom;
115
        }
116

    
117
        /**
118
         * @return Returns the values.
119
         */
120
        public Map getValues() {
121
                return values;
122
        }
123
        
124
        
125
}