|
Adobe LiveCycle Business Activity Monitoring ES API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
SQL "NUMERIC" values.
| Method Summary | |
void |
abs()
Changes this numeric to an unsigned value. |
void |
ceil()
Changes this numeric to the smallest integer greater than or equal to it. |
void |
floor()
Changes this numeric to the greatest integer less than or equal to it. |
BigDecimal |
getBigDecimal()
Get the value of this numeric as a decimal. |
double |
getDouble()
Get the value of this numeric as a double. |
int |
getInt()
Get the value of this numeric as an integer. |
long |
getLong()
Get the value of this numeric as an integer. |
void |
round(int n)
Changes this numeric to its value rounded to n places right of the decimal point. |
void |
set(BigDecimal v)
Set the value of this numeric with the specified decimal. |
void |
set(double v)
Set the value of this numeric with the specified double. |
void |
set(int v)
Set the value of this numeric with the specified integer. |
void |
set(long v)
Set the value of this numeric with the specified long. |
int |
sign()
Returns an integer indicating the sign of this numeric. |
void |
trunc(int n)
Changes this numeric to its value truncated to n places right of the decimal point. |
| Methods inherited from interface com.celequest.api.type.ISQLValue |
getString, isNull, set, set, setNull |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Method Detail |
public void set(int v)
v - an integer value
RuntimeException - on overflowpublic void set(double v)
v - a double value
RuntimeException - on overflowpublic void set(BigDecimal v)
v - a decimal value
RuntimeException - on overflowpublic void set(long v)
v - a long value
RuntimeException - on overflowpublic int getInt()
RuntimeException - on overflow or if value is a SQL NULLpublic long getLong()
RuntimeException - on overflow or if value is a SQL NULLpublic double getDouble()
RuntimeException - on overflow or if value is a SQL NULLpublic BigDecimal getBigDecimal()
RuntimeException - on overflow or if value is a SQL NULLpublic void abs()
RuntimeException - iff the value is a SQL NULLpublic int sign()
RuntimeException - iff the value is a SQL NULLpublic void floor()
RuntimeException - iff the value is a SQL NULLpublic void ceil()
RuntimeException - iff the value is a SQL NULLpublic void trunc(int n)
n - number of places to the right of the decimal point
RuntimeException - iff the value is a SQL NULLpublic void round(int n)
n - number of places to the right of the decimal point
RuntimeException - iff the value is a SQL NULL
|
Adobe LiveCycle Business Activity Monitoring ES API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||