org.apache.axis.types
Class UnsignedLong

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

public class UnsignedLong
extends Number
implements 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  BigInteger lValue
           
 
Constructor Summary
UnsignedLong()
           
UnsignedLong(BigInteger value)
           
UnsignedLong(double value)
           
UnsignedLong(long lValue)
           
UnsignedLong(String stValue)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(Object obj)
           
 double doubleValue()
           
 boolean equals(Object obj)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
static boolean isValid(BigInteger value)
           
 long longValue()
           
 short shortValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lValue

protected BigInteger lValue
Constructor Detail

UnsignedLong

public UnsignedLong()

UnsignedLong

public UnsignedLong(double value)
             throws NumberFormatException
Throws:
NumberFormatException

UnsignedLong

public UnsignedLong(BigInteger value)
             throws NumberFormatException
Throws:
NumberFormatException

UnsignedLong

public UnsignedLong(long lValue)
             throws NumberFormatException
Throws:
NumberFormatException

UnsignedLong

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

isValid

public static boolean isValid(BigInteger value)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

compareTo

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

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

shortValue

public short shortValue()
Overrides:
shortValue in class Number

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

floatValue

public float floatValue()
Specified by:
floatValue in class Number


Copyright © The Apache Software Foundation. All Rights Reserved.