org.apache.axis.types
Class UnsignedLong

java.lang.Object
  extended by java.lang.Number
      extended by org.apache.axis.types.UnsignedLong
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

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

Custom class for supporting primitive XSD data type UnsignedLong

Author:
Chris Haddad
See Also:
XML Schema 3.3.21, Serialized Form

Field Summary
protected  java.math.BigInteger lValue
           
 
Constructor Summary
UnsignedLong()
           
UnsignedLong(java.math.BigInteger value)
           
UnsignedLong(double value)
           
UnsignedLong(long lValue)
           
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()
           
static boolean isValid(java.math.BigInteger value)
           
 long longValue()
           
 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.math.BigInteger lValue
Constructor Detail

UnsignedLong

public UnsignedLong()

UnsignedLong

public UnsignedLong(double value)
             throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException

UnsignedLong

public UnsignedLong(java.math.BigInteger value)
             throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException

UnsignedLong

public UnsignedLong(long lValue)
             throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException

UnsignedLong

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

isValid

public static boolean isValid(java.math.BigInteger value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

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

byteValue

public byte byteValue()
Overrides:
byteValue in class java.lang.Number

shortValue

public short shortValue()
Overrides:
shortValue in class java.lang.Number

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number


Copyright ? 2005 Apache Web Services Project. All Rights Reserved.