Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.imaginary.sql.msql.MsqlColumn

java.lang.Object
  |
  +--com.imaginary.sql.msql.MsqlColumn

public class MsqlColumn
extends java.lang.Object
This class holds meta information about mSQL columns in a result set.
Last modified $Date: 1999/07/06 05:55:58 $

Version:
$Revision: 1.6 $
Author:
George Reese (borg@imaginary.com)

Method Summary
java.lang.String getColumnName()
           
int getLength()
           
int getMsqlType()
           
int getSQLType()
           
java.lang.String getTableName()
           
boolean isNullable()
           
boolean isPrimaryKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

getColumnName

public java.lang.String getColumnName()
Returns:
the name of this column

getLength

public int getLength()
Returns:
the maximum length for this column

getMsqlType

public int getMsqlType()
Returns:
the mSQL type for this column from MsqlTypes
See Also:
MsqlTypes

getSQLType

public int getSQLType()
Returns:
the SQL type for this column from Types
See Also:
java.sql.Types

getTableName

public java.lang.String getTableName()
Returns:
the name of the table from which this column comes

isNullable

public boolean isNullable()
Returns:
true if this column is nullable, false otherwise

isPrimaryKey

public boolean isPrimaryKey()
Returns:
true if this column is part of a unique index

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD