All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.tudarmstadt.ito.xmldbms.Column

java.lang.Object
   |
   +----de.tudarmstadt.ito.xmldbms.Column

public class Column
extends Object
Describes a column; not for general use.

Column contains information about a column in a table. The table is not named; instead, Columns are included in Tables and ColumnMaps.

In the future, this should contain information about the nullability of the column as well. This will be used when creating CREATE TABLE statements.


Variable Index

 o length
Length of the column.
 o name
Name of the column.
 o number
Number of the column, starting with 1.
 o type
Data type of the column.

Constructor Index

 o Column()
 o Column(String, int, int, int)

Variables

 o name
 public String name
Name of the column.

 o number
 public int number
Number of the column, starting with 1. Currently used only in Rows.

 o type
 public int type
Data type of the column. This must be one of the values in java.sql.Types.

 o length
 public int length
Length of the column. Used only for character and binary data.

Constructors

 o Column
 public Column()
 o Column
 public Column(String name,
               int number,
               int type,
               int length)

All Packages  Class Hierarchy  This Package  Previous  Next  Index