|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Metadata for a column in a database table.
Method Summary | |
int |
getColumnSize()
Returns the column size. |
int |
getDataType()
Returns the java type of the column. |
int |
getDecimalDigits()
Returns the number of decimal digits in this column if the column type is a numerical type. |
java.lang.String |
getFullName()
Returns the full name of the column. |
java.lang.String |
getName()
Returns the name of the column. |
int |
getPosition()
Returns the ordinal position (column number) of this column in the table. |
java.lang.String |
getSQLType()
Returns the SQL type of this column. |
TableMetaData |
getTable()
Returns the table that this column belongs to. |
boolean |
isNullable()
Indicates whether this column can contain NULL
values. |
boolean |
isPrimaryKey()
Returns the primary key property of this column |
Method Detail |
public java.lang.String getName()
public java.lang.String getFullName()
public int getDataType()
public java.lang.String getSQLType()
public int getColumnSize()
public int getPosition()
public boolean isPrimaryKey()
true
if this columns forms part of the
primary key.public int getDecimalDigits()
-1
if this
operation is not applicable to the column type.public boolean isNullable()
NULL
values.
true
if the column is nullable,
false
otherwise.public TableMetaData getTable()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |