org.deegree.services.wps.input
Interface LiteralInput

All Superinterfaces:
ProcessletInput
All Known Implementing Classes:
LiteralInputImpl

public interface LiteralInput
extends ProcessletInput

A literal data ProcessletInput parameter of a simple quantity (e.g., one number) with optional UOM (unit-of-measure) information.

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

Method Summary
 java.lang.String getDataType()
          Returns the (human-readable) literal data type from the process definition, e.g.
 java.lang.String getUOM()
          Returns the UOM (unit-of-measure) for the literal value, it is guaranteed that the returned UOM is supported for this parameter (according to the process description).
 java.lang.String getValue()
          Returns the literal value.
 
Methods inherited from interface org.deegree.services.wps.input.ProcessletInput
getAbstract, getIdentifier, getTitle
 

Method Detail

getValue

java.lang.String getValue()
Returns the literal value.

Returns:
the literal value (has to be in the correct UOM)
See Also:
getUOM()

getUOM

java.lang.String getUOM()
Returns the UOM (unit-of-measure) for the literal value, it is guaranteed that the returned 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 if no UOM is specified in the process description

getDataType

java.lang.String getDataType()
Returns the (human-readable) literal data type from the process definition, e.g. integer, real, etc).

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


Copyright © 2011. All Rights Reserved.