public class UnsignedShort extends UnsignedInt
lValue| Constructor and Description |
|---|
UnsignedShort() |
UnsignedShort(long sValue)
ctor for UnsignedShort
|
UnsignedShort(String sValue) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(long sValue)
validate the value against the xsd definition
|
void |
setValue(long sValue)
validates the data and sets the value for the object.
|
byteValue, compareTo, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue, toStringpublic UnsignedShort()
public UnsignedShort(long sValue)
throws NumberFormatException
NumberFormatException - will be thrown if validation failspublic UnsignedShort(String sValue) throws NumberFormatException
NumberFormatExceptionpublic void setValue(long sValue)
throws NumberFormatException
setValue in class UnsignedIntsValue - valueNumberFormatExceptionpublic static boolean isValid(long sValue)
Copyright © The Apache Software Foundation. All Rights Reserved.