|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpl.fredy.metadata.IsAutoIncrement
public class IsAutoIncrement
This is to figure out, if a column is auto-increment. You instantiate this class once and then you have to set the column and have the possiblity to set the table to use only one connection to run it. Admin is a Tool around JDBC-enabled SQL-Databases to do basic jobs for DB-Administrations, as create / delete / alter and query tables it also creates indices and generates simple Java-Code to access DBMS-tables and exports data into various formats Copyright (C) 2003, Fredy Fischer sql@hulmen.ch Postal: 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.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Constructor Summary | |
---|---|
IsAutoIncrement(java.lang.String host,
java.lang.String user,
java.lang.String password,
java.lang.String database,
java.lang.String table)
|
|
IsAutoIncrement(t_connect con,
java.lang.String table)
|
Method Summary | |
---|---|
boolean |
autoIncrement()
|
java.lang.String |
getColumn()
Get the value of column. |
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. |
static void |
main(java.lang.String[] args)
|
void |
setColumn(java.lang.String v)
Set the value of column. |
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 |
Constructor Detail |
---|
public IsAutoIncrement(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String database, java.lang.String table)
public IsAutoIncrement(t_connect con, java.lang.String table)
Method Detail |
---|
public t_connect getCon()
public void setCon(t_connect v)
v
- Value to assign to con.public java.lang.String getHost()
public void setHost(java.lang.String v)
v
- Value to assign to host.public java.lang.String getUser()
public void setUser(java.lang.String v)
v
- Value to assign to user.public java.lang.String getPassword()
public void setPassword(java.lang.String v)
v
- Value to assign to password.public java.lang.String getDatabase()
public void setDatabase(java.lang.String v)
v
- Value to assign to database.public java.lang.String getSchema()
public void setSchema(java.lang.String v)
v
- Value to assign to schema.public java.lang.String getTable()
public void setTable(java.lang.String v)
v
- Value to assign to table.public java.lang.String getColumn()
public void setColumn(java.lang.String v)
v
- Value to assign to column.public boolean autoIncrement()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |