public class DecimalType extends Object implements FieldType
FieldType.Category.DECIMAL.FieldType.Category, FieldType.TypeName| Constructor and Description |
|---|
DecimalType(FieldType.TypeName name,
int precision,
int scale)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getPrecision()
Returns the precision.
|
String |
getQualifiedName()
Returns the qualified type name.
|
int |
getScale()
Returns the scale.
|
FieldType.TypeName |
getTypeName()
Returns the type name.
|
int |
hashCode() |
String |
toString() |
public DecimalType(FieldType.TypeName name, int precision, int scale)
name - the type nameprecision - the decimal precisionscale - the decimal scalepublic FieldType.TypeName getTypeName()
FieldTypegetTypeName in interface FieldTypepublic String getQualifiedName()
FieldTypegetQualifiedName in interface FieldTypepublic int getPrecision()
public int getScale()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.