org.n52.oxf.ows.capabilities
Class OperationsMetadata

java.lang.Object
  extended by org.n52.oxf.ows.capabilities.OperationsMetadata

public class OperationsMetadata
extends Object

This class builds the foundation to inspect the possible operations of the WebService. This class contains all important information to access a OWS.

Author:
Theodor Foerster, Arne Broering>

Constructor Summary
OperationsMetadata(Operation[] operations)
          this constructor has all required attributes as its parameters.
OperationsMetadata(Operation[] operations, Parameter[] parameters, String[] constraints)
          this constructor has all attributes of the class as its parameters.
 
Method Summary
 String[] getConstraints()
          Representation of possible Constraints.
 Operation getOperationByName(String operationName)
           
 Operation[] getOperations()
           
 Parameter[] getParameters()
          This parameters are inherited by ALL operations.
protected  void setConstraints(String[] constraints)
          Representation of possible Constraints.
protected  void setOperations(Operation[] operations)
           
protected  void setParameters(Parameter[] parameters)
          This parameters are inherited by ALL operations
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationsMetadata

public OperationsMetadata(Operation[] operations)
this constructor has all required attributes as its parameters.

Parameters:
operations -

OperationsMetadata

public OperationsMetadata(Operation[] operations,
                          Parameter[] parameters,
                          String[] constraints)
this constructor has all attributes of the class as its parameters.

Parameters:
operations -
parameters -
constraints -
Method Detail

toXML

public String toXML()
Returns:
a XML representation of this OperationsMetadata-section.

getConstraints

public String[] getConstraints()
Representation of possible Constraints. These constraints will be inherited by all underlying operations.

Returns:
a String representation of the constraints.

setConstraints

protected void setConstraints(String[] constraints)
Representation of possible Constraints. These constraints will be inherited by all underlying operations.

Parameters:
constraints - The constraints to set.

getOperationByName

public Operation getOperationByName(String operationName)
Parameters:
operationName -
Returns:
the Operation with the specified operationName. Returns null if there isn't such an Operation.

getOperations

public Operation[] getOperations()
Returns:
Returns the operations.

setOperations

protected void setOperations(Operation[] operations)
Parameters:
operations - The operations to set.

getParameters

public Parameter[] getParameters()
This parameters are inherited by ALL operations. (ie. parameter version)

Returns:
Returns the parameters.

setParameters

protected void setParameters(Parameter[] parameters)
This parameters are inherited by ALL operations

Parameters:
parameters - The parameters to set.


Copyright © 2012-2013 52north.org. All Rights Reserved.