org.deegree.protocol.wps.client.output
Class LiteralOutput

java.lang.Object
  extended by org.deegree.protocol.wps.client.output.ExecutionOutput
      extended by org.deegree.protocol.wps.client.output.LiteralOutput

public class LiteralOutput
extends ExecutionOutput

ExecutionOutput 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, Markus Schneider, last edited by: $Author: aionita $

Constructor Summary
LiteralOutput(CodeType id, String value, String dataType, String uom)
          Creates a new LiteralOutput 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.output.ExecutionOutput
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralOutput

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

Parameters:
id - output 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.