| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
after |
protected String |
before |
protected int |
caseSensitive |
protected String |
catalog |
protected String |
charset |
protected String |
className |
protected String |
collate |
protected String |
comment |
protected Object |
defaultValue |
protected Integer |
displaySize |
protected Integer |
incrementSeed |
protected Integer |
incrementStep |
protected int |
isAutoIncrement |
protected int |
isCurrency |
protected int |
isGenerated |
protected int |
isOnUpdate |
protected int |
isPrimaryKey |
protected int |
isSigned |
protected String |
keyword |
protected DDListener |
listener |
protected String |
name |
protected int |
nullable |
protected String |
order |
protected Integer |
position |
protected Integer |
precision |
protected Integer |
scale |
protected String |
schema |
protected Table |
table |
protected String |
tableName |
protected Integer |
type |
protected String |
typeName |
protected Column |
update |
protected Object |
value |
| 构造器和说明 |
|---|
Column() |
Column(String name) |
Column(String table,
String name) |
Column(String schema,
String table,
String name) |
Column(String catalog,
String schema,
String table,
String name) |
protected String keyword
protected String catalog
protected String className
protected String schema
protected String tableName
protected Table table
protected Integer displaySize
protected String comment
protected String name
protected Integer type
protected String typeName
protected Integer precision
protected Integer scale
protected int nullable
protected int caseSensitive
protected int isCurrency
protected int isSigned
protected int isAutoIncrement
protected Integer incrementSeed
protected Integer incrementStep
protected int isPrimaryKey
protected int isGenerated
protected Object defaultValue
protected String charset
protected String collate
protected Integer position
protected String order
protected String after
protected String before
protected int isOnUpdate
protected Object value
protected Column update
protected DDListener listener
public Column()
public Column(String name)
public Column update()
public Column getUpdate()
public String getCatalog()
public String getClassName()
public Integer getDisplaySize()
public String getComment()
public String getName()
public Integer getType()
public Column setType(String type)
type - 数据类型 如 int varchar(10) decimal(18,6)public Table getTable()
public void setTable(Table table)
public void setTable(String table)
public String getTypeName()
public Column setTypeName(String typeName)
typeName - 数据类型 如 int varchar(10) decimal(18,6)public Integer getPrecision()
public String getSchema()
public String getTableName()
public Object getValue()
public void setValue(Object value)
public int isCaseSensitive()
public Column setCaseSensitive(int caseSensitive)
public int isCurrency()
public Column setCurrency(int currency)
public int isSigned()
public Column setSigned(int signed)
public Integer getScale()
public int isNullable()
public Column setNullable(int nullable)
public int isAutoIncrement()
public Column setAutoIncrement(int autoIncrement)
public Column setAutoIncrement(int seed, int step)
seed - 起始值step - 增量public int isPrimaryKey()
public Column setPrimaryKey(int primaryKey)
public int isGenerated()
public Column setGenerated(int generated)
public Object getDefaultValue()
public Integer getPosition()
public String getOrder()
public String getAfter()
public Integer getIncrementSeed()
public Integer getIncrementStep()
public int isOnUpdate()
public Column setOnUpdate(int onUpdate)
public DDListener getListener()
public Column setListener(DDListener listener)
public String getBefore()
public String getCharset()
public String getCollate()
public String getNewName()
public Column setService(AnylineService service)
public Column setCreater(JDBCAdapter adapter)
public String getFullType()
public String getKeyword()
Copyright © 2022. All rights reserved.