org.tockit.datatype.xsd
Class DecimalValue

java.lang.Object
  extended byorg.tockit.datatype.AbstractValue
      extended byorg.tockit.datatype.xsd.DecimalValue
All Implemented Interfaces:
Ordered, Value

public class DecimalValue
extends AbstractValue


Field Summary
 
Fields inherited from interface org.tockit.datatype.Value
NULL
 
Constructor Summary
DecimalValue(double value)
           
 
Method Summary
 java.lang.String getDisplayString()
           
 double getValue()
           
 int hashCode()
           
 boolean isLesserThan(Ordered other)
          We default to be a co-chain.
 boolean sameTypeEquals(java.lang.Object other)
           
 
Methods inherited from class org.tockit.datatype.AbstractValue
equals, isEqual, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecimalValue

public DecimalValue(double value)
Method Detail

getDisplayString

public java.lang.String getDisplayString()

isLesserThan

public boolean isLesserThan(Ordered other)
Description copied from class: AbstractValue
We default to be a co-chain.

Specified by:
isLesserThan in interface Ordered
Overrides:
isLesserThan in class AbstractValue

getValue

public double getValue()

sameTypeEquals

public boolean sameTypeEquals(java.lang.Object other)
Specified by:
sameTypeEquals in class AbstractValue

hashCode

public int hashCode()
Specified by:
hashCode in class AbstractValue


The ToscanaJ project