public class UnsignedInt extends Number implements Comparable
| Constructor and Description |
|---|
UnsignedInt() |
UnsignedInt(long iValue)
ctor for UnsignedInt
|
UnsignedInt(String stValue) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected Long lValue
public UnsignedInt()
public UnsignedInt(long iValue)
throws NumberFormatException
NumberFormatException - will be thrown if validation failspublic UnsignedInt(String stValue) throws NumberFormatException
NumberFormatExceptionpublic void setValue(long iValue)
throws NumberFormatException
iValue - valueNumberFormatExceptionpublic static boolean isValid(long iValue)
public int compareTo(Object obj)
compareTo in interface Comparablepublic short shortValue()
shortValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic float floatValue()
floatValue in class NumberCopyright © The Apache Software Foundation. All Rights Reserved.