Class TLcdOWSOperation
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theConstraintelement.static final TLcdDataPropertyData property that maps to theDCPelement.static final TLcdDataPropertyData property that maps to theMetadataelement.static final TLcdDataPropertyData property that maps to thenameattribute.static final TLcdDataPropertyData property that maps to theParameterelement. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newTLcdOWSOperationinstance.TLcdOWSOperation(TLcdDataType aType) Creates a newTLcdOWSOperationinstance with the given data type.TLcdOWSOperation(String aName) Creates a newTLcdOWSOperationinstance with the given operation name. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstraint(TLcdOWSDomain aConstraint) Adds a constraint to this operation.voidaddDCP(TLcdOWSDCP aDCP) Adds a Distributed Computing Platform (DCP) supported for this operation.voidaddMetadata(TLcdOWSMetadata aMetadata) Adds a metadata object to this operation.voidaddParameter(TLcdOWSDomain aParameter) Adds a parameter to this operation.Returns the value of the property that maps to theConstraintelement.getConstraint(int aIndex) Returns the constraint at the given index.intReturns the number of constraints.getDCP()Returns the value of the property that maps to theDCPelement.getDCP(int aIndex) Returns the Distributed Computing Platform (DCP) at the given index.intReturns the number of Distributed Computing Platforms for this operation.Returns the value of the property that maps to theMetadataelement.getMetadata(int aIndex) Returns the metadata at the given index.intReturns the number of metadata objects for this operation.getName()Returns the value of the property that maps to thenameattribute.Returns the value of the property that maps to theParameterelement.getParameter(int aIndex) Returns the parameter at the given index.intReturns the number of parameters.voidremoveConstraint(int aIndex) Removes the constraint at the given index.voidremoveDCP(int aIndex) Removes the Distributed Computing Platform (DCP) at the given index.voidremoveMetadata(int aIndex) Removes the metadata at the given index.voidremoveParameter(int aIndex) Removes the parameter at the given index.voidSets the value of the property that maps to thenameattribute.
-
Field Details
-
NAME_PROPERTY
Data property that maps to thenameattribute. The possible values for this property are instances ofString. -
DCP_PROPERTY
Data property that maps to theDCPelement. The possible values for this property are instances ofList<TLcdOWSDCP>. -
PARAMETER_PROPERTY
Data property that maps to theParameterelement. The possible values for this property are instances ofList<TLcdOWSDomain>. -
CONSTRAINT_PROPERTY
Data property that maps to theConstraintelement. The possible values for this property are instances ofList<TLcdOWSDomain>. -
METADATA_PROPERTY
Data property that maps to theMetadataelement. The possible values for this property are instances ofList<TLcdOWSMetadata>.
-
-
Constructor Details
-
TLcdOWSOperation
Creates a newTLcdOWSOperationinstance with the given operation name.- Parameters:
aName- the operation name
-
TLcdOWSOperation
public TLcdOWSOperation()Creates a newTLcdOWSOperationinstance. No name will be set. -
TLcdOWSOperation
Creates a newTLcdOWSOperationinstance 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 thenameattribute.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_PROPERTYproperty.
-
setName
Sets the value of the property that maps to thenameattribute.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_PROPERTYproperty.
-
getDCP
Returns the value of the property that maps to theDCPelement.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_PROPERTYproperty.
-
getParameter
Returns the value of the property that maps to theParameterelement.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_PROPERTYproperty.
-
getConstraint
Returns the value of the property that maps to theConstraintelement.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_PROPERTYproperty.
-
getMetadata
Returns the value of the property that maps to theMetadataelement.- Returns:
- the value of the
METADATA_PROPERTYproperty.
-