net.sourceforge.sqlunit.test.mock
Class ColumnMetaData

java.lang.Object
  extended by net.sourceforge.sqlunit.test.mock.ColumnMetaData

public class ColumnMetaData
extends java.lang.Object

Container for Column Metadata information.

Version:
$Revision: 1.2 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
ColumnMetaData()
          Constructs an empty ColumnMetaData object.
ColumnMetaData(java.lang.String columnName, int columnType)
          Constructs a ColumnMetaData object with its member variables.
 
Method Summary
 java.lang.String getColumnName()
          Gets the column name for this object.
 int getColumnType()
          Gets the column type for this object.
 void setColumnName(java.lang.String columnName)
          Sets the column name for this object.
 void setColumnType(int columnType)
          Sets the column type for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnMetaData

public ColumnMetaData()
Constructs an empty ColumnMetaData object.


ColumnMetaData

public ColumnMetaData(java.lang.String columnName,
                      int columnType)
Constructs a ColumnMetaData object with its member variables.

Parameters:
columnName - the name of the column.
columnType - the SQL type of the column.
Method Detail

setColumnName

public final void setColumnName(java.lang.String columnName)
Sets the column name for this object.

Parameters:
columnName - the column name.

getColumnName

public final java.lang.String getColumnName()
Gets the column name for this object.

Returns:
the column name.

setColumnType

public final void setColumnType(int columnType)
Sets the column type for this object.

Parameters:
columnType - the SQL type for the column.

getColumnType

public final int getColumnType()
Gets the column type for this object.

Returns:
the SQL type for the column.