gpl.fredy.metadata
Class SingleColumnInfo

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

public class SingleColumnInfo
extends java.lang.Object


Constructor Summary
SingleColumnInfo()
           
SingleColumnInfo(java.sql.DatabaseMetaData dmd, java.lang.String db, java.lang.String table, java.lang.String column)
           
SingleColumnInfo(java.sql.DatabaseMetaData dmd, java.lang.String db, java.lang.String schema, java.lang.String table, java.lang.String column)
           
SingleColumnInfo(java.util.Vector v)
           
 
Method Summary
 int getBuffer_length()
          Get the value of buffer_length.
 int getChar_octet_length()
          Get the value of char_octet_length.
 java.lang.String getColumn_def()
          Get the value of column_def.
 java.lang.String getColumn_name()
          Get the value of column_name.
 int getColumn_size()
          Get the value of column_size.
 short getData_type()
          Get the value of data_type.
 java.util.Vector getDataVector()
          Get the value of dataVector.
 int getDecimal_digits()
          Get the value of decimal_digits.
 java.lang.String getExportedKeys()
           
 java.lang.String getImportedKeys()
           
 java.lang.String getIs_nullable()
          Get the value of is_nullable.
 int getNullable()
          Get the value of nullable.
 int getNum_prec_radix()
          Get the value of num_prec_radix.
 int getOrdinal_position()
          Get the value of ordinal_position.
 java.lang.String getRemarks()
          Get the value of remarks.
 java.lang.String getSchema()
           
 int getSql_data_type()
          Get the value of sql_data_type.
 int getSql_datetime_sub()
          Get the value of sql_datetime_sub.
 java.lang.String getTable_cat()
          Get the value of table_cat.
 java.lang.String getTable_name()
          Get the value of table_name.
 java.lang.String getTable_schem()
          Get the value of table_schem.
 java.lang.String getType_name()
          Get the value of type_name.
 java.lang.String getVersion()
           
 boolean isAutoIncrement()
           
 boolean isNullable()
           
 boolean isPrimaryKey()
           
 void setBuffer_length(int v)
          Set the value of buffer_length.
 void setChar_octet_length(int v)
          Set the value of char_octet_length.
 void setColumn_def(java.lang.String v)
          Set the value of column_def.
 void setColumn_name(java.lang.String v)
          Set the value of column_name.
 void setColumn_size(int v)
          Set the value of column_size.
 void setData_type(short v)
          Set the value of data_type.
 void setData()
           
 void setDataVector(java.util.Vector v)
          Set the value of dataVector.
 void setDecimal_digits(int v)
          Set the value of decimal_digits.
 void setIs_nullable(java.lang.String v)
          Set the value of is_nullable.
 void setNullable(int v)
          Set the value of nullable.
 void setNum_prec_radix(int v)
          Set the value of num_prec_radix.
 void setOrdinal_position(int v)
          Set the value of ordinal_position.
 void setPrimaryKey(java.sql.DatabaseMetaData dmd)
           
 void setRemarks(java.lang.String v)
          Set the value of remarks.
 void setSchema(java.lang.String v)
           
 void setSql_data_type(int v)
          Set the value of sql_data_type.
 void setSql_datetime_sub(int v)
          Set the value of sql_datetime_sub.
 void setTable_cat(java.lang.String v)
          Set the value of table_cat.
 void setTable_name(java.lang.String v)
          Set the value of table_name.
 void setTable_schem(java.lang.String v)
          Set the value of table_schem.
 void setType_name(java.lang.String v)
          Set the value of type_name.
 void setValues(java.sql.DatabaseMetaData dmd, java.lang.String db, java.lang.String schema, java.lang.String table, java.lang.String column)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleColumnInfo

public SingleColumnInfo()

SingleColumnInfo

public SingleColumnInfo(java.util.Vector v)
Parameters:
v - Vector contains: String, String,String,String,Short,String,Integer,Integer,Integer,Integer,Integer, String,String,Integer,Integer,Integer,String

SingleColumnInfo

public SingleColumnInfo(java.sql.DatabaseMetaData dmd,
                        java.lang.String db,
                        java.lang.String schema,
                        java.lang.String table,
                        java.lang.String column)

SingleColumnInfo

public SingleColumnInfo(java.sql.DatabaseMetaData dmd,
                        java.lang.String db,
                        java.lang.String table,
                        java.lang.String column)
Method Detail

getVersion

public java.lang.String getVersion()

setSchema

public void setSchema(java.lang.String v)

getSchema

public java.lang.String getSchema()

getTable_cat

public java.lang.String getTable_cat()
Get the value of table_cat.

Returns:
Value of table_cat.

setTable_cat

public void setTable_cat(java.lang.String v)
Set the value of table_cat.

Parameters:
v - Value to assign to table_cat.

getTable_schem

public java.lang.String getTable_schem()
Get the value of table_schem.

Returns:
Value of table_schem.

setTable_schem

public void setTable_schem(java.lang.String v)
Set the value of table_schem.

