deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.commons.uom
Class Measure

java.lang.Object
  extended by org.deegree.commons.uom.Measure
Direct Known Subclasses:
Angle, Length

public class Measure
extends Object

Number with a scale.

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

Constructor Summary
Measure(BigDecimal value, String uomURI)
           
Measure(String value, String uomURI)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getUomUri()
           
 BigDecimal getValue()
           
 double getValueAsDouble()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Measure

public Measure(BigDecimal value,
               String uomURI)

Measure

public Measure(String value,
               String uomURI)
        throws NumberFormatException
Throws:
NumberFormatException
Method Detail

getValue

public BigDecimal getValue()

getValueAsDouble

public double getValueAsDouble()

getUomUri

public String getUomUri()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>