org.apache.axis.types

Class UnsignedInt

public class UnsignedInt extends Number implements Comparable

Custom class for supporting primitive XSD data type UnsignedInt

Author: Chris Haddad

See Also: XML Schema 3.3.22

Field Summary
protected LonglValue
Constructor Summary
UnsignedInt()
UnsignedInt(long iValue)
ctor for UnsignedInt
UnsignedInt(String stValue)
Method Summary
bytebyteValue()
intcompareTo(Object obj)
doubledoubleValue()
booleanequals(Object obj)
floatfloatValue()
inthashCode()
intintValue()
static booleanisValid(long iValue)
validate the value against the xsd definition
longlongValue()
voidsetValue(long iValue)
validates the data and sets the value for the object.
shortshortValue()
StringtoString()

Field Detail

lValue

protected Long lValue

Constructor Detail

UnsignedInt

public UnsignedInt()

UnsignedInt

public UnsignedInt(long iValue)
ctor for UnsignedInt

Throws: NumberFormatException will be thrown if validation fails

UnsignedInt

public UnsignedInt(String stValue)

Method Detail

byteValue

public byte byteValue()

compareTo

public int compareTo(Object obj)

doubleValue

public double doubleValue()

equals

public boolean equals(Object obj)

floatValue

public float floatValue()

hashCode

public int hashCode()

intValue

public int intValue()

isValid

public static boolean isValid(long iValue)
validate the value against the xsd definition

longValue

public long longValue()

setValue

public void setValue(long iValue)
validates the data and sets the value for the object.

Parameters: iValue value

shortValue

public short shortValue()

toString

public String toString()
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.