public class ColumnMeta extends Object implements Serializable
| 构造器和说明 |
|---|
ColumnMeta() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getColName() |
int |
getColumnSize() |
String |
getComments() |
Integer |
getDataType() |
int |
getDecimalDigits() |
String |
getDefaultValue() |
String |
getIndexName() |
int |
getNumPrecRadix() |
String |
getTypeName() |
boolean |
isAutoIncrement() |
boolean |
isIndex() |
boolean |
isNullable() |
boolean |
isPartitionKey() |
boolean |
isPK() |
boolean |
isUnique() |
void |
setAutoIncrement(boolean autoIncrement) |
void |
setColName(String colName) |
void |
setColumnSize(int columnSize) |
void |
setComments(String comments) |
void |
setDataType(Integer dataType) |
void |
setDecimalDigits(int decimalDigits) |
void |
setDefaultValue(String defaultValue) |
void |
setIndex(boolean isIndex) |
void |
setIndexName(String indexName) |
void |
setNullable(boolean nullable) |
void |
setNumPrecRadix(int numPrecRadix) |
void |
setPartitionKey(boolean partitionKey) |
void |
setPK(boolean isPK) |
void |
setTypeName(String typeName) |
void |
setUnique(boolean unique) |
public String getColName()
public void setColName(String colName)
public Integer getDataType()
public void setDataType(Integer dataType)
public String getTypeName()
public void setTypeName(String typeName)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public boolean isNullable()
public void setNullable(boolean nullable)
public boolean isAutoIncrement()
public void setAutoIncrement(boolean autoIncrement)
autoIncrement - the autoIncrement to setpublic boolean isPK()
public void setPK(boolean isPK)
isPK - the isPK to setpublic int getColumnSize()
public void setColumnSize(int columnSize)
columnSize - the columnSize to setpublic int getDecimalDigits()
public void setDecimalDigits(int decimalDigits)
decimalDigits - the decimalDigits to setpublic int getNumPrecRadix()
public void setNumPrecRadix(int numPrecRadix)
numPrecRadix - the numPrecRadix to setpublic String getComments()
public void setComments(String comments)
public boolean isPartitionKey()
public void setPartitionKey(boolean partitionKey)
public boolean isUnique()
public void setUnique(boolean unique)
public boolean isIndex()
public void setIndex(boolean isIndex)
public String getIndexName()
public void setIndexName(String indexName)
Copyright © 2023. All rights reserved.