Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libArcIMS_old / src / org / gvsig / remoteClient / arcims / utils / ServiceInformationLayer.java @ 11865

History | View | Annotate | Download (3.77 KB)

1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2006 Prodevelop and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 *
19
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *   +34 963862235
28
 *   gvsig@gva.es
29
 *   www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   Prodevelop Integraci?n de Tecnolog?as SL
34
 *   Conde Salvatierra de ?lava , 34-10
35
 *   46004 Valencia
36
 *   Spain
37
 *
38
 *   +34 963 510 612
39
 *   +34 963 510 968
40
 *   gis@prodevelop.es
41
 *   http://www.prodevelop.es
42
 */
43

    
44
/**
45
 *
46
 */
47
package org.gvsig.remoteClient.arcims.utils;
48

    
49
import org.gvsig.remoteClient.utils.BoundaryBox;
50

    
51

    
52
/**
53
 * Abstract class that stores the information of every layer that is
54
 * part of the Service
55
 *  @author jsanz
56
 */
57
public abstract class ServiceInformationLayer {
58
    private String id;
59
    private double maxscale;
60
    private double minscale;
61
    protected String name;
62
    protected String type;
63
    private String visible;
64
    private BoundaryBox envelope;
65

    
66
    // public String fclasstype;
67
    public ServiceInformationLayer() {
68
        id = new String();
69
        name = new String();
70
        type = new String();
71
        visible = new String();
72
        envelope = new BoundaryBox();
73
        maxscale = -1.0;
74
        minscale = -1.0;
75

    
76
        // fclasstype = new String();
77
    }
78

    
79
    /**
80
     * @return Returns the envelope.
81
     */
82
    public BoundaryBox getEnvelope() {
83
        return envelope;
84
    }
85

    
86
    /**
87
     * @param envelope The envelope to set.
88
     */
89
    public void setEnvelope(BoundaryBox envelope) {
90
        this.envelope = envelope;
91
    }
92

    
93
    /**
94
     * @return Returns the id.
95
     */
96
    public String getId() {
97
        return id;
98
    }
99

    
100
    /**
101
     * @param id The id to set.
102
     */
103
    public void setId(String id) {
104
        this.id = id;
105
    }
106

    
107
    /**
108
     * @return Returns the maxscale.
109
     */
110
    public double getMaxscale() {
111
        return maxscale;
112
    }
113

    
114
    /**
115
     * @param maxscale The maxscale to set.
116
     */
117
    public void setMaxscale(double maxscale) {
118
        this.maxscale = maxscale;
119
    }
120

    
121
    /**
122
     * @return Returns the minscale.
123
     */
124
    public double getMinscale() {
125
        return minscale;
126
    }
127

    
128
    /**
129
     * @param minscale The minscale to set.
130
     */
131
    public void setMinscale(double minscale) {
132
        this.minscale = minscale;
133
    }
134

    
135
    /**
136
     * @return Returns the name.
137
     */
138
    public String getName() {
139
        return name;
140
    }
141

    
142
    /**
143
     * @param name The name to set.
144
     */
145
    public void setName(String name) {
146
        this.name = name;
147
    }
148

    
149
    /**
150
     * @return Returns the type.
151
     */
152
    public String getType() {
153
        return type;
154
    }
155

    
156
    /**
157
     * @param type The type to set.
158
     */
159
    public void setType(String type) {
160
        this.type = type;
161
    }
162

    
163
    /**
164
     * @return Returns the visible.
165
     */
166
    public String getVisible() {
167
        return visible;
168
    }
169

    
170
    /**
171
     * @param visible The visible to set.
172
     */
173
    public void setVisible(String visible) {
174
        this.visible = visible;
175
    }
176
}