类 ColumnMeta
- java.lang.Object
-
- org.sagacity.sqltoy.model.ColumnMeta
-
- 所有已实现的接口:
Serializable
public class ColumnMeta extends Object implements Serializable
- 版本:
- v1.0,Date:2021-09-25
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ColumnMeta()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetColName()intgetColumnSize()StringgetComments()IntegergetDataType()intgetDecimalDigits()StringgetDefaultValue()StringgetIndexName()intgetNumPrecRadix()StringgetTypeName()booleanisAutoIncrement()booleanisIndex()booleanisNullable()booleanisPartitionKey()booleanisPK()booleanisUnique()voidsetAutoIncrement(boolean autoIncrement)voidsetColName(String colName)voidsetColumnSize(int columnSize)voidsetComments(String comments)voidsetDataType(Integer dataType)voidsetDecimalDigits(int decimalDigits)voidsetDefaultValue(String defaultValue)voidsetIndex(boolean isIndex)voidsetIndexName(String indexName)voidsetNullable(boolean nullable)voidsetNumPrecRadix(int numPrecRadix)voidsetPartitionKey(boolean partitionKey)voidsetPK(boolean isPK)voidsetTypeName(String typeName)voidsetUnique(boolean unique)
-
-
-
方法详细资料
-
getColName
public String getColName()
-
setColName
public void setColName(String colName)
-
getDataType
public Integer getDataType()
-
setDataType
public void setDataType(Integer dataType)
-
getTypeName
public String getTypeName()
-
setTypeName
public void setTypeName(String typeName)
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
isNullable
public boolean isNullable()
-
setNullable
public void setNullable(boolean nullable)
-
isAutoIncrement
public boolean isAutoIncrement()
- 返回:
- the autoIncrement
-
setAutoIncrement
public void setAutoIncrement(boolean autoIncrement)
- 参数:
autoIncrement- the autoIncrement to set
-
isPK
public boolean isPK()
- 返回:
- the isPK
-
setPK
public void setPK(boolean isPK)
- 参数:
isPK- the isPK to set
-
getColumnSize
public int getColumnSize()
- 返回:
- the columnSize
-
setColumnSize
public void setColumnSize(int columnSize)
- 参数:
columnSize- the columnSize to set
-
getDecimalDigits
public int getDecimalDigits()
- 返回:
- the decimalDigits
-
setDecimalDigits
public void setDecimalDigits(int decimalDigits)
- 参数:
decimalDigits- the decimalDigits to set
-
getNumPrecRadix
public int getNumPrecRadix()
- 返回:
- the numPrecRadix
-
setNumPrecRadix
public void setNumPrecRadix(int numPrecRadix)
- 参数:
numPrecRadix- the numPrecRadix to set
-
getComments
public String getComments()
-
setComments
public void setComments(String comments)
-
isPartitionKey
public boolean isPartitionKey()
-
setPartitionKey
public void setPartitionKey(boolean partitionKey)
-
isUnique
public boolean isUnique()
-
setUnique
public void setUnique(boolean unique)
-
isIndex
public boolean isIndex()
-
setIndex
public void setIndex(boolean isIndex)
-
getIndexName
public String getIndexName()
-
setIndexName
public void setIndexName(String indexName)
-
-