org.deegree.protocol.ows.metadata
Class ServiceIdentification

java.lang.Object
  extended by org.deegree.protocol.ows.metadata.Description
      extended by org.deegree.protocol.ows.metadata.ServiceIdentification

public class ServiceIdentification
extends Description

A Description that encapsulates general server-specific metadata reported by an OGC web service.

Data model has been designed to capture the expressiveness of all OWS specifications and versions and was verified against the following specifications:

From OWS Common 2.0: General metadata for this specific server. This XML Schema of this section shall be the same for all OWS.

Version:
$Revision: 31860 $, $Date: 2011-09-13 15:11:47 +0200 (Tue, 13 Sep 2011) $
Author:
Markus Schneider, Andrei Ionita, last edited by: $Author: mschneider $

Constructor Summary
ServiceIdentification(String name, List<LanguageString> titles, List<LanguageString> abstracts, List<Pair<List<LanguageString>,CodeType>> keywords, CodeType serviceType, List<Version> serviceTypeVersion, List<String> profiles, String fees, List<String> accessConstraints)
          Creates a new ServiceIdentification instance.
 
Method Summary
 List<String> getAccessConstraints()
           
 String getFees()
           
 List<String> getProfiles()
          Returns the identifiers of implemented application profiles.
 CodeType getServiceType()
          Returns the reported service type.
 List<Version> getServiceTypeVersion()
          Returns the reported service type versions.
 void setAccessConstraints(List<String> accessConstraints)
           
 void setFees(String fees)
           
 void setProfiles(List<String> profiles)
           
 void setServiceType(CodeType serviceType)
           
 void setServiceTypeVersion(List<Version> serviceTypeVersion)
           
 
Methods inherited from class org.deegree.protocol.ows.metadata.Description
getAbstracts, getKeywords, getName, getTitles, setAbstracts, setKeywords, setTitles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceIdentification

public ServiceIdentification(String name,
                             List<LanguageString> titles,
                             List<LanguageString> abstracts,
                             List<Pair<List<LanguageString>,CodeType>> keywords,
                             CodeType serviceType,
                             List<Version> serviceTypeVersion,
                             List<String> profiles,
                             String fees,
                             List<String> accessConstraints)
Creates a new ServiceIdentification instance.

Parameters:
name -
titles -
abstracts -
keywords -
serviceType -
serviceTypeVersion -
profiles -
fees -
accessConstraints -
Method Detail

getServiceType

public CodeType getServiceType()
Returns the reported service type.

From OWS Common 2.0: A service type name from a registry of services. For example, the values of the codeSpace URI and name and code string may be "OGC" and "catalogue." This type name is normally used for machine-to-machine communication.

Returns:
reported service type, may be null

setServiceType

public void setServiceType(CodeType serviceType)
Parameters:
serviceType -

getServiceTypeVersion

public List<Version> getServiceTypeVersion()
Returns the reported service type versions.

From OWS Common 2.0: Unordered list of one or more versions of this service type implemented by this server. This information is not adequate for version negotiation, and shall not be used for that purpose.

Returns:
reported service type versions, may be empty, but never null

setServiceTypeVersion

public void setServiceTypeVersion(List<Version> serviceTypeVersion)
Parameters:
serviceTypeVersion - the serviceTypeVersion to set

getProfiles

public List<String> getProfiles()
Returns the identifiers of implemented application profiles.

From OWS Common 2.0: Unordered list of identifiers of Application Profiles that are implemented by this server. This element should be included for each specified application profile implemented by this server. The identifier value should be specified by each Application Profile. If this element is omitted, no meaning is implied.

Returns:
identifiers of implemented application profiles, may be empty but never null.

setProfiles

public void setProfiles(List<String> profiles)
Parameters:
profiles - the profiles to set

getFees

public String getFees()
Returns:
the fees

setFees

public void setFees(String fees)
Parameters:
fees -

getAccessConstraints

public List<String> getAccessConstraints()
Returns:
accessConstraints, may be null.

setAccessConstraints

public void setAccessConstraints(List<String> accessConstraints)
Parameters:
accessConstraints - the accessConstraints to set


Copyright © 2011. All Rights Reserved.