org.deegree.protocol.wps.client.input
Class LiteralInput

java.lang.Object
  extended by org.deegree.protocol.wps.client.input.ExecutionInput
      extended by org.deegree.protocol.wps.client.input.LiteralInput

public class LiteralInput
extends ExecutionInput

ExecutionInput that contains a literal value with optional data type and unit-of-measure information.

Version:
$Revision: 26137 $, $Date: 2010-08-25 18:05:25 +0200 (Wed, 25 Aug 2010) $
Author:
Andrei Ionita, last edited by: $Author: aionita $

Constructor Summary
LiteralInput(CodeType id, String value, String dataType, String uom)
          Creates a new LiteralInput instance.
 
Method Summary
 String getDataType()
          Returns the data type.
 String getUom()
          Returns the unit-of-measure.
 String getValue()
          Returns the value.
 
Methods inherited from class org.deegree.protocol.wps.client.input.ExecutionInput
getId, getWebAccessibleURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralInput

public LiteralInput(CodeType id,
                    String value,
                    String dataType,
                    String uom)
Creates a new LiteralInput instance.

Parameters:
id - input parameter identifier, must not be null
value - literal value, must not be null
dataType - literal data type, can be null (unspecified)
uom - unit-of-measure, can be null (unspecified)
Method Detail

getValue

public String getValue()
Returns the value.

Returns:
the value, never null

getDataType

public String getDataType()
Returns the data type.

Returns:
the data type, may be null (unspecified)

getUom

public String getUom()
Returns the unit-of-measure.

Returns:
the unit-of-measure, may be null (unspecified)


Copyright © 2011. All Rights Reserved.