Class TLcdOWSOperationsMetadata
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
- Direct Known Subclasses:
TLcdWCSOperationsMetadata
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theConstraint
element.static final TLcdDataProperty
Data property that maps to theExtendedCapabilities
element.static final TLcdDataProperty
Data property that maps to theOperation
element.static final TLcdDataProperty
Data property that maps to theParameter
element. -
Constructor Summary
ConstructorDescriptionCreates a newTLcdOWSOperationsMetadata
instance.Creates a newTLcdOWSOperationsMetadata
instance with the given data type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(TLcdOWSDomain aConstraint) Adds a constraint.void
addOperation
(TLcdOWSOperation aOperation) Adds an operation.void
addParameter
(TLcdOWSDomain aParameter) Adds a parameter.Returns the value of the property that maps to theConstraint
element.getConstraint
(int aIndex) Returns the constraint at the given index.getConstraintByName
(String aName) Returns a constraint associated to the given name ornull
if no constraint can be found with that name.int
Returns the number of constraints.Returns the value of the property that maps to theExtendedCapabilities
element.Returns the value of the property that maps to theOperation
element.getOperation
(int aIndex) Returns the operation at the given index.getOperationByName
(String aName) Returns an operation associated to the given name ornull
if no operation can be found with that name.int
Returns the number of operations.Returns the value of the property that maps to theParameter
element.getParameter
(int aIndex) Returns the parameter at the given index.getParameterByName
(String aName) Returns a parameter associated to the given name ornull
if no parameter can be found with that name.int
Returns the number of parameters.void
removeConstraint
(int aIndex) Removes the constraint at the given index.void
removeOperation
(int aIndex) Removes the operation at the given index.void
removeParameter
(int aIndex) Removes the parameter at the given index.void
setExtendedCapabilities
(Object aValue) Sets the value of the property that maps to theExtendedCapabilities
element.
-
Field Details
-
OPERATION_PROPERTY
Data property that maps to theOperation
element. The possible values for this property are instances ofList<TLcdOWSOperation>
. -
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>
. -
EXTENDED_CAPABILITIES_PROPERTY
Data property that maps to theExtendedCapabilities
element. The possible values for this property are instances ofObject
.
-
-
Constructor Details
-
TLcdOWSOperationsMetadata
public TLcdOWSOperationsMetadata()Creates a newTLcdOWSOperationsMetadata
instance. -
TLcdOWSOperationsMetadata
Creates a newTLcdOWSOperationsMetadata
instance 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 ornull
if no operation can be found with that name.- Parameters:
aName
- the name of an operation- Returns:
- the operation associated to the given name or
null
if no operation can be found with that name.
-
getConstraintByName
Returns a constraint associated to the given name ornull
if no constraint can be found with that name.- Parameters:
aName
- the name of a constraint- Returns:
- the constraint associated to the given name or
null
if no constraint can be found with that name. - Since:
- 2017.0
-
getParameterByName
Returns a parameter associated to the given name ornull
if no parameter can be found with that name.- Parameters:
aName
- the name of a parameter- Returns:
- the parameter associated to the given name or
null
if no parameter can be found with that name. - Since:
- 2017.0
-
getOperation
Returns the value of the property that maps to theOperation
element.Metadata for one operation that this server implements.
- Returns:
- the value of the
OPERATION_PROPERTY
property.
-
getParameter
Returns the value of the property that maps to theParameter
element.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_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 server. The list of required and optional constraints shall be specified in the Implementation Specification for this service.
- Returns:
- the value of the
CONSTRAINT_PROPERTY
property.
-
getExtendedCapabilities
Returns the value of the property that maps to theExtendedCapabilities
element.Individual software vendors and servers can use this element to provide metadata about any additional server abilities.
- Returns:
- the value of the
EXTENDED_CAPABILITIES_PROPERTY
property.
-
setExtendedCapabilities
Sets the value of the property that maps to theExtendedCapabilities
element.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_PROPERTY
property.
-