public class SdTableColumnAttribute extends Object implements Comparable<SdTableColumnAttribute>
| 构造器和说明 |
|---|
SdTableColumnAttribute() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(SdTableColumnAttribute obj) |
String |
getAutoincrement()
Indicates whether this column is auto incremented
YES --- if the column is auto incremented NO --- if the column is not auto incremented empty string --- if it cannot be determined whether the column is auto incremented |
int |
getCharOctetLength()
for char types themaximum number of bytes in the column
|
String |
getColumnDef()
default value for the column, which should be interpreted as a string when
the value is enclosed in single quotes (may be null)
|
String |
getColumnName()
column name
|
int |
getColumnSize()
column size
|
int |
getDataType()
SQL type from java.sql.Types
|
int |
getDecimalDigits()
the number of fractional digits.
|
String |
getGeneratedcolumn()
Indicates whether this is a generated column
YES --- if this a generated column NO --- if this not a generated column empty string --- if it cannot be determined whether this is a generated |
String |
getIsNullable()
ISO rules are used to determine the nullability for a column.
|
int |
getNumPrecRadix()
Radix (typically either 10 or 2)
|
int |
getOrdinalPosition()
index of column in table(starting at 1)
|
String |
getRemarks()
comment describing column (may be null)
|
String |
getScopeCatalog()
catalog of table that is the scopeof a reference attribute (null if
DATA_TYPE isn't REF)
|
String |
getScopeSchema()
schema of table that is the scopeof a reference attribute (null if the
DATA_TYPE isn't REF)
|
String |
getScopeTable()
table name that this the scopeof a reference attribute (null if the
DATA_TYPE isn't REF)
|
short |
getSourceDataType()
source type of a distinct type or user-generatedRef type, SQL type from
java.sql.Types (null if DATA_TYPEisn't DISTINCT or user-generated REF)
|
String |
getTableCat()
table catalog (may be null)
|
String |
getTableName()
table name
|
String |
getTableSchem()
table schema (may be null)
|
String |
getTypeName()
Data source dependent type name, for a UDT the type name is fully qualified
|
int |
isNullable()
is NULL allowed.
|
SdTableColumnAttribute |
setAutoincrement(String autoincrement)
Indicates whether this column is auto incremented
YES --- if the column is auto incremented NO --- if the column is not auto incremented empty string --- if it cannot be determined whether the column is auto incremented |
SdTableColumnAttribute |
setCharOctetLength(int charOctetLength)
for char types themaximum number of bytes in the column
|
SdTableColumnAttribute |
setColumnDef(String columnDef)
default value for the column, which should be interpreted as a string when
the value is enclosed in single quotes (may be null)
|
SdTableColumnAttribute |
setColumnName(String columnName)
column name
|
SdTableColumnAttribute |
setColumnSize(int columnSize)
column size
|
SdTableColumnAttribute |
setDataType(int dataType)
SQL type from java.sql.Types
|
SdTableColumnAttribute |
setDecimalDigits(int decimalDigits)
the number of fractional digits.
|
SdTableColumnAttribute |
setGeneratedcolumn(String generatedcolumn)
Indicates whether this is a generated column
YES --- if this a generated column NO --- if this not a generated column empty string --- if it cannot be determined whether this is a generated |
SdTableColumnAttribute |
setIsNullable(String isNullable)
ISO rules are used to determine the nullability for a column.
|
SdTableColumnAttribute |
setNullable(int nullable)
is NULL allowed.
|
SdTableColumnAttribute |
setNumPrecRadix(int numPrecRadix)
Radix (typically either 10 or 2)
|
SdTableColumnAttribute |
setOrdinalPosition(int ordinalPosition)
index of column in table(starting at 1)
|
SdTableColumnAttribute |
setRemarks(String remarks)
comment describing column (may be null)
|
SdTableColumnAttribute |
setScopeCatalog(String scopeCatalog)
catalog of table that is the scopeof a reference attribute (null if
DATA_TYPE isn't REF)
|
SdTableColumnAttribute |
setScopeSchema(String scopeSchema)
schema of table that is the scopeof a reference attribute (null if the
DATA_TYPE isn't REF)
|
SdTableColumnAttribute |
setScopeTable(String scopeTable)
table name that this the scopeof a reference attribute (null if the
DATA_TYPE isn't REF)
|
SdTableColumnAttribute |
setSourceDataType(short sourceDataType)
source type of a distinct type or user-generatedRef type, SQL type from
java.sql.Types (null if DATA_TYPEisn't DISTINCT or user-generated REF)
|
SdTableColumnAttribute |
setTableCat(String tableCat)
table catalog (may be null)
|
SdTableColumnAttribute |
setTableName(String tableName)
table name
|
SdTableColumnAttribute |
setTableSchem(String tableSchem)
table schema (may be null)
|
SdTableColumnAttribute |
setTypeName(String typeName)
Data source dependent type name, for a UDT the type name is fully qualified
|
String |
toString() |
public String getColumnName()
public SdTableColumnAttribute setColumnName(String columnName)
columnName - public String getTypeName()
public SdTableColumnAttribute setTypeName(String typeName)
typeName - public String getColumnDef()
public SdTableColumnAttribute setColumnDef(String columnDef)
columnDef - public int getColumnSize()
public SdTableColumnAttribute setColumnSize(int columnSize)
columnSize - public String getRemarks()
public SdTableColumnAttribute setRemarks(String remarks)
remarks - public int getDecimalDigits()
public SdTableColumnAttribute setDecimalDigits(int decimalDigits)
decimalDigits - public int isNullable()
public SdTableColumnAttribute setNullable(int nullable)
nullable - public int getOrdinalPosition()
public SdTableColumnAttribute setOrdinalPosition(int ordinalPosition)
ordinalPosition - public String getAutoincrement()
public SdTableColumnAttribute setAutoincrement(String autoincrement)
autoincrement - public String getTableCat()
public SdTableColumnAttribute setTableCat(String tableCat)
tableCat - public String getTableSchem()
public SdTableColumnAttribute setTableSchem(String tableSchem)
tableSchem - public String getTableName()
public SdTableColumnAttribute setTableName(String tableName)
tableName - public int getDataType()
public SdTableColumnAttribute setDataType(int dataType)
dataType - public int getNumPrecRadix()
public SdTableColumnAttribute setNumPrecRadix(int numPrecRadix)
numPrecRadix - public int getCharOctetLength()
public SdTableColumnAttribute setCharOctetLength(int charOctetLength)
charOctetLength - public String getIsNullable()
public SdTableColumnAttribute setIsNullable(String isNullable)
isNullable - public String getScopeCatalog()
public SdTableColumnAttribute setScopeCatalog(String scopeCatalog)
scopeCatalog - public String getScopeSchema()
public SdTableColumnAttribute setScopeSchema(String scopeSchema)
scopeSchema - public String getScopeTable()
public SdTableColumnAttribute setScopeTable(String scopeTable)
scopeTable - public short getSourceDataType()
public SdTableColumnAttribute setSourceDataType(short sourceDataType)
sourceDataType - public String getGeneratedcolumn()
public SdTableColumnAttribute setGeneratedcolumn(String generatedcolumn)
generatedcolumn - public int compareTo(SdTableColumnAttribute obj)
compareTo 在接口中 Comparable<SdTableColumnAttribute>Copyright © 2019 Mirren Tools. All rights reserved.