org.apache.axis.types

Class UnsignedInt

Implemented Interfaces:
java.lang.Comparable
Known Direct Subclasses:
UnsignedShort

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

Custom class for supporting primitive XSD data type UnsignedInt
Author:
Chris Haddad
See Also:
XML Schema 3.3.22

Field Summary

protected Long
lValue

Constructor Summary

UnsignedInt()
UnsignedInt(String stValue)
UnsignedInt(long iValue)
ctor for UnsignedInt

Method Summary

byte
byteValue()
int
compareTo(Object obj)
double
doubleValue()
boolean
equals(Object obj)
float
floatValue()
int
hashCode()
int
intValue()
static boolean
isValid(long iValue)
validate the value against the xsd definition
long
longValue()
void
setValue(long iValue)
validates the data and sets the value for the object.
short
shortValue()
String
toString()

Field Details

lValue

protected Long lValue

Constructor Details

UnsignedInt

public UnsignedInt()

UnsignedInt

public UnsignedInt(String stValue)
            throws NumberFormatException

UnsignedInt

public UnsignedInt(long iValue)
            throws NumberFormatException
ctor for UnsignedInt

Method Details

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)
            throws NumberFormatException
validates the data and sets the value for the object.
Parameters:
iValue - value

shortValue

public short shortValue()

toString

public String toString()

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