org.apache.axis2.databinding.types
Class UnsignedLong
java.lang.Object
java.lang.Number
org.apache.axis2.databinding.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
- See Also:
- XML Schema 3.3.21,
Serialized Form
Field Summary |
protected java.math.BigInteger |
lValue
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
lValue
protected java.math.BigInteger lValue
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.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
UnsignedLong
public UnsignedLong(java.lang.String stValue)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
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
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
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
- Returns:
- the value 0 if the argument is an UnsignedLong numerically equal to this
UnsignedLong; a value less than 0 if the argument is an UnsignedLong numerically
greater than this UnsignedLong; and a value greater than 0 if the argument is an
UnsignedLong numerically less than this UnsignedLong.
Copyright ? 2007 Apache Web Services Project. All Rights Reserved.