org.apache.axis.types
public class UnsignedShort extends UnsignedInt
lValue
Constructor and Description |
---|
UnsignedShort() |
UnsignedShort(long sValue)
ctor for UnsignedShort
|
UnsignedShort(java.lang.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, toString
public UnsignedShort()
public UnsignedShort(long sValue) throws java.lang.NumberFormatException
java.lang.NumberFormatException
- will be thrown if validation failspublic UnsignedShort(java.lang.String sValue) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public void setValue(long sValue) throws java.lang.NumberFormatException
setValue
in class UnsignedInt
sValue
- valuejava.lang.NumberFormatException
public static boolean isValid(long sValue)
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.