salto.tool.sql.data
Class ShemaInfo

java.lang.Object
  extended by salto.tool.sql.data.ShemaInfo

public class ShemaInfo
extends java.lang.Object

Author:
eloiez@salto-consulting.com

Field Summary
 java.lang.String catalog
           
 java.lang.String name
           
 TableInfo[] tableInfos
           
 
Constructor Summary
ShemaInfo(ConnectionInfo connInfo)
           
 
Method Summary
 java.lang.String getCatalog()
           
 java.sql.Connection getConn()
           
 ConnectionInfo getConnInfo()
           
 java.lang.String getName()
           
 TableInfo[] getTableInfos()
           
 TableInfo[] getTableInfos(boolean find)
           
 void setCatalog(java.lang.String catalog)
           
 void setName(java.lang.String name)
           
 void setTableInfos(TableInfo[] tableInfos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

catalog

public java.lang.String catalog

name

public java.lang.String name

tableInfos

public TableInfo[] tableInfos
Constructor Detail

ShemaInfo

public ShemaInfo(ConnectionInfo connInfo)
Parameters:
connection -
info -
Method Detail

getConnInfo

public ConnectionInfo getConnInfo()
Returns:
Returns the connInfo.

getConn

public java.sql.Connection getConn()

getTableInfos

public TableInfo[] getTableInfos()

getTableInfos

public TableInfo[] getTableInfos(boolean find)
Returns:
Returns the tableInfos.

setTableInfos

public void setTableInfos(TableInfo[] tableInfos)
Parameters:
tableInfos - The tableInfos to set.

getCatalog

public java.lang.String getCatalog()
Returns:
Returns the catalog.

setCatalog

public void setCatalog(java.lang.String catalog)
Parameters:
catalog - The catalog to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.


Copyright © 2002-2008 Salto Consulting. All Rights Reserved.