org.apache.axis2.databinding.types
Class UnsignedInt
java.lang.Object
java.lang.Number
org.apache.axis2.databinding.types.UnsignedInt
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- UnsignedShort
- public class UnsignedInt
- extends java.lang.Number
Custom class for supporting primitive XSD data type UnsignedInt
- See Also:
- XML Schema 3.3.22,
Serialized Form
Field Summary |
protected java.lang.Long |
lValue
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
lValue
protected java.lang.Long lValue
UnsignedInt
public UnsignedInt()
UnsignedInt
public UnsignedInt(long iValue)
throws java.lang.NumberFormatException
- ctor for UnsignedInt
- Throws:
java.lang.NumberFormatException
- will be thrown if validation fails
UnsignedInt
public UnsignedInt(java.lang.String stValue)
throws java.lang.NumberFormatException
setValue
public void setValue(long iValue)
throws java.lang.NumberFormatException
- validates the data and sets the value for the object.
- Parameters:
iValue
- value
- Throws:
java.lang.NumberFormatException
toString
public java.lang.String toString()
hashCode
public int hashCode()
isValid
public static boolean isValid(long iValue)
- validate the value against the xsd definition
equals
public boolean equals(java.lang.Object obj)
byteValue
public byte byteValue()
shortValue
public short shortValue()
intValue
public int intValue()
longValue
public long longValue()
doubleValue
public double doubleValue()
floatValue
public float floatValue()
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.