org.deegree_impl.services.capabilities
Class OGCWebServiceCapabilities_Impl

java.lang.Object
  extended byorg.deegree_impl.services.capabilities.OGCWebServiceCapabilities_Impl
All Implemented Interfaces:
OGCWebServiceCapabilities
Direct Known Subclasses:
CTS_Capabilities_Impl, WCASCapabilities_Impl, WCSCapabilities_Impl, WFSCapabilities_Impl, WMSCapabilities_Impl

public abstract class OGCWebServiceCapabilities_Impl
extends java.lang.Object
implements OGCWebServiceCapabilities

The purpose of the GetCapabilities operation is described in the Basic Service Elements section, above. In the particular case of a Web Map Service, the response of a GetCapabilities request is general information about the service itself and specific information about the available maps.

----------------------------------------------------------------------

Version:
2002-03-01
Author:
Katharina Lupp

Field Summary
private  Service service
           
private  java.lang.String updateSequence
           
private  java.lang.String version
           
 
Constructor Summary
OGCWebServiceCapabilities_Impl(java.lang.String version, java.lang.String updateSequence, Service service)
          constructor initializing the class with the OGCWebServiceCapabilities
 
Method Summary
 Service getService()
          this returns a general describtion of the service described by the Capabilities XML document.
 java.lang.String getUpdateSequence()
          The UPDATESEQUENCE parameter is for maintaining cache consistency.
 java.lang.String getVersion()
          returns the version of the service
 void setService(Service service)
          this sets a general describtion of the service described by the Capabilities XML document.
 void setUpdateSequence(java.lang.String updateSequence)
          sets the update sequence
 void setVersion(java.lang.String version)
          sets the version of the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.services.capabilities.OGCWebServiceCapabilities
exportAsXML
 

Field Detail

service

private Service service

updateSequence

private java.lang.String updateSequence

version

private java.lang.String version
Constructor Detail

OGCWebServiceCapabilities_Impl

public OGCWebServiceCapabilities_Impl(java.lang.String version,
                                      java.lang.String updateSequence,
                                      Service service)
constructor initializing the class with the OGCWebServiceCapabilities

Method Detail

getVersion

public java.lang.String getVersion()
returns the version of the service

Specified by:
getVersion in interface OGCWebServiceCapabilities

setVersion

public void setVersion(java.lang.String version)
sets the version of the service


getUpdateSequence

public java.lang.String getUpdateSequence()
The UPDATESEQUENCE parameter is for maintaining cache consistency. Its value can be an integer, a timestamp in [ISO 8601:1988(E)] format , or any other number or string. The server may include an UpdateSequence value in its Capabilities XML. If present, this value should be increased when changes are made to the Capabilities (e.g., when new maps are added to the service). The server is the sole judge of lexical ordering sequence. The client may include this parameter in its GetCapabilities request.

Specified by:
getUpdateSequence in interface OGCWebServiceCapabilities

setUpdateSequence

public void setUpdateSequence(java.lang.String updateSequence)
sets the update sequence


getService

public Service getService()
this returns a general describtion of the service described by the Capabilities XML document.

Specified by:
getService in interface OGCWebServiceCapabilities

setService

public void setService(Service service)
this sets a general describtion of the service described by the Capabilities XML document.