Class TLcdOWSOperationsMetadata
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
- Direct Known Subclasses:
TLcdWCSOperationsMetadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theConstraintelement.static final TLcdDataPropertyData property that maps to theExtendedCapabilitieselement.static final TLcdDataPropertyData property that maps to theOperationelement.static final TLcdDataPropertyData property that maps to theParameterelement. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newTLcdOWSOperationsMetadatainstance.Creates a newTLcdOWSOperationsMetadatainstance with the given data type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstraint(TLcdOWSDomain aConstraint) Adds a constraint.voidaddOperation(TLcdOWSOperation aOperation) Adds an operation.voidaddParameter(TLcdOWSDomain aParameter) Adds a parameter.Returns the value of the property that maps to theConstraintelement.getConstraint(int aIndex) Returns the constraint at the given index.getConstraintByName(String aName) Returns a constraint associated to the given name ornullif no constraint can be found with that name.intReturns the number of constraints.Returns the value of the property that maps to theExtendedCapabilitieselement.Returns the value of the property that maps to theOperationelement.getOperation(int aIndex) Returns the operation at the given index.getOperationByName(String aName) Returns an operation associated to the given name ornullif no operation can be found with that name.intReturns the number of operations.Returns the value of the property that maps to theParameterelement.getParameter(int aIndex) Returns the parameter at the given index.getParameterByName(String aName) Returns a parameter associated to the given name ornullif no parameter can be found with that name.intReturns the number of parameters.voidremoveConstraint(int aIndex) Removes the constraint at the given index.voidremoveOperation(int aIndex) Removes the operation at the given index.voidremoveParameter(int aIndex) Removes the parameter at the given index.voidsetExtendedCapabilities(Object aValue) Sets the value of the property that maps to theExtendedCapabilitieselement.
-
Field Details
-
OPERATION_PROPERTY
Data property that maps to theOperationelement. The possible values for this property are instances ofList<TLcdOWSOperation>. -
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>. -
EXTENDED_CAPABILITIES_PROPERTY
Data property that maps to theExtendedCapabilitieselement. The possible values for this property are instances ofObject.
-
-
Constructor Details
-
TLcdOWSOperationsMetadata
public TLcdOWSOperationsMetadata()Creates a newTLcdOWSOperationsMetadatainstance. -
TLcdOWSOperationsMetadata
Creates a newTLcdOWSOperationsMetadatainstance with the given data type.- Parameters:
aType- The data type.
-
-
Method Details
-
addOperation
Adds an operation.- Parameters:
aOperation- the operation to be added
-
getOperationCount
public int getOperationCount()Returns the number of operations.- Returns:
- the number of operations.
-
removeOperation
public void removeOperation(int aIndex) Removes the operation at the given index.- Parameters:
aIndex- the index of operation to be removed
-
getOperation
Returns the operation at the given index.- Parameters:
aIndex- the index of the operation to be retrieved- Returns:
- the operation at the given index
-
addParameter
Adds a parameter. The parameter list is an optional unordered list of parameter valid domains that each apply to one or more operations which this server interface 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. The parameter list is an optional unordered list of parameter valid domains that each apply to one or more operations which this server interface implements.- Parameters:
aIndex- the index of the parameter to be retrieved- Returns:
- the parameter at the given index.
-
addConstraint
Adds a constraint. The constraint list is an optional unordered list of valid domain constraints on non-parameter quantities that each apply to this server.- 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 server.- Parameters:
aIndex- the index of the constraint to be retrieved- Returns:
- the constraint at the given index.
-
getOperationByName
Returns an operation associated to the given name ornullif no operation can be found with that name.- Parameters:
aName- the name of an operation- Returns:
- the operation associated to the given name or
nullif no operation can be found with that name.
-
getConstraintByName
Returns a constraint associated to the given name ornullif no constraint can be found with that name.- Parameters:
aName- the name of a constraint- Returns:
- the constraint associated to the given name or
nullif no constraint can be found with that name. - Since:
- 2017.0
-
getParameterByName
Returns a parameter associated to the given name ornullif no parameter can be found with that name.- Parameters:
aName- the name of a parameter- Returns:
- the parameter associated to the given name or
nullif no parameter can be found with that name. - Since:
- 2017.0
-
getOperation
Returns the value of the property that maps to theOperationelement.Metadata for one operation that this server implements.
- Returns:
- the value of the
OPERATION_PROPERTYproperty.
-
getParameter
Returns the value of the property that maps to theParameterelement.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.
- 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 server. The list of required and optional constraints shall be specified in the Implementation Specification for this service.
- Returns:
- the value of the
CONSTRAINT_PROPERTYproperty.
-
getExtendedCapabilities
Returns the value of the property that maps to theExtendedCapabilitieselement.Individual software vendors and servers can use this element to provide metadata about any additional server abilities.
- Returns:
- the value of the
EXTENDED_CAPABILITIES_PROPERTYproperty.
-
setExtendedCapabilities
Sets the value of the property that maps to theExtendedCapabilitieselement.Individual software vendors and servers can use this element to provide metadata about any additional server abilities.
- Parameters:
aValue- the value to set for theEXTENDED_CAPABILITIES_PROPERTYproperty.
-