public abstract class FixedPointAtomPoemType<T> extends AtomPoemType<BigDecimal>
| Constructor and Description |
|---|
FixedPointAtomPoemType(int sqlTypeCode,
String sqlTypeName,
boolean nullable,
int precision,
int scale)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecision() |
int |
getScale() |
int |
getTotalSize() |
void |
setPrecision(int newPrecision) |
void |
setScale(int newScale) |
FixedPointAtomPoemType<T> |
withPrecisionAndScale(int newPrecision,
int newScale) |
sqlDefaultValueassertValidCooked, assertValidRaw, canRepresent, cookedOfRaw, getNullable, getRaw, possibleRaws, quotedRaw, rawOfCooked, rawOfString, saveColumnInfo, setRaw, setRawRange, sqlDefinition, sqlTypeCode, sqlTypeDefinition, stringOfCooked, stringOfRaw, toString, withNullablepublic FixedPointAtomPoemType(int sqlTypeCode,
String sqlTypeName,
boolean nullable,
int precision,
int scale)
sqlTypeCode - from TypessqlTypeName - name of sql typenullable - whether nulls are allowable valuesprecision - how many places to the left of decimal pointscale - howmany places to right of decimal pointpublic int getTotalSize()
public FixedPointAtomPoemType<T> withPrecisionAndScale(int newPrecision, int newScale)
newPrecision - required precisionnewScale - required scalepublic int getPrecision()
public int getScale()
public void setPrecision(int newPrecision)
newPrecision - precision to setpublic void setScale(int newScale)
newScale - scale to setCopyright © 2000–2021 PanEris. All rights reserved.