|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.getcapabilities.OperationsMetadata
public abstract class OperationsMetadata
Represents the OperationMetadata
part in the capabilities document of an OGC-web
service according to the OWS Common Implementation
Specification 0.3
(and
especially owsOperationsMetadata.xsd
). As this class is abstract, it only defines
the GetCapabilities
operation, which all types of OWS Common
-compliant web services must implement.
It consists of the following elements:
Name | Occurences | Function |
---|---|---|
ows:Operation | 2-* | 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. |
ows:Parameter | 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. |
ows:Constraint | 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. |
ows:ExtendedCapabilities | 0 or 1 | Individual software vendors and servers can use this element to provide metadata about any additional server abilities. |
Field Summary | |
---|---|
protected java.util.Map<java.lang.String,OWSDomainType> |
constraints
|
static java.lang.String |
GET_CAPABILITIES_NAME
|
protected Operation |
getCapabilitiesOperation
|
protected java.util.Map<java.lang.String,OWSDomainType> |
parameters
|
Constructor Summary | |
---|---|
OperationsMetadata(Operation getCapabilitiesOperation,
OWSDomainType[] parameters,
OWSDomainType[] constraints)
Creates a new OperationsMetadata instance with the given configuration for the
getCapabilitiesOperation. |
Method Summary | |
---|---|
void |
addConstraint(OWSDomainType constraint)
Adds a constraint. |
void |
addParameter(OWSDomainType parameter)
adds a parameter to the OperationsMetadata |
OWSDomainType[] |
getConstraints()
|
Operation |
getGetCapabilitiesOperation()
|
Operation[] |
getOperations()
|
OWSDomainType[] |
getParameter()
|
OWSDomainType |
removeParameter(java.lang.String name)
|
void |
setConstraints(OWSDomainType[] constraints)
Sets the constraints of the OperationMetadata . |
void |
setGetCapabilitiesOperation(Operation getCapabilitiesOperation)
Sets the configuration for the GetCapabilities -operation. |
void |
setOperationParameter(OWSDomainType[] parameters)
sets a complete list of parameters to the OperationMetadata |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GET_CAPABILITIES_NAME
protected Operation getCapabilitiesOperation
protected java.util.Map<java.lang.String,OWSDomainType> parameters
protected java.util.Map<java.lang.String,OWSDomainType> constraints
Constructor Detail |
---|
public OperationsMetadata(Operation getCapabilitiesOperation, OWSDomainType[] parameters, OWSDomainType[] constraints)
OperationsMetadata
instance with the given configuration for the
getCapabilitiesOperation.
getCapabilitiesOperation
- parameters
- constraints
- Method Detail |
---|
public Operation getGetCapabilitiesOperation()
GetCapabilities
-operation.public void setGetCapabilitiesOperation(Operation getCapabilitiesOperation)
GetCapabilities
-operation.
getCapabilitiesOperation
- configuration for the GetCapabilities
-operation to be setpublic Operation[] getOperations()
Operation
configurations.public OWSDomainType[] getParameter()
public void addParameter(OWSDomainType parameter)
parameter
- public OWSDomainType removeParameter(java.lang.String name)
name
- removes a parameter from the OperationsMetadata
public void setOperationParameter(OWSDomainType[] parameters)
parameters
- public OWSDomainType[] getConstraints()
public void setConstraints(OWSDomainType[] constraints)
OperationMetadata
.
constraints
- may be nullpublic void addConstraint(OWSDomainType constraint)
constraint
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org