com.jfw.database.metadata
Class Tables

java.lang.Object
  extended by com.jfw.database.metadata.MetaData
      extended by com.jfw.database.metadata.TablesViews
          extended by com.jfw.database.metadata.Tables

public final class Tables
extends TablesViews

Get database tables.


Field Summary
 
Fields inherited from class com.jfw.database.metadata.MetaData
className, resourceName, TABLE, VIEW
 
Constructor Summary
Tables()
          Use the default db resource from the jfw.properties.
Tables(java.lang.String resourceName)
          Use the parameter resourceName as db resource.
 
Method Summary
protected  java.lang.String[] getType()
          Return the type of the object to get: tables.
 
Methods inherited from class com.jfw.database.metadata.TablesViews
get, getColumns, getForeignKeys, getPrimaryKeys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tables

public Tables()
Use the default db resource from the jfw.properties.


Tables

public Tables(java.lang.String resourceName)
Use the parameter resourceName as db resource.

Parameters:
resourceName - the name of a resource as specified in the jfw.properties.
Method Detail

getType

protected java.lang.String[] getType()
Return the type of the object to get: tables.

Specified by:
getType in class MetaData
Returns:
the type of the object to get.