gpl.fredy.metadata
Class TableColumns

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

public class TableColumns
extends java.lang.Object


Constructor Summary
TableColumns(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String database, java.lang.String table)
           
TableColumns(t_connect con, java.lang.String table)
           
 
Method Summary
 java.util.Vector getAllCols()
          Get the value of allCols.
 java.util.Vector getAllNames()
          get the all Column Names.
 SingleColumnInfo getColumn(int columnNo)
           
 java.util.Vector getColumnInfo()
          Get the value of columnInfo.
 java.lang.Object getColumnInfo(int columnNo, int columnDescription)
           
 t_connect getCon()
          Get the value of con.
 java.lang.String getDatabase()
          Get the value of database.
 int getDecDigits(int columnNo)
           
 java.lang.String getHost()
           
 int getNumberOfColumns()
          Get the value of NumberOfColumns.
 java.lang.String getPassword()
          Get the value of password.
 java.lang.String getTable()
          Get the value of Table.
 java.lang.String getUser()
          Get the value of user.
 java.lang.String getVersion()
           
 boolean isStandAlone()
          Get the value of standAlone.
 void setColumnInfo(java.util.Vector v)
          Set the value of columnInfo.
 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 setNumberOfColumns(int v)
          Set the value of NumberOfColumns.
 void setPassword(java.lang.String v)
          Set the value of password.
 void setStandAlone(boolean v)
          Set the value of standAlone.
 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

TableColumns

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

TableColumns

public TableColumns(t_connect con,
                    java.lang.String table)
Method Detail

getVersion

public java.lang.String getVersion()

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.

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.

getAllCols

public java.util.Vector getAllCols()
Get the value of allCols.

Returns:
Value of allCols.

getColumnInfo

public java.util.Vector getColumnInfo()
Get the value of columnInfo.

Returns:
Value of columnInfo.

setColumnInfo

public void setColumnInfo(java.util.Vector v)
Set the value of columnInfo.

Parameters:
v - Value to assign to columnInfo.

getAllNames

public java.util.Vector getAllNames()
get the all Column Names.

Returns:
Value of allNames.

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.

isStandAlone

public boolean isStandAlone()
Get the value of standAlone.

Returns:
value of standAlone.

setStandAlone

public void setStandAlone(boolean v)
Set the value of standAlone.

Parameters:
v - Value to assign to standAlone.

getColumn

public SingleColumnInfo getColumn(int columnNo)

getColumnInfo

public java.lang.Object getColumnInfo(int columnNo,
                                      int columnDescription)

getDecDigits

public int getDecDigits(int columnNo)

getNumberOfColumns

public int getNumberOfColumns()
Get the value of NumberOfColumns.

Returns:
Value of NumberOfColumns.

setNumberOfColumns

public void setNumberOfColumns(int v)
Set the value of NumberOfColumns.

Parameters:
v - Value to assign to NumberOfColumns.