01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.data.ows;
17:
18: import java.util.List;
19:
20: /**
21: * Represents a base object for a Capabilities document
22: *
23: * @author rgould
24: */
25: public class Capabilities {
26: private Service service;
27: private String version;
28: private String updateSequence;
29:
30: /**
31: * The Service contains metadata about the OWS.
32: *
33: * @return Returns the service.
34: */
35: public Service getService() {
36: return service;
37: }
38:
39: /**
40: * @param service The service to set.
41: */
42: public void setService(Service service) {
43: this .service = service;
44: }
45:
46: /**
47: * The version that this Capabilities is in.
48: *
49: * @return Returns the version.
50: */
51: public String getVersion() {
52: return version;
53: }
54:
55: /**
56: * @param version The version to set.
57: */
58: public void setVersion(String version) {
59: this .version = version;
60: }
61:
62: /**
63: * @return the updateSequence
64: */
65: public String getUpdateSequence() {
66: return updateSequence;
67: }
68:
69: /**
70: * @param updateSequence the updateSequence to set
71: */
72: public void setUpdateSequence(String updateSequence) {
73: this.updateSequence = updateSequence;
74: }
75:
76: }
|