| org.netbeans.modules.sql.framework.model.DBColumn
DBColumn | public interface DBColumn extends Cloneable,Comparable(Code) | | Interface describing column metadata for data sources providing information in a
database or database-like format. Implementing classes must support the
Cloneable interface.
author: Sudhendra Seshachala, Jonathan Giron |
getDefaultValue | public String getDefaultValue()(Code) | | Gets the default value
defaultValue |
getJdbcType | public int getJdbcType()(Code) | | Gets the JDBC datatype for this column, as selected from the enumerated
types in java.sql.Types.
JDBC type value See Also: java.sql.Types |
getJdbcTypeString | public String getJdbcTypeString()(Code) | | Gets the JDBC datatype for this column, as a human-readable String.
JDBC type value as a String |
getName | public String getName()(Code) | | Gets the column name
column name |
getOrdinalPosition | public int getOrdinalPosition()(Code) | | Gets the Ordinal Position
int |
getParent | public DBTable getParent()(Code) | | Gets the parent/owner (DBTable) of this column
DBTable containing this column |
getPrecision | public int getPrecision()(Code) | | Gets the precision attribute of this column.
precision |
getScale | public int getScale()(Code) | | Gets the scale attribute of this column.
scale |
isForeignKey | public boolean isForeignKey()(Code) | | Indicates whether this column is part of a foreign key.
true if this column is part of a foreign key; false otherwise. |
isIndexed | public boolean isIndexed()(Code) | | Indicates whether this column is indexed.
true if this column is indexed; false otherwise |
isNullable | public boolean isNullable()(Code) | | Indicates whether this column can accept a null value.
true if null is a valid value for this column, false otherwise. |
isPrimaryKey | public boolean isPrimaryKey()(Code) | | Indicates whether this column is part of a primary key.
true if this column is part of a primary key; false otherwise. |
|
|