deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.datatypes.values
Class TypedLiteral

java.lang.Object
  extended by org.deegree.datatypes.values.TypedLiteral
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class TypedLiteral
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
protected  java.net.URI uom
          Identifies the unit of measure of this literal input or output.
 
Constructor Summary
TypedLiteral(java.lang.String value, java.net.URI type)
          initializes a TypedLiteral with this.uom = null;
TypedLiteral(java.lang.String value, java.net.URI type, java.net.URI uom)
           
 
Method Summary
 java.lang.Object clone()
           
 java.net.URI getType()
           
 java.net.URI getUom()
          returns the units a TypedLiteral is measured; maybe null
 java.lang.String getValue()
           
 void setType(java.net.URI type)
           
 void setUom(java.net.URI value)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uom

protected java.net.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.

Constructor Detail

TypedLiteral

public TypedLiteral(java.lang.String value,
                    java.net.URI type)
initializes a TypedLiteral with this.uom = null;

Parameters:
value -
type -

TypedLiteral

public TypedLiteral(java.lang.String value,
                    java.net.URI type,
                    java.net.URI uom)
Parameters:
value -
type -
uom - units of measure
Method Detail

getType

public java.net.URI getType()
Returns:
Returns the type.

setType

public void setType(java.net.URI type)
Parameters:
type - The type to set.

getValue

public java.lang.String getValue()
Returns:
Returns the value.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

getUom

public java.net.URI getUom()
returns the units a TypedLiteral is measured; maybe null

Returns:
the units a TypedLiteral is measured; maybe null

setUom

public void setUom(java.net.URI value)
Parameters:
value - to set from

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object
See Also:
Object.clone()

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org