public class Field extends DataColumn
| 构造器 | 说明 |
|---|---|
Field(String fName,
char fType,
int fLen,
int fNumDec) |
Constructor
|
Field(String fName,
DataTypes type) |
Constructor
|
Field(String fName,
DataTypes type,
int fLen,
int fNumDec) |
Constructor
|
Field(DataColumn inColumn) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getDecimalCount() |
Get field decimal count
|
int |
getLength() |
Get field length
|
char |
getTypeCharacter() |
This is the single character dBase code.
|
boolean |
isNumeric() |
If the field is numeric
|
void |
setDecimalCount(int value) |
Set field decimal count
|
void |
setLength(int len) |
Set field length
|
clone, convertTo, getCaptionName, getColumnIndex, getColumnName, getDataType, getDataTypeName, getFormat, getTable, isJoined, isReadOnly, setCaptionName, setColumnIndex, setColumnName, setDataType, setFormat, setJoined, setReadOnly, setTable, toStringpublic Field(String fName, DataTypes type, int fLen, int fNumDec)
fName - Field nametype - Data typefLen - Field lengthfNumDec - Field decimal numberpublic Field(String fName, DataTypes type)
fName - Field nametype - Field data typepublic Field(String fName, char fType, int fLen, int fNumDec)
fName - Field namefType - Field typefLen - Field lengthfNumDec - Field decimal numberpublic Field(DataColumn inColumn)
inColumn - In data columnpublic int getLength()
public void setLength(int len)
len - Field lengthpublic int getDecimalCount()
public void setDecimalCount(int value)
value - Field decimal countpublic char getTypeCharacter()
public boolean isNumeric()
Copyright © 2019. All rights reserved.