public class DecimalAttribute extends NumericAttribute
Constructor and Description |
---|
DecimalAttribute(java.lang.String description,
java.lang.String fieldName)
Constructs a new decimal attribute with the length 8 and scale 2.
|
DecimalAttribute(java.lang.String description,
java.lang.String fieldName,
int length)
Constructs a new numeric attribute with the specified length and scale 2.
|
DecimalAttribute(java.lang.String description,
java.lang.String fieldName,
int length,
int scale)
Constructs a new numeric attribute with the specified length and scale.
|
concat, getDescription, getFieldName, getLength, getScale, getType
public DecimalAttribute(java.lang.String description, java.lang.String fieldName)
description
- the description of the attributefieldName
- the field name / column namepublic DecimalAttribute(java.lang.String description, java.lang.String fieldName, int length)
description
- the description of the attributefieldName
- the field name / column namelength
- the maximum length of the fieldpublic DecimalAttribute(java.lang.String description, java.lang.String fieldName, int length, int scale)
description
- the description of the attributefieldName
- the field name / column namelength
- the maximum length of the fieldscale
- the scale to be usedCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de