Class TLcdOWSOperation
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theConstraint
element.static final TLcdDataProperty
Data property that maps to theDCP
element.static final TLcdDataProperty
Data property that maps to theMetadata
element.static final TLcdDataProperty
Data property that maps to thename
attribute.static final TLcdDataProperty
Data property that maps to theParameter
element. -
Constructor Summary
ConstructorDescriptionCreates a newTLcdOWSOperation
instance.TLcdOWSOperation
(TLcdDataType aType) Creates a newTLcdOWSOperation
instance with the given data type.TLcdOWSOperation
(String aName) Creates a newTLcdOWSOperation
instance with the given operation name. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(TLcdOWSDomain aConstraint) Adds a constraint to this operation.void
addDCP
(TLcdOWSDCP aDCP) Adds a Distributed Computing Platform (DCP) supported for this operation.void
addMetadata
(TLcdOWSMetadata aMetadata) Adds a metadata object to this operation.void
addParameter
(TLcdOWSDomain aParameter) Adds a parameter to this operation.Returns the value of the property that maps to theConstraint
element.getConstraint
(int aIndex) Returns the constraint at the given index.int
Returns the number of constraints.getDCP()
Returns the value of the property that maps to theDCP
element.getDCP
(int aIndex) Returns the Distributed Computing Platform (DCP) at the given index.int
Returns the number of Distributed Computing Platforms for this operation.Returns the value of the property that maps to theMetadata
element.getMetadata
(int aIndex) Returns the metadata at the given index.int
Returns the number of metadata objects for this operation.getName()
Returns the value of the property that maps to thename
attribute.Returns the value of the property that maps to theParameter
element.getParameter
(int aIndex) Returns the parameter at the given index.int
Returns the number of parameters.void
removeConstraint
(int aIndex) Removes the constraint at the given index.void
removeDCP
(int aIndex) Removes the Distributed Computing Platform (DCP) at the given index.void
removeMetadata
(int aIndex) Removes the metadata at the given index.void
removeParameter
(int aIndex) Removes the parameter at the given index.void
Sets the value of the property that maps to thename
attribute.
-
Field Details
-
NAME_PROPERTY
Data property that maps to thename
attribute. The possible values for this property are instances ofString
. -
DCP_PROPERTY
Data property that maps to theDCP
element. The possible values for this property are instances ofList<TLcdOWSDCP>
. -
PARAMETER_PROPERTY
Data property that maps to theParameter
element. The possible values for this property are instances ofList<TLcdOWSDomain>
. -
CONSTRAINT_PROPERTY
Data property that maps to theConstraint
element. The possible values for this property are instances ofList<TLcdOWSDomain>
. -
METADATA_PROPERTY
Data property that maps to theMetadata
element. The possible values for this property are instances ofList<TLcdOWSMetadata>
.
-
-
Constructor Details
-
TLcdOWSOperation
Creates a newTLcdOWSOperation
instance with the given operation name.- Parameters:
aName
- the operation name
-
TLcdOWSOperation
public TLcdOWSOperation()Creates a newTLcdOWSOperation
instance. No name will be set. -
TLcdOWSOperation
Creates a newTLcdOWSOperation
instance with the given data type. No name will be set.- Parameters:
aType
- The data type.
-
-
Method Details
-
addDCP
Adds a Distributed Computing Platform (DCP) supported for this operation.- Parameters:
aDCP
- the DCP to be added
-
getDCPCount
public int getDCPCount()Returns the number of Distributed Computing Platforms for this operation.- Returns:
- the number of Distributed Computing Platforms for this operation.
-
removeDCP
public void removeDCP(int aIndex) Removes the Distributed Computing Platform (DCP) at the given index.- Parameters:
aIndex
- the index of the DCP to be removed
-
getDCP
Returns the Distributed Computing Platform (DCP) at the given index.- Parameters:
aIndex
- the index of the DCP to be retrieved.- Returns:
- the DCP at the given index.
-
addParameter
Adds a parameter to this operation. The parameter list is an optional unordered list of parameter domains that each apply to this operation which this server implements.- Parameters:
aParameter
- the parameter to be added.
-
getParameterCount
public int getParameterCount()Returns the number of parameters.- Returns:
- the number of parameters.
-
removeParameter
public void removeParameter(int aIndex) Removes the parameter at the given index.- Parameters:
aIndex
- the index of the parameter to be removed
-
getParameter
Returns the parameter at the given index.- Parameters:
aIndex
- the index of the parameter to be retrieved- Returns:
- the parameter at the given position.
-
addConstraint
Adds a constraint to this operation. The constraint list is an optional unordered list of valid domain constraints on non-parameter quantities that each apply to this operation.- Parameters:
aConstraint
- the constraint to be added.
-
getConstraintCount
public int getConstraintCount()Returns the number of constraints.- Returns:
- the number of constraints.
-
removeConstraint
public void removeConstraint(int aIndex) Removes the constraint at the given index.- Parameters:
aIndex
- the index of the constraint to be removed
-
getConstraint
Returns the constraint at the given index. The constraint list is an optional unordered list of valid domain constraints on non-parameter quantities that each apply to this operation.- Parameters:
aIndex
- the index of the constraint to be retrieved- Returns:
- the constraint at the given index.
-
addMetadata
Adds a metadata object to this operation.- Parameters:
aMetadata
- the metadata to be added.
-
getMetadataCount
public int getMetadataCount()Returns the number of metadata objects for this operation.- Returns:
- the number of metadata objects for this operation.
-
removeMetadata
public void removeMetadata(int aIndex) Removes the metadata at the given index.- Parameters:
aIndex
- the index of the metadata to be removed
-
getMetadata
Returns the metadata at the given index.- Parameters:
aIndex
- the index of the metadata to be retrieved- Returns:
- the metadata at the given index.
-
getName
Returns the value of the property that maps to thename
attribute.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 value of the
NAME_PROPERTY
property.
-
setName
Sets the value of the property that maps to thename
attribute.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.
- Parameters:
aValue
- the value to set for theNAME_PROPERTY
property.
-
getDCP
Returns the value of the property that maps to theDCP
element.Information for one distributed Computing Platform (DCP) supported for this operation. At present, only the HTTP DCP is defined, so this element only includes the HTTP element.
- Returns:
- the value of the
DCP_PROPERTY
property.
-
getParameter
Returns the value of the property that maps to theParameter
element.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:
- the value of the
PARAMETER_PROPERTY
property.
-
getConstraint
Returns the value of the property that maps to theConstraint
element.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:
- the value of the
CONSTRAINT_PROPERTY
property.
-
getMetadata
Returns the value of the property that maps to theMetadata
element.- Returns:
- the value of the
METADATA_PROPERTY
property.
-