org.deegree.protocol.ows.metadata.operation
Class Operation

java.lang.Object
  extended by org.deegree.protocol.ows.metadata.operation.Operation

public class Operation
extends Object

Encapsulates the metadata on a single operation of 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 for the following specifications:

From OWS Common 2.0: Metadata for one operation that this server implements.

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
Operation(String name, List<DCP> dcps, List<Domain> params, List<Domain> constraints, List<org.apache.axiom.om.OMElement> metadata)
           
 
Method Summary
 List<Domain> getConstraints()
          Returns the domain validity constraints for this operation.
 List<DCP> getDCPs()
          Returns the supported Distributed Computing Platforms (DCPs).
 List<URL> getGetUrls()
          Returns the endpoint URLs for this operation (HTTP-GET).
 List<org.apache.axiom.om.OMElement> getMetadata()
           From OWS Common 2.0: Optional unordered list of additional metadata about this operation and its' implementation.
 String getName()
          Returns the operation name.
 List<Domain> getParameters()
          Returns the parameter validity domains for this operation.
 List<URL> getPostUrls()
          Returns the endpoint URLs for this operation (HTTP-POST).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operation

public Operation(String name,
                 List<DCP> dcps,
                 List<Domain> params,
                 List<Domain> constraints,
                 List<org.apache.axiom.om.OMElement> metadata)
Method Detail

getName

public String getName()
Returns the operation name.

From OWS Common 2.0: Name or identifier of this operation (request) (for example, GetCapabilities). The list of required and optional operations implemented shall be specified in the Implementation Specification for * this service.

Returns:
the operation name, never null

getDCPs

public List<DCP> getDCPs()
Returns the supported Distributed Computing Platforms (DCPs).

From OWS Common 2.0: Unordered list of Distributed Computing Platforms (DCPs) supported for this operation. At present, only the HTTP DCP is defined, so this element will appear only once.

Returns:
dcps, never null.

getGetUrls

public List<URL> getGetUrls()
Returns the endpoint URLs for this operation (HTTP-GET).

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

getPostUrls

public List<URL> getPostUrls()
Returns the endpoint URLs for this operation (HTTP-POST).

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

getParameters

public List<Domain> getParameters()
Returns the parameter validity domains for this operation.

From OWS Common 2.0: Optional unordered list of parameter domains that each apply to this operation which this server implements. If one of these Parameter elements has the same "name" attribute as a Parameter element in the OperationsMetadata element, this Parameter element shall override the other one for this operation. The list of required and optional parameter domain limitations for this operation shall be specified in the Implementation Specification for this service.

Returns:
operation parameter domains, never null.

getConstraints

public List<Domain> getConstraints()
Returns the domain validity constraints for this operation.

From OWS Common 2.0: Optional unordered list of valid domain constraints on non-parameter quantities that each apply to this operation. If one of these Constraint elements has the same "name" attribute as a Constraint element in the OperationsMetadata element, this Constraint element shall override the other one for this operation. The list of required and optional constraints for this operation shall be specified in the Implementation Specification for this service.

Returns:
operation domain validity constraints, never null

getMetadata

public List<org.apache.axiom.om.OMElement> getMetadata()

From OWS Common 2.0: Optional unordered list of additional metadata about this operation and its' implementation. A list of required and optional metadata elements for this operation should be specified in the Implementation Specification for this service. (Informative: This metadata might specify the operation request parameters or provide the XML Schemas for the operation request.)

Returns:
additional operation metadata, never null


Copyright © 2011. All Rights Reserved.