接口 Column
public interface Column
Column
.-
方法概要
修饰符和类型 方法 说明 intgetColumnIndex()Gets the column index.intgetDecimalDigits()Gets the decimal digits.java.lang.StringgetDefaultValue()Gets the default value.java.lang.StringgetName()Gets the name.java.lang.StringgetRemark()Gets the remark.intgetSize()Gets the size.java.sql.SQLTypegetSqlType()Gets the sql type.TablegetTable()Gets the table.intgetType()Gets the type.java.lang.StringgetTypeName()Gets the type name.booleanisAutoincrement()Checks if is autoincrement.booleanisNullable()Checks if is nullable.booleanisPrimaryKey()Checks if is primary key.
-
方法详细资料
-
getName
java.lang.String getName()Gets the name.- 返回:
- the name
-
getTypeName
java.lang.String getTypeName()Gets the type name.- 返回:
- the type name
-
getRemark
java.lang.String getRemark()Gets the remark.- 返回:
- the remark
-
getDefaultValue
java.lang.String getDefaultValue()Gets the default value.- 返回:
- the default value
-
getSqlType
java.sql.SQLType getSqlType()Gets the sql type.- 返回:
- the sql type
-
getType
int getType()Gets the type.- 返回:
- the type
-
getSize
int getSize()Gets the size.- 返回:
- the size
-
getColumnIndex
int getColumnIndex()Gets the column index.- 返回:
- the column index
-
isNullable
boolean isNullable()Checks if is nullable.- 返回:
- true, if is nullable
-
isPrimaryKey
boolean isPrimaryKey()Checks if is primary key.- 返回:
- true, if is primary key
-
getDecimalDigits
int getDecimalDigits()Gets the decimal digits.- 返回:
- the decimal digits
-
isAutoincrement
boolean isAutoincrement()Checks if is autoincrement.- 返回:
- true, if is autoincrement
-
getTable
Table getTable()Gets the table.- 返回:
- the table
-