public final class NumericImpl extends org.atp.spi.TypeableImpl<SQLDataType,Numeric> implements Numeric
| Modifier and Type | Field and Description |
|---|---|
static Numeric |
PLAIN_NUMERIC
This instance represents
NUMERIC without precision and scale. |
| Constructor and Description |
|---|
NumericImpl(Integer precision,
Integer scale) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doesEqual(Numeric another) |
Integer |
getPrecision()
Returns the precision (first integer) for this
NUMERIC. |
Integer |
getScale()
Returns the scale (second integer) for this
NUMERIC. |
public static final Numeric PLAIN_NUMERIC
NUMERIC without precision and scale.protected boolean doesEqual(Numeric another)
doesEqual in class org.atp.spi.TypeableImpl<SQLDataType,Numeric>public Integer getPrecision()
NUMERIC.getPrecision in interface NumericNUMERIC.Copyright © 2010-2012. All Rights Reserved.