类 DTColumn
java.lang.Object
com.gdxsoft.easyweb.data.DTColumn
- 所有已实现的接口:
Serializable
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明如果调用 SQLServerResultSet 类的 getObject 方法来从列中检索值,则返回生成其实例的 Java 类的完全限定名称。字段描述intgetIndex()排序int长度getName()字段名称intgetOrder()设置排序 ,对于 ExportExcel有效,默认是 -1int精度intgetScale()小数位类型booleanisHidden()是否隐含字段,对于 ExportExcel有效boolean是否自增长字段booleanisJson()是否为json字段booleanisKey()主键booleanbooleanvoidsetCatalogName(String catalogName) voidsetClassName(String className) voidsetDescription(String description) 字段描述voidsetHidden(boolean isHidden) 是否隐含字段,对于 ExportExcel有效protected voidsetIndex(int index) 排序voidsetIsIdentity(boolean isIdentity) 是否自增长字段voidsetIsJson(boolean _IsJson) 设置是否为json字段voidsetIsKey(boolean isKey) voidsetIsXmlAttribute(boolean isXmlAttribute) voidsetIsXmlCData(boolean isXmlCData) 主键voidsetLength(int length) 长度void字段名称voidsetOrder(int order) 设置排序 ,对于 ExportExcel有效voidsetPrecision(int precision) 精度voidsetScale(int scale) 小数位voidsetSchemaName(String schemaName) voidsetTableName(String tableName) voidsetTypeName(String typeName) 类型
-
构造器详细资料
-
DTColumn
public DTColumn()
-
-
方法详细资料
-
getName
字段名称- 返回:
- the _Name
-
setName
字段名称- 参数:
name- the _Name to set
-
getDescription
字段描述- 返回:
- the _Description
-
setDescription
字段描述- 参数:
description- the _Description to set
-
getTypeName
类型- 返回:
- the _TypeName
-
setTypeName
类型- 参数:
typeName- the _TypeName to set
-
getLength
public int getLength()长度- 返回:
- the _Length
-
setLength
public void setLength(int length) 长度- 参数:
length- the _Length to set
-
getPrecision
public int getPrecision()精度- 返回:
- the _Precision
-
setPrecision
public void setPrecision(int precision) 精度- 参数:
precision- the _Precision to set
-
getScale
public int getScale()小数位- 返回:
- the _Scale
-
setScale
public void setScale(int scale) 小数位- 参数:
scale- the _Scale to set
-
getIndex
public int getIndex()排序- 返回:
- the _Index
-
setIndex
protected void setIndex(int index) 排序- 参数:
index- the _Index to set
-
isXmlAttribute
public boolean isXmlAttribute()- 返回:
- the _IsXmlAttribute
-
setIsXmlAttribute
public void setIsXmlAttribute(boolean isXmlAttribute) - 参数:
isXmlAttribute- the _IsXmlAttribute to set
-
isXmlCData
public boolean isXmlCData()- 返回:
- the _IsXmlCData
-
setIsXmlCData
public void setIsXmlCData(boolean isXmlCData) 主键- 参数:
isXmlCData- the _IsXmlCData to set
-
isKey
public boolean isKey()主键- 返回:
- the _IsKey
-
setIsKey
public void setIsKey(boolean isKey) - 参数:
isKey- the _IsKey to set
-
isIdentity
public boolean isIdentity()是否自增长字段- 返回:
- the _IsIdentity
-
setIsIdentity
public void setIsIdentity(boolean isIdentity) 是否自增长字段- 参数:
isIdentity- the _IsIdentity to set
-
isJson
public boolean isJson()是否为json字段- 返回:
- the _IsJson
-
setIsJson
public void setIsJson(boolean _IsJson) 设置是否为json字段- 参数:
_IsJson- the _IsJson to set
-
isHidden
public boolean isHidden()是否隐含字段,对于 ExportExcel有效- 返回:
- the _IsHidden
-
setHidden
public void setHidden(boolean isHidden) 是否隐含字段,对于 ExportExcel有效- 参数:
_IsHidden- the _IsHidden to set
-
getOrder
public int getOrder()设置排序 ,对于 ExportExcel有效,默认是 -1- 返回:
- the _Order
-
setOrder
public void setOrder(int order) 设置排序 ,对于 ExportExcel有效- 参数:
_Order- the _Order to set
-
getCatalogName
-
setCatalogName
-
getTableName
-
setTableName
-
getSchemaName
-
setSchemaName
-
getClassName
如果调用 SQLServerResultSet 类的 getObject 方法来从列中检索值,则返回生成其实例的 Java 类的完全限定名称。
此 getColumnClassName 方法是由 java.sql.ResultSetMetaData 接口中的 getColumnClassName 方法指定的。- 返回:
- 实例的 Java 类的完全限定名称
-
setClassName
-