Class UnsignedInt
- java.lang.Object
-
- java.lang.Number
-
- org.apache.axis2.databinding.types.UnsignedInt
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnsignedShort
public class UnsignedInt extends Number
Custom class for supporting primitive XSD data type UnsignedInt- See Also:
- XML Schema 3.3.22, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsignedInt()
UnsignedInt(long iValue)
ctor for UnsignedIntUnsignedInt(String stValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
byteValue()
double
doubleValue()
boolean
equals(Object obj)
float
floatValue()
int
hashCode()
int
intValue()
static boolean
isValid(long iValue)
validate the value against the xsd definitionlong
longValue()
void
setValue(long iValue)
validates the data and sets the value for the object.short
shortValue()
String
toString()
-
-
-
Field Detail
-
lValue
protected Long lValue
-
-
Constructor Detail
-
UnsignedInt
public UnsignedInt()
-
UnsignedInt
public UnsignedInt(long iValue) throws NumberFormatException
ctor for UnsignedInt- Throws:
NumberFormatException
- will be thrown if validation fails
-
UnsignedInt
public UnsignedInt(String stValue) throws NumberFormatException
- Throws:
NumberFormatException
-
-
Method Detail
-
setValue
public void setValue(long iValue) throws NumberFormatException
validates the data and sets the value for the object.- Parameters:
iValue
- value- Throws:
NumberFormatException
-
isValid
public static boolean isValid(long iValue)
validate the value against the xsd definition
-
shortValue
public short shortValue()
- Overrides:
shortValue
in classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classNumber
-
-