deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.getcapabilities
Class ServiceIdentification

java.lang.Object
  extended by org.deegree.ogcwebservices.getcapabilities.ServiceIdentification

public class ServiceIdentification
extends java.lang.Object

Represents the ServiceIdentification section of the capabilities of an OGC compliant web service according to the OGC Common Implementation Specification 0.2. This section corresponds to and expands the SV_ServiceIdentification class in ISO 19119.

It consists of the following elements:

Name Occurences Function
ServiceType 1 Useful to provide service type name useful for machine-to-machine communication
ServiceTypeVersion 1-* Useful to provide list of server-supported versions.
Title 1 Useful to provide a server title for display to a human.
Abstract 0|1 Usually useful to provide narrative description of server, useful for display to a human.
Keywords 0-* Often useful to provide keywords useful for server searching.
Fees 0|1 Usually useful to specify fees, or NONE if no fees.
AccessConstraints 0-* Usually useful to specify access constraints, or NONE if no access constraints.

Version:
$Revision: 18195 $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Constructor Summary
ServiceIdentification(Code serviceType, java.lang.String[] serviceTypeVersions, java.lang.String title, java.lang.String serviceAbstract, Keywords[] keywords, java.lang.String fees, java.lang.String[] accessConstraints)
          Constructs a new ServiceIdentification object.
ServiceIdentification(java.lang.String name, Code serviceType, java.lang.String[] serviceTypeVersions, java.lang.String title, java.lang.String serviceAbstract, Keywords[] keywords, java.lang.String fees, java.lang.String[] accessConstraints)
          Constructs a new ServiceIdentification object.
 
Method Summary
 java.lang.String getAbstract()
          Returns the java representation of the Abstract-element.
 java.lang.String[] getAccessConstraints()
          Returns the java representation of the AccessConstraints-elements.
 java.lang.String getFees()
          Returns the java representation of the AccessConstraints-elements.
 Keywords[] getKeywords()
          Returns the java representation of the Keywords-elements.
 java.lang.String getName()
           
 Code getServiceType()
          Returns the java representation of the ServiceType-element.
 java.lang.String[] getServiceTypeVersions()
          Returns the java representation of the ServiceTypeVersion-elements.
 java.lang.String getTitle()
          Returns the java representation of the Title-element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceIdentification

public ServiceIdentification(java.lang.String name,
                             Code serviceType,
                             java.lang.String[] serviceTypeVersions,
                             java.lang.String title,
                             java.lang.String serviceAbstract,
                             Keywords[] keywords,
                             java.lang.String fees,
                             java.lang.String[] accessConstraints)
Constructs a new ServiceIdentification object.

Parameters:
name -
serviceType -
serviceTypeVersions -
title -
serviceAbstract - may be null
keywords - may be an empty array or null
fees - may be null
accessConstraints - may be an empty array or null

ServiceIdentification

public ServiceIdentification(Code serviceType,
                             java.lang.String[] serviceTypeVersions,
                             java.lang.String title,
                             java.lang.String serviceAbstract,
                             Keywords[] keywords,
                             java.lang.String fees,
                             java.lang.String[] accessConstraints)
Constructs a new ServiceIdentification object.

Parameters:
serviceType -
serviceTypeVersions -
title -
serviceAbstract - may be null
keywords - may be an empty array or null
fees - may be null
accessConstraints - may be an empty array or null
Method Detail

getServiceType

public Code getServiceType()
Returns the java representation of the ServiceType-element. In the XML document, this element has the type ows:CodeType.

Returns:
the java representation of the ServiceType-element. In the XML document, this element has the type ows:CodeType.

getServiceTypeVersions

public java.lang.String[] getServiceTypeVersions()
Returns the java representation of the ServiceTypeVersion-elements. In the XML document, these elements have the type ows:VersionType.

Returns:
the java representation of the ServiceTypeVersion-elements. In the XML document, these elements have the type ows:VersionType.

getTitle

public java.lang.String getTitle()
Returns the java representation of the Title-element. In the XML document, this element has the type string.

Returns:
the java representation of the Title-element. In the XML document, this element has the type string.

getAbstract

public java.lang.String getAbstract()
Returns the java representation of the Abstract-element. In the XML document, this element has the type string.

Returns:
the java representation of the Abstract-element. In the XML document, this element has the type string.

getKeywords

public Keywords[] getKeywords()
Returns the java representation of the Keywords-elements. In the XML document, these elements have the type ows:Keyword.

Returns:
the java representation of the Keywords-elements. In the XML document, these elements have the type ows:Keyword.

getFees

public java.lang.String getFees()
Returns the java representation of the AccessConstraints-elements. In the XML document, these elements have the type string.

Returns:
the java representation of the AccessConstraints-elements. In the XML document, these elements have the type string.

getAccessConstraints

public java.lang.String[] getAccessConstraints()
Returns the java representation of the AccessConstraints-elements. In the XML document, these elements have the type string.

Returns:
the java representation of the AccessConstraints-elements. In the XML document, these elements have the type string.

getName

public java.lang.String getName()
Returns:
Returns the name.

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org