org.deegree.datatypes.values
Class TypedLiteral
java.lang.Object
org.deegree.datatypes.values.TypedLiteral
- All Implemented Interfaces:
- Serializable, Cloneable
public class TypedLiteral
- extends Object
- implements Cloneable, Serializable
- Since:
- 2.0
- Version:
- $Revision: 9337 $, 1.0. $Revision: 9337 $, $Date: 2007-12-27 13:31:11 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
- See Also:
- Serialized Form
Field Summary |
protected URI |
uom
Identifies the unit of measure of this literal input or output. |
uom
protected URI uom
- Identifies the unit of measure of this literal input or output. This unit of measure should
be referenced for any numerical value that has units (e.g., "meters", but not a more complete
reference system). Shall be a UOM identified in the Process description for this input or
output.
TypedLiteral
public TypedLiteral(String value,
URI type)
- initializes a
TypedLiteral
with this.uom = null;
- Parameters:
value
- type
-
TypedLiteral
public TypedLiteral(String value,
URI type,
URI uom)
- Parameters:
value
- type
- uom
- units of measure
getType
public URI getType()
- Returns:
- Returns the type.
setType
public void setType(URI type)
- Parameters:
type
- The type to set.
getValue
public String getValue()
- Returns:
- Returns the value.
setValue
public void setValue(String value)
- Parameters:
value
- The value to set.
getUom
public URI getUom()
- returns the units a
TypedLiteral
is measured; maybe null
- Returns:
- the units a
TypedLiteral
is measured; maybe null
setUom
public void setUom(URI value)
clone
public Object clone()
- Overrides:
clone
in class Object
- See Also:
Object.clone()
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net