|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enableit.db.Column
Represent a database column.
Intended only as a helper to the DataLoader class (perhaps should have been an inner class).
Field Summary | |
static java.lang.String |
ABOUT
CVS info about this class and its current version |
Constructor Summary | |
Column()
Default Constructor. |
|
Column(java.lang.String name)
Constructor that sets the column's name. |
|
Column(java.lang.String name,
java.lang.String datatype)
Constructor that sets the column's name and datatype. |
Method Summary | |
java.lang.String |
getDatatype()
|
java.lang.String |
getName()
|
void |
setDatatype(java.lang.String datatype)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ABOUT
Constructor Detail |
public Column()
public Column(java.lang.String name)
name
- The column name.public Column(java.lang.String name, java.lang.String datatype)
name
- The column name.datatype
- The column datatype (database type name, not Java name).Method Detail |
public void setDatatype(java.lang.String datatype)
public java.lang.String getName()
public java.lang.String getDatatype()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |