public class DecimalStoredElement extends StoredElement
Constructor and Description |
---|
DecimalStoredElement(java.lang.String suffix,
int precision,
int scale)
Creates a decimal stored element with the provided name
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJavaFieldName() |
int |
getPrecision() |
int |
getScale() |
changeName, getGenericNameForProperty, setGenericsName
public DecimalStoredElement(java.lang.String suffix, int precision, int scale)
suffix
- local name of the elementprecision
- the total number of digits in the number excluding minus
sign and decimal point (e.g. 8 for 11345.432, 13 for
-112333451.4232)scale
- number of digits after the decimal point (e.g. 3 for
11345.432, 4 for -112333451.4232)public java.lang.String getJavaFieldName()
getJavaFieldName
in class Element
public int getScale()
public int getPrecision()