Parameters:
v - Value to assign to table_schem.

getTable_name

public java.lang.String getTable_name()
Get the value of table_name.

Returns:
Value of table_name.

setTable_name

public void setTable_name(java.lang.String v)
Set the value of table_name.

Parameters:
v - Value to assign to table_name.

getColumn_name

public java.lang.String getColumn_name()
Get the value of column_name.

Returns:
Value of column_name.

setColumn_name

public void setColumn_name(java.lang.String v)
Set the value of column_name.

Parameters:
v - Value to assign to column_name.

getData_type

public short getData_type()
Get the value of data_type.

Returns:
Value of data_type.

setData_type

public void setData_type(short v)
Set the value of data_type.

Parameters:
v - Value to assign to data_type.

getType_name

public java.lang.String getType_name()
Get the value of type_name.

Returns:
Value of type_name.

setType_name

public void setType_name(java.lang.String v)
Set the value of type_name.

Parameters:
v - Value to assign to type_name.

getColumn_size

public int getColumn_size()
Get the value of column_size.

Returns:
Value of column_size.

setColumn_size

public void setColumn_size(int v)
Set the value of column_size.

Parameters:
v - Value to assign to column_size.

getBuffer_length

public int getBuffer_length()
Get the value of buffer_length.

Returns:
Value of buffer_length.

setBuffer_length

public void setBuffer_length(int v)
Set the value of buffer_length.

Parameters:
v - Value to assign to buffer_length.

getDecimal_digits

public int getDecimal_digits()
Get the value of decimal_digits.

Returns:
Value of decimal_digits.

setDecimal_digits

public void setDecimal_digits(int v)
Set the value of decimal_digits.

Parameters:
v - Value to assign to decimal_digits.

getNum_prec_radix

public int getNum_prec_radix()
Get the value of num_prec_radix.

Returns:
Value of num_prec_radix.

setNum_prec_radix

public void setNum_prec_radix(int v)
Set the value of num_prec_radix.

Parameters:
v - Value to assign to num_prec_radix.

getNullable

public int getNullable()
Get the value of nullable.

Returns:
Value of nullable.

isNullable

public boolean isNullable()

setNullable

public void setNullable(int v)
Set the value of nullable.

Parameters:
v - Value to assign to nullable.

getRemarks

public java.lang.String getRemarks()
Get the value of remarks.

Returns:
Value of remarks.

setRemarks

public void setRemarks(java.lang.String v)
Set the value of remarks.

Parameters:
v - Value to assign to remarks.

getColumn_def

public java.lang.String getColumn_def()
Get the value of column_def.

Returns:
Value of column_def.

setColumn_def

public void setColumn_def(java.lang.String v)
Set the value of column_def.

Parameters:
v - Value to assign to column_def.

getSql_data_type

public int getSql_data_type()
Get the value of sql_data_type.

Returns:
Value of sql_data_type.

setSql_data_type

public void setSql_data_type(int v)
Set the value of sql_data_type.

Parameters:
v - Value to assign to sql_data_type.

getSql_datetime_sub

public int getSql_datetime_sub()
Get the value of sql_datetime_sub.

Returns:
Value of sql_datetime_sub.

setSql_datetime_sub

public void setSql_datetime_sub(int v)
Set the value of sql_datetime_sub.

Parameters:
v - Value to assign to sql_datetime_sub.

getChar_octet_length

public int getChar_octet_length()
Get the value of char_octet_length.

Returns:
Value of char_octet_length.

setChar_octet_length

public void setChar_octet_length(int v)
Set the value of char_octet_length.

Parameters:
v - Value to assign to char_octet_length.

getOrdinal_position

public int getOrdinal_position()
Get the value of ordinal_position.

Returns:
Value of ordinal_position.

setOrdinal_position

public void setOrdinal_position(int v)
Set the value of ordinal_position.

Parameters:
v - Value to assign to ordinal_position.

getIs_nullable

public java.lang.String getIs_nullable()
Get the value of is_nullable.

Returns:
Value of is_nullable.

setIs_nullable

public void setIs_nullable(java.lang.String v)
Set the value of is_nullable.

Parameters:
v - Value to assign to is_nullable.

getDataVector

public java.util.Vector getDataVector()
Get the value of dataVector.

Returns:
Value of dataVector.

setDataVector

public void setDataVector(java.util.Vector v)
Set the value of dataVector.

Parameters:
v - Value to assign to dataVector.

setPrimaryKey

public void setPrimaryKey(java.sql.DatabaseMetaData dmd)

isAutoIncrement

public boolean isAutoIncrement()

isPrimaryKey

public boolean isPrimaryKey()

setData

public void setData()

setValues

public void setValues(java.sql.DatabaseMetaData dmd,
                      java.lang.String db,
                      java.lang.String schema,
                      java.lang.String table,
                      java.lang.String column)

getImportedKeys

public java.lang.String getImportedKeys()

getExportedKeys

public java.lang.String getExportedKeys()