org.deegree.services.wps.output
Interface LiteralOutput

All Superinterfaces:
ProcessletOutput
All Known Implementing Classes:
LiteralOutputImpl

public interface LiteralOutput
extends ProcessletOutput

Identifies this ProcessletOutput parameter to be literal data of a simple quantity (e.g., one number), and provides a method for setting it.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Method Summary
 String getDataType()
          Returns the announced literal data type from the process definition (e.g. integer, real, etc) as an URI, such as http://www.w3.org/TR/xmlschema-2/#integer.
 String getRequestedUOM()
          Returns the requested UOM (unit-of-measure) for the literal value, it is guaranteed that this UOM is supported for this parameter (according to the process description).
 void setValue(String value)
          Sets the value for this output parameter of the Processlet execution.
 
Methods inherited from interface org.deegree.services.wps.output.ProcessletOutput
getIdentifier, getSubmittedAbstract, getSubmittedTitle, isRequested, setAbstract, setTitle
 

Method Detail

setValue

void setValue(String value)
Sets the value for this output parameter of the Processlet execution.

Parameters:
value - value to be set (in the requested UOM)
See Also:
getRequestedUOM()

getRequestedUOM

String getRequestedUOM()
Returns the requested UOM (unit-of-measure) for the literal value, it is guaranteed that this UOM is supported for this parameter (according to the process description).

Returns:
the requested UOM (unit-of-measure) for the literal value, may be null

getDataType

String getDataType()
Returns the announced literal data type from the process definition (e.g. integer, real, etc) as an URI, such as http://www.w3.org/TR/xmlschema-2/#integer.

Returns:
the data type, or null if not specified in the process definition


Copyright © 2011. All Rights Reserved.