applications.basics
Class BasicAdmin

java.lang.Object
  extended by applications.basics.BasicAdmin
Direct Known Subclasses:
BasicWrapper, DbInfo

public class BasicAdmin
extends java.lang.Object

BasicAdmin is a class doing all the basic sets and gets Admin is a Tool around mySQL to do basic jobs for DB-Administrations, like: - create/ drop tables - create indices - perform sql-statements - simple form - a guided query and a other usefull things in DB-arena Admin Version see below Admin V2.3.1 Copyright (c) 1999 Fredy Fischer sql@hulmen.ch Fredy Fischer Hulmenweg 36 8405 Winterthur Switzerland This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Field Summary
 t_connect con
           
 
Constructor Summary
BasicAdmin(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String database)
           
BasicAdmin(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String database, java.lang.String table)
           
BasicAdmin(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String database, java.lang.String table, java.lang.String schema)
           
BasicAdmin(t_connect con)
           
BasicAdmin(t_connect con, java.lang.String table)
           
BasicAdmin(t_connect con, java.lang.String table, java.lang.String schema)
           
 
Method Summary
 t_connect getCon()
          Get the value of con.
 java.lang.String getDatabase()
          Get the value of database.
 java.lang.String getHost()
          Get the value of host.
 java.lang.String getPassword()
          Get the value of password.
 java.lang.String getSchema()
          Get the value of schema.
 java.lang.String getTable()
          Get the value of table.
 java.lang.String getUser()
          Get the value of user.
 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 setSchema(java.lang.String v)
          Set the value of schema.
 void setTable(java.lang.String v)
          Set the value of table.
 void setUser(java.lang.String v)
          Set the value of user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

con

public t_connect con
Constructor Detail

BasicAdmin

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

BasicAdmin

public BasicAdmin(java.lang.String host,
                  java.lang.String user,
                  java.lang.String password,
                  java.lang.String database,
                  java.lang.String table,
                  java.lang.String schema)

BasicAdmin

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

BasicAdmin

public BasicAdmin(t_connect con)

BasicAdmin

public BasicAdmin(t_connect con,
                  java.lang.String table)

BasicAdmin

public BasicAdmin(t_connect con,
                  java.lang.String table,
                  java.lang.String schema)
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()
Get the value of host.

Returns:
Value of host.

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.

getTable

public java.lang.String getTable()
Get the value of table.

Returns:
Value of table.

setTable

public void setTable(java.lang.String v)
Set the value of table.

Parameters:
v - Value to assign to table.

getSchema

public java.lang.String getSchema()
Get the value of schema.

Returns:
value of schema.

setSchema

public void setSchema(java.lang.String v)
Set the value of schema.

Parameters:
v - Value to assign to schema.