root / trunk / libraries / libRemoteServices / src / org / gvsig / remoteClient / RemoteClientStatus.java @ 3323
History | View | Annotate | Download (1.33 KB)
1 | 3323 | ldiaz | |
---|---|---|---|
2 | 3322 | ldiaz | package org.gvsig.remoteClient; |
3 | |||
4 | 3323 | ldiaz | /**
|
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 | 3322 | ldiaz | |
12 | 3323 | ldiaz | // width and heigh of the map
|
13 | private int width; |
||
14 | private int height; |
||
15 | //format of the image to be retrieved
|
||
16 | private String format; |
||
17 | // spatial reference system of the image to be retrieved
|
||
18 | private String srs; |
||
19 | // exception format, to be retrieved in case of error
|
||
20 | private String exceptionFormat; |
||
21 | |||
22 | public int getWidth() { |
||
23 | return width;
|
||
24 | } |
||
25 | public void setWidth(int _width) { |
||
26 | width = _width; |
||
27 | } |
||
28 | |||
29 | public int getHeight() { |
||
30 | return height;
|
||
31 | } |
||
32 | public void setHeight(int _height) { |
||
33 | height = _height; |
||
34 | } |
||
35 | |||
36 | public String getFormat() { |
||
37 | return format;
|
||
38 | } |
||
39 | public void setFormat(String _format) { |
||
40 | format = _format; |
||
41 | } |
||
42 | |||
43 | public String getSrs() { |
||
44 | return srs;
|
||
45 | } |
||
46 | |||
47 | public void setSrs(String _srs) { |
||
48 | srs = _srs; |
||
49 | } |
||
50 | |||
51 | public void setExceptionFormat(String _format) { |
||
52 | exceptionFormat = _format; |
||
53 | } |
||
54 | public String getExceptionFormat() { |
||
55 | return exceptionFormat;
|
||
56 | } |
||
57 | } |