| 构造器和说明 |
|---|
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 name
protected String originalName
protected String catalog
protected String schema
protected String className
protected String tableName
protected Table table
protected Integer displaySize
protected String comment
protected Integer type
protected String typeName
protected ColumnType columnType
protected JavaType javaType
protected String jdbcType
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 boolean delete
protected transient DDListener listener
public Column()
public Column(String name)
public Column update()
public Column getUpdate()
public String getCatalog()
getCatalog 在接口中 Columnpublic String getClassName()
getClassName 在接口中 Columnpublic Integer getDisplaySize()
getDisplaySize 在接口中 Columnpublic String getComment()
getComment 在接口中 Columnpublic Column setType(String type)
type - 数据类型 如 int varchar(10) decimal(18,6)public void setTable(Table table)
public void setTable(String table)
public String getTypeName()
getTypeName 在接口中 Columnpublic String getJdbcType()
public void setJdbcType(String jdbcType)
public Column setTypeName(String typeName)
typeName - 数据类型 如 int varchar(10) decimal(18,6)public Integer getPrecision()
getPrecision 在接口中 Columnpublic String getTableName()
getTableName 在接口中 Columnpublic Object getValue()
public void setValue(Object value)
public int isCaseSensitive()
isCaseSensitive 在接口中 Columnpublic Column setCaseSensitive(int caseSensitive)
public int isCurrency()
isCurrency 在接口中 Columnpublic Column setCurrency(int currency)
public Column setSigned(int signed)
public int isNullable()
isNullable 在接口中 Columnpublic Column setNullable(int nullable)
public int isAutoIncrement()
isAutoIncrement 在接口中 Columnpublic Column setAutoIncrement(int autoIncrement)
public Column setAutoIncrement(int seed, int step)
seed - 起始值step - 增量public int isPrimaryKey()
isPrimaryKey 在接口中 Columnpublic Column setPrimaryKey(int primaryKey)
public int isGenerated()
isGenerated 在接口中 Columnpublic Column setGenerated(int generated)
public Object getDefaultValue()
getDefaultValue 在接口中 Columnpublic Integer getPosition()
getPosition 在接口中 Columnpublic Integer getIncrementSeed()
getIncrementSeed 在接口中 Columnpublic Integer getIncrementStep()
getIncrementStep 在接口中 Columnpublic int isOnUpdate()
isOnUpdate 在接口中 Columnpublic Column setOnUpdate(int onUpdate)
public DDListener getListener()
public Column setListener(DDListener listener)
public String getOriginalName()
getOriginalName 在接口中 Columnpublic String getCharset()
getCharset 在接口中 Columnpublic String getCollate()
getCollate 在接口中 Columnpublic String getNewName()
public Column setService(AnylineService service)
public Column setCreater(JDBCAdapter adapter)
public String getFullType()
getFullType 在接口中 Columnpublic ColumnType getColumnType()
getColumnType 在接口中 Columnpublic void setColumnType(ColumnType columnType)
setColumnType 在接口中 Columnpublic JavaType getJavaType()
getJavaType 在接口中 Columnpublic void setJavaType(JavaType javaType)
setJavaType 在接口中 Columnpublic boolean ignorePrecision()
public String getKeyword()
Copyright © 2023. All rights reserved.