public class TLcdOWSOperationsMetadata extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
CONSTRAINT_PROPERTY
Data property that maps to the
Constraint element. |
static TLcdDataProperty |
EXTENDED_CAPABILITIES_PROPERTY
Data property that maps to the
ExtendedCapabilities element. |
static TLcdDataProperty |
OPERATION_PROPERTY
Data property that maps to the
Operation element. |
static TLcdDataProperty |
PARAMETER_PROPERTY
Data property that maps to the
Parameter element. |
Constructor and Description |
---|
TLcdOWSOperationsMetadata()
Creates a new
TLcdOWSOperationsMetadata instance. |
TLcdOWSOperationsMetadata(TLcdDataType aType)
Creates a new
TLcdOWSOperationsMetadata instance with the given data type. |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(TLcdOWSDomain aConstraint)
Adds a constraint.
|
void |
addOperation(TLcdOWSOperation aOperation)
Adds an operation.
|
void |
addParameter(TLcdOWSDomain aParameter)
Adds a parameter.
|
List<TLcdOWSDomain> |
getConstraint()
Returns the value of the property that maps to the
Constraint element. |
TLcdOWSDomain |
getConstraint(int aIndex)
Returns the constraint at the given index.
|
TLcdOWSDomain |
getConstraintByName(String aName)
Returns a constraint associated to the given name or
null if no constraint can be found with that name. |
int |
getConstraintCount()
Returns the number of constraints.
|
Object |
getExtendedCapabilities()
Returns the value of the property that maps to the
ExtendedCapabilities element. |
List<TLcdOWSOperation> |
getOperation()
Returns the value of the property that maps to the
Operation element. |
TLcdOWSOperation |
getOperation(int aIndex)
Returns the operation at the given index.
|
TLcdOWSOperation |
getOperationByName(String aName)
Returns an operation associated to the given name or
null if no operation can be found with that name. |
int |
getOperationCount()
Returns the number of operations.
|
List<TLcdOWSDomain> |
getParameter()
Returns the value of the property that maps to the
Parameter element. |
TLcdOWSDomain |
getParameter(int aIndex)
Returns the parameter at the given index.
|
TLcdOWSDomain |
getParameterByName(String aName)
Returns a parameter associated to the given name or
null if no parameter can be found with that name. |
int |
getParameterCount()
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 the
ExtendedCapabilities element. |
public static final TLcdDataProperty OPERATION_PROPERTY
Operation
element.
The possible values for this property are instances of List<TLcdOWSOperation>
.public static final TLcdDataProperty PARAMETER_PROPERTY
Parameter
element.
The possible values for this property are instances of List<TLcdOWSDomain>
.public static final TLcdDataProperty CONSTRAINT_PROPERTY
Constraint
element.
The possible values for this property are instances of List<TLcdOWSDomain>
.public static final TLcdDataProperty EXTENDED_CAPABILITIES_PROPERTY
ExtendedCapabilities
element.
The possible values for this property are instances of Object
.public TLcdOWSOperationsMetadata()
TLcdOWSOperationsMetadata
instance.public TLcdOWSOperationsMetadata(TLcdDataType aType)
TLcdOWSOperationsMetadata
instance with the given data type.aType
- The data type.public void addOperation(TLcdOWSOperation aOperation)
aOperation
- the operation to be addedpublic int getOperationCount()
public void removeOperation(int aIndex)
aIndex
- the index of operation to be removedpublic TLcdOWSOperation getOperation(int aIndex)
aIndex
- the index of the operation to be retrievedpublic void addParameter(TLcdOWSDomain aParameter)
aParameter
- the parameter to be addedpublic int getParameterCount()
public void removeParameter(int aIndex)
aIndex
- the index of the parameter to be removedpublic TLcdOWSDomain getParameter(int aIndex)
aIndex
- the index of the parameter to be retrievedpublic void addConstraint(TLcdOWSDomain aConstraint)
aConstraint
- the constraint to be added.public int getConstraintCount()
public void removeConstraint(int aIndex)
aIndex
- the index of the constraint to be removedpublic TLcdOWSDomain getConstraint(int aIndex)
aIndex
- the index of the constraint to be retrievedpublic TLcdOWSOperation getOperationByName(String aName)
null
if no operation can be found with that name.aName
- the name of an operationnull
if no operation can be found with that name.public TLcdOWSDomain getConstraintByName(String aName)
null
if no constraint can be found with that name.aName
- the name of a constraintnull
if no constraint can be found with that name.public TLcdOWSDomain getParameterByName(String aName)
null
if no parameter can be found with that name.aName
- the name of a parameternull
if no parameter can be found with that name.public List<TLcdOWSOperation> getOperation()
Operation
element.
Metadata for one operation that this server implements.
OPERATION_PROPERTY
property.public List<TLcdOWSDomain> getParameter()
Parameter
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.
PARAMETER_PROPERTY
property.public List<TLcdOWSDomain> getConstraint()
Constraint
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.
CONSTRAINT_PROPERTY
property.public Object getExtendedCapabilities()
ExtendedCapabilities
element.
Individual software vendors and servers can use this element to provide metadata about any additional server abilities.
EXTENDED_CAPABILITIES_PROPERTY
property.public void setExtendedCapabilities(Object aValue)
ExtendedCapabilities
element.
Individual software vendors and servers can use this element to provide metadata about any additional server abilities.
aValue
- the value to set for the EXTENDED_CAPABILITIES_PROPERTY
property.