Interface XSDecimal
-
public interface XSDecimal
Interface to expose the value of 'decimal' and related datatypes.
- Version:
- $Id$
- Author:
- Naela Nissar, IBM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimal
getBigDecimal()
BigInteger
getBigInteger()
byte
getByte()
int
getInt()
long
getLong()
short
getShort()
-
-
-
Method Detail
-
getBigDecimal
BigDecimal getBigDecimal()
- Returns:
- the
BigDecimal
representation of this object
-
getBigInteger
BigInteger getBigInteger() throws NumberFormatException
- Returns:
- the
BigInteger
representation of this object - Throws:
NumberFormatException
- if the value cannot be represented as aBigInteger
-
getLong
long getLong() throws NumberFormatException
- Returns:
- the long value representation of this object
- Throws:
NumberFormatException
- if the value cannot be represented as along
-
getInt
int getInt() throws NumberFormatException
- Returns:
- the int value representation of this object
- Throws:
NumberFormatException
- if the value cannot be represented as aint
-
getShort
short getShort() throws NumberFormatException
- Returns:
- the short value representation of this object
- Throws:
NumberFormatException
- if the value cannot be represented as ashort
-
getByte
byte getByte() throws NumberFormatException
- Returns:
- the byte value representation of this object
- Throws:
NumberFormatException
- if the value cannot be represented as abyte
-
-