org.deegree.protocol.ows.metadata
Class OperationsMetadata

java.lang.Object
  extended by org.deegree.protocol.ows.metadata.OperationsMetadata

public class OperationsMetadata
extends Object

Encapsulates metadata on operations provided by an OGC web service (as reported in the capabilities document).

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: Metadata about the operations and related abilities specified by this service and implemented by this server, including the URLs for operation requests. The basic contents of this section shall be the same for all OWS types, but individual services can add elements and/or change the optionality of optional elements.

Version:
$Revision: 31896 $, $Date: 2011-09-15 15:12:23 +0200 (Thu, 15 Sep 2011) $
Author:
Markus Schneider, Andrei Ionita, last edited by: $Author: mschneider $

Constructor Summary
OperationsMetadata(List<Operation> operations, List<Domain> parameters, List<Domain> constraints, org.apache.axiom.om.OMElement extendedCapabilities)
           
 
Method Summary
 List<Domain> getConstraints()
          Returns the global domain validity constraints that apply to all operations.
 org.apache.axiom.om.OMElement getExtendedCapabilities()
          Returns the extended capabilities.
 List<URL> getGetUrls(String operationName)
          Returns the endpoint URLs for the specified operation and method HTTP-GET.
 List<Operation> getOperation()
          Returns the metadata for all operations.
 Operation getOperation(String operationName)
          Returns the metadata for the specified operation name.
 List<Domain> getParameters()
          Returns the global parameter validity domains that apply to all operations.
 List<URL> getPostUrls(String operationName)
          Returns the endpoint URLs for the specified operation and method HTTP-POST.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationsMetadata

public OperationsMetadata(List<Operation> operations,
                          List<Domain> parameters,
                          List<Domain> constraints,
                          org.apache.axiom.om.OMElement extendedCapabilities)
Method Detail

getOperation

public List<Operation> getOperation()
Returns the metadata for all operations.

From OWS Common 2.0: Metadata for unordered list of all the (requests for) operations that this server interface implements. The list of required and optional operations implemented shall be specified in the Implementation Specification for this service.

Returns:
operation metadata, may be empty, but never null

getOperation

public Operation getOperation(String operationName)
Returns the metadata for the specified operation name.

Parameters:
operationName - name of the operation, can be null
Returns:
operation metadata or null if no metadata for operation available

getGetUrls

public List<URL> getGetUrls(String operationName)
Returns the endpoint URLs for the specified operation and method HTTP-GET.

Returns:
endpoint URLs, can be empty, but never null

getPostUrls

public List<URL> getPostUrls(String operationName)
Returns the endpoint URLs for the specified operation and method HTTP-POST.

Returns:
endpoint URLs, can be empty, but never null

getParameters

public List<Domain> getParameters()
Returns the global parameter validity domains that apply to all operations.

From OWS Common 2.0: Optional unordered list of parameter valid domains that each apply to one or more operations which this server interface implements. The list of required and optional parameter domain limitations shall be specified in the Implementation Specification for this service.

Returns:
global parameter validity domains, may be empty, but never null

getConstraints

public List<Domain> getConstraints()
Returns the global domain validity constraints that apply to all operations.

From OWS Common 2.0: Optional unordered list of valid domain constraints on non-parameter quantities that each apply to this server. The list of required and optional constraints shall be specified in the Implementation Specification for this service.

Returns:
global domain validity constraints, may be empty, but never null

getExtendedCapabilities

public org.apache.axiom.om.OMElement getExtendedCapabilities()
Returns the extended capabilities.

From OWS Common 2.0: Individual software vendors and servers can use this element to provide metadata about any additional server abilities.

return extended capabilities, may be null



Copyright © 2011. All Rights Reserved.