org.onemind.commons.java.sql
Class Field

java.lang.Object
  extended byorg.onemind.commons.java.sql.Field

public class Field
extends java.lang.Object

A Field contains meta infomration of a field in the database table

Version:
$Id: Field.java,v 1.2 2004/08/26 12:33:18 thlee Exp $ $Name: $
Author:
TiongHiang Lee (thlee@onemindsoft.org)

Constructor Summary
Field(java.lang.String name, int type)
          create a new field with name name and type type
 
Method Summary
 java.lang.String getName()
          return the name of the field
 int getType()
          get the type of the field
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Field

public Field(java.lang.String name,
             int type)
create a new field with name name and type type

Parameters:
name - the name
type - the type
Method Detail

getName

public java.lang.String getName()
return the name of the field

Returns:
the name

getType

public int getType()
get the type of the field

Returns:
the type

toString

public java.lang.String toString()



Copyright © 2004-2006 . All Rights Reserved.