gpl.fredy.metadata
Class Columns

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

public class Columns
extends java.lang.Object

Columns is a wrapper about columns in a given Table 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
Columns()
           
Columns(int no, java.lang.String name, java.lang.String type, int lng, int decDigits, java.lang.String table)
           
 
Method Summary
 int getDecDigits()
          Get the value of decDigits.
 int getLng()
          Get the value of lng.
 java.lang.String getName()
          Get the value of name.
 int getNumber()
          Get the value of number.
 java.lang.String getTable()
          Get the value of table.
 java.lang.String getType()
          Get the value of type.
 java.lang.String getVersion()
           
 void setDecDigits(int v)
          Set the value of decDigits.
 void setLng(int v)
          Set the value of lng.
 void setName(java.lang.String v)
          Set the value of name.
 void setNumber(int v)
          Set the value of number.
 void setTable(java.lang.String v)
          Set the value of table.
 void setType(java.lang.String v)
          Set the value of type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Columns

public Columns()

Columns

public Columns(int no,
               java.lang.String name,
               java.lang.String type,
               int lng,
               int decDigits,
               java.lang.String table)
Method Detail

getVersion

public java.lang.String getVersion()

getNumber

public int getNumber()
Get the value of number.

Returns:
Value of number.

setNumber

public void setNumber(int v)
Set the value of number.

Parameters:
v - Value to assign to number.

getName

public java.lang.String getName()
Get the value of name.

Returns:
Value of name.

setName

public void setName(java.lang.String v)
Set the value of name.

Parameters:
v - Value to assign to name.

getLng

public int getLng()
Get the value of lng.

Returns:
Value of lng.

setLng

public void setLng(int v)
Set the value of lng.

Parameters:
v - Value to assign to lng.

getDecDigits

public int getDecDigits()
Get the value of decDigits.

Returns:
Value of decDigits.

setDecDigits

public void setDecDigits(int v)
Set the value of decDigits.

Parameters:
v - Value to assign to decDigits.

getType

public java.lang.String getType()
Get the value of type.

Returns:
Value of type.

setType

public void setType(java.lang.String v)
Set the value of type.

Parameters:
v - Value to assign to type.

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.