root / tags / v1_0_2_Build_897 / libraries / libRemoteServices / src / org / gvsig / remoteClient / RemoteClientStatus.java @ 10444
History | View | Annotate | Download (1.34 KB)
1 |
|
---|---|
2 |
package org.gvsig.remoteClient; |
3 |
|
4 |
/**
|
5 |
* This class represents the client status at a certain moment
|
6 |
* it describes the "graphic" situation or the requirements of the data
|
7 |
* to be retrieved.
|
8 |
*
|
9 |
*/
|
10 |
public abstract class RemoteClientStatus { |
11 |
|
12 |
// width and heigh of the map
|
13 |
private int width; |
14 |
private int height; |
15 |
|
16 |
//format of the image to be retrieved
|
17 |
private String format; |
18 |
// spatial reference system of the image to be retrieved
|
19 |
private String srs; |
20 |
// exception format, to be retrieved in case of error
|
21 |
private String exceptionFormat; |
22 |
|
23 |
public int getWidth() { |
24 |
return width;
|
25 |
} |
26 |
|
27 |
public void setWidth(int _width) { |
28 |
width = _width; |
29 |
} |
30 |
|
31 |
public int getHeight() { |
32 |
return height;
|
33 |
} |
34 |
public void setHeight(int _height) { |
35 |
height = _height; |
36 |
} |
37 |
|
38 |
public String getFormat() { |
39 |
return format;
|
40 |
} |
41 |
public void setFormat(String _format) { |
42 |
format = _format; |
43 |
} |
44 |
|
45 |
public String getSrs() { |
46 |
return srs;
|
47 |
} |
48 |
|
49 |
public void setSrs(String _srs) { |
50 |
srs = _srs; |
51 |
} |
52 |
|
53 |
public void setExceptionFormat(String _format) { |
54 |
exceptionFormat = _format; |
55 |
} |
56 |
|
57 |
public String getExceptionFormat() { |
58 |
return exceptionFormat;
|
59 |
} |
60 |
|
61 |
} |