svn-gvsig-desktop / tags / v1_0_2_Build_910 / libraries / libRemoteServices / src / org / gvsig / remoteClient / RemoteClientStatus.java @ 11275
History | View | Annotate | Download (1.34 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 | 4222 | jaume | |
16 | 3323 | ldiaz | //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 | 4293 | jaume | } |
26 | |||
27 | 3323 | ldiaz | 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 | 4293 | jaume | |
57 | 3323 | ldiaz | public String getExceptionFormat() { |
58 | return exceptionFormat;
|
||
59 | 4222 | jaume | } |
60 | |||
61 | 3323 | ldiaz | } |