public class TLcdOWSOperation extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
CONSTRAINT_PROPERTY
Data property that maps to the
Constraint element. |
static TLcdDataProperty |
DCP_PROPERTY
Data property that maps to the
DCP element. |
static TLcdDataProperty |
METADATA_PROPERTY
Data property that maps to the
Metadata element. |
static TLcdDataProperty |
NAME_PROPERTY
Data property that maps to the
name attribute. |
static TLcdDataProperty |
PARAMETER_PROPERTY
Data property that maps to the
Parameter element. |
Constructor and Description |
---|
TLcdOWSOperation()
Creates a new
TLcdOWSOperation instance. |
TLcdOWSOperation(String aName)
Creates a new
TLcdOWSOperation instance with the given operation name. |
TLcdOWSOperation(TLcdDataType aType)
Creates a new
TLcdOWSOperation instance with the given data type. |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
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.
|
int |
getConstraintCount()
Returns the number of constraints.
|
List<TLcdOWSDCP> |
getDCP()
Returns the value of the property that maps to the
DCP element. |
TLcdOWSDCP |
getDCP(int aIndex)
Returns the Distributed Computing Platform (DCP) at the given index.
|
int |
getDCPCount()
Returns the number of Distributed Computing Platforms for this operation.
|
List<TLcdOWSMetadata> |
getMetadata()
Returns the value of the property that maps to the
Metadata element. |
TLcdOWSMetadata |
getMetadata(int aIndex)
Returns the metadata at the given index.
|
int |
getMetadataCount()
Returns the number of metadata objects for this operation.
|
String |
getName()
Returns the value of the property that maps to the
name attribute. |
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.
|
int |
getParameterCount()
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 |
setName(String aValue)
Sets the value of the property that maps to the
name attribute. |
public static final TLcdDataProperty NAME_PROPERTY
name
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty DCP_PROPERTY
DCP
element.
The possible values for this property are instances of List<TLcdOWSDCP>
.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 METADATA_PROPERTY
Metadata
element.
The possible values for this property are instances of List<TLcdOWSMetadata>
.public TLcdOWSOperation(String aName)
TLcdOWSOperation
instance with the given operation name.aName
- the operation namepublic TLcdOWSOperation()
TLcdOWSOperation
instance.
No name will be set.public TLcdOWSOperation(TLcdDataType aType)
TLcdOWSOperation
instance with the given data type.
No name will be set.aType
- The data type.public void addDCP(TLcdOWSDCP aDCP)
aDCP
- the DCP to be addedpublic int getDCPCount()
public void removeDCP(int aIndex)
aIndex
- the index of the DCP to be removedpublic TLcdOWSDCP getDCP(int aIndex)
aIndex
- the index of the DCP to be retrieved.public void addParameter(TLcdOWSDomain aParameter)
aParameter
- the parameter to be added.public 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 void addMetadata(TLcdOWSMetadata aMetadata)
aMetadata
- the metadata to be added.public int getMetadataCount()
public void removeMetadata(int aIndex)
aIndex
- the index of the metadata to be removedpublic TLcdOWSMetadata getMetadata(int aIndex)
aIndex
- the index of the metadata to be retrievedpublic String getName()
name
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.
NAME_PROPERTY
property.public void setName(String aValue)
name
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.
aValue
- the value to set for the NAME_PROPERTY
property.public List<TLcdOWSDCP> getDCP()
DCP
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.
DCP_PROPERTY
property.public List<TLcdOWSDomain> getParameter()
Parameter
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.
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 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.
CONSTRAINT_PROPERTY
property.public List<TLcdOWSMetadata> getMetadata()
Metadata
element.METADATA_PROPERTY
property.