|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpl.fredy.metadata.DbTableInfo
public class DbTableInfo
Constructor Summary | |
---|---|
DbTableInfo(java.sql.Connection con,
java.sql.DatabaseMetaData dmd,
java.lang.String table)
|
|
DbTableInfo(java.sql.Connection con,
java.lang.String table)
|
Method Summary | |
---|---|
protected void |
finalize()
|
java.util.Vector |
getColumnInfo(java.lang.String column)
|
java.util.Vector |
getColumnNames()
this returns a Vector containing Strings with the names of the columns |
java.sql.Connection |
getCon()
Get the value of con. |
java.sql.DatabaseMetaData |
getDmd()
Get the value of dmd. |
java.util.Vector |
getPrimaryKeys()
This returns a Vector contaning objects of type PrimaryKey |
java.lang.String |
getTable()
Get the value of table. |
void |
setCon(java.sql.Connection v)
Set the value of con. |
void |
setDmd(java.sql.DatabaseMetaData v)
Set the value of dmd. |
void |
setTable(java.lang.String v)
Set the value of table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbTableInfo(java.sql.Connection con, java.sql.DatabaseMetaData dmd, java.lang.String table)
con
- the connection useddmd
- the DatabaseMetaDatatable
- the tableNamepublic DbTableInfo(java.sql.Connection con, java.lang.String table)
con
- the connection usedtable
- the tableNameMethod Detail |
---|
public java.sql.Connection getCon()
public void setCon(java.sql.Connection v)
v
- Value to assign to con.public java.lang.String getTable()
public void setTable(java.lang.String v)
v
- Value to assign to table.public java.sql.DatabaseMetaData getDmd()
public void setDmd(java.sql.DatabaseMetaData v)
v
- Value to assign to dmd.public java.util.Vector getPrimaryKeys()
public java.util.Vector getColumnNames()
public java.util.Vector getColumnInfo(java.lang.String column)
protected void finalize()
finalize
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |