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
NumberFormatException
public void setValue(long iValue) throws NumberFormatException
iValue
- valueNumberFormatException
public static boolean isValid(long iValue)
public int compareTo(Object obj)
compareTo
in interface Comparable
public short shortValue()
shortValue
in class Number
public double doubleValue()
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
Copyright © The Apache Software Foundation. All Rights Reserved.