gpl.fredy.metadata
Class DBList

java.lang.Object
  extended by gpl.fredy.metadata.DBList

public class DBList
extends java.lang.Object


Field Summary
 java.util.Vector databases
           
 
Constructor Summary
DBList(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String database)
           
DBList(t_connect con)
           
 
Method Summary
 t_connect getCon()
          Get the value of con.
 java.lang.String getDatabase()
          Get the value of database.
 java.util.Vector getDBs()
           
 java.lang.String getHost()
           
 java.lang.String getPassword()
          Get the value of password.
 java.lang.String getProductName()
          Get the value of productName.
 java.util.Vector getSchemas()
           
 java.util.Vector getTables(java.lang.String db, java.lang.String schema, java.lang.String type)
           
 java.lang.String getUser()
          Get the value of user.
static void main(java.lang.String[] args)
           
 void setCon(t_connect v)
          Set the value of con.
 void setDatabase(java.lang.String v)
          Set the value of database.
 void setHost(java.lang.String v)
          Set the value of host.
 void setPassword(java.lang.String v)
          Set the value of password.
 void setUser(java.lang.String v)
          Set the value of user.
 javax.swing.JComboBox toComboBox()
           
 javax.swing.JList toJList()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

databases

public java.util.Vector databases
Constructor Detail

DBList

public DBList(java.lang.String host,
              java.lang.String user,
              java.lang.String password,
              java.lang.String database)

DBList

public DBList(t_connect con)
Method Detail

getCon

public t_connect getCon()
Get the value of con.

Returns:
value of con.

setCon

public void setCon(t_connect v)
Set the value of con.

Parameters:
v - Value to assign to con.

getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String v)
Set the value of host.

Parameters:
v - Value to assign to host.

getUser

public java.lang.String getUser()
Get the value of user.

Returns:
Value of user.

setUser

public void setUser(java.lang.String v)
Set the value of user.

Parameters:
v - Value to assign to user.

getPassword

public java.lang.String getPassword()
Get the value of password.

Returns:
Value of password.

setPassword

public void setPassword(java.lang.String v)
Set the value of password.

Parameters:
v - Value to assign to password.

getDatabase

public java.lang.String getDatabase()
Get the value of database.

Returns:
Value of database.

setDatabase

public void setDatabase(java.lang.String v)
Set the value of database.

Parameters:
v - Value to assign to database.

getProductName

public java.lang.String getProductName()
Get the value of productName.

Returns:
value of productName.

toComboBox

public javax.swing.JComboBox toComboBox()

toJList

public javax.swing.JList toJList()

getDBs

public java.util.Vector getDBs()

getSchemas

public java.util.Vector getSchemas()

getTables

public java.util.Vector getTables(java.lang.String db,
                                  java.lang.String schema,
                                  java.lang.String type)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

public static void main(java.lang.String[] args)