com.zentense.step2.model
Class DBTableData.Table

java.lang.Object
  extended by com.zentense.step2.model.DBTableData.Table
Enclosing class:
DBTableData

public static class DBTableData.Table
extends java.lang.Object

Holds information of a table


Field Summary
 java.lang.String[] columns
          Column names
 java.lang.String name
          Name of the table
 int[] types
          Column types
 
Constructor Summary
DBTableData.Table(java.lang.String name)
           
 
Method Summary
 void getMetaData(java.sql.Connection db)
          Gets table meta data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
Name of the table


types

public int[] types
Column types


columns

public java.lang.String[] columns
Column names

Constructor Detail

DBTableData.Table

public DBTableData.Table(java.lang.String name)
Method Detail

getMetaData

public void getMetaData(java.sql.Connection db)
Gets table meta data

Parameters:
db - JDBC Connection for accessing database

 

© Zentense 2008