ru.smartflex.tools.dbf
Class DbfColumn

java.lang.Object
  extended by ru.smartflex.tools.dbf.DbfColumn

public class DbfColumn
extends java.lang.Object

The class DbfColumn is responsible for xBase field definition.

Since:
1.00
Author:
galisha

Constructor Summary
DbfColumn(java.lang.String columnName, DbfColumnTypes dbfColumnType, int width, int dec)
          Constructs a newly allocated DbfColumn object that represents xBase field.
 
Method Summary
 java.lang.String getColumnName()
          Returns column name.
 DbfColumnTypes getDbfColumnType()
          Returns type of column.
 java.lang.String toString()
          toString method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbfColumn

public DbfColumn(java.lang.String columnName,
                 DbfColumnTypes dbfColumnType,
                 int width,
                 int dec)
Constructs a newly allocated DbfColumn object that represents xBase field.

Parameters:
columnName - column name
dbfColumnType - enumeration for column type
width - column width
dec - column scale ( in other words amount point after comma )
Since:
1.00
Method Detail

getDbfColumnType

public DbfColumnTypes getDbfColumnType()
Returns type of column.

Returns:
type of column
Since:
1.05

getColumnName

public java.lang.String getColumnName()
Returns column name.

Returns:
column name
Since:
1.05

toString

public java.lang.String toString()
toString method

Overrides:
toString in class java.lang.Object
Since:
1.07