org.jboss.axis.types
Class UnsignedLong

java.lang.Object
  extended byjava.lang.Number
      extended byorg.jboss.axis.types.UnsignedLong
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class UnsignedLong
extends java.lang.Number
implements java.lang.Comparable

Custom class for supporting primitive XSD data type UnsignedLong

See Also:
XML Schema 3.3.21, Serialized Form

Field Summary
protected  java.lang.Double lValue
           
 
Constructor Summary
UnsignedLong()
           
UnsignedLong(double lValue)
          ctor for UnsignedLong
UnsignedLong(java.lang.String stValue)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(java.lang.Object obj)
           
 double doubleValue()
           
 boolean equals(java.lang.Object obj)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 boolean isValid(double lValue)
          validate the value against the xsd definition
 long longValue()
           
 void setValue(double lValue)
          validates the data and sets the value for the object.
 short shortValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lValue

protected java.lang.Double lValue
Constructor Detail

UnsignedLong

public UnsignedLong()

UnsignedLong

public UnsignedLong(double lValue)
             throws java.lang.NumberFormatException
ctor for UnsignedLong

Throws:
java.lang.NumberFormatException - will be thrown if validation fails

UnsignedLong

public UnsignedLong(java.lang.String stValue)
             throws java.lang.NumberFormatException
Method Detail

setValue

public void setValue(double lValue)
              throws java.lang.NumberFormatException
validates the data and sets the value for the object.

Throws:
java.lang.NumberFormatException

toString

public java.lang.String toString()

hashCode

public int hashCode()

isValid

public boolean isValid(double lValue)
validate the value against the xsd definition


equals

public boolean equals(java.lang.Object obj)

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

byteValue

public byte byteValue()

shortValue

public short shortValue()

intValue

public int intValue()

longValue

public long longValue()

doubleValue

public double doubleValue()

floatValue

public float floatValue()