|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.colle.sql.schema.Column
Model abstraction of a column in a relational table. Created: 21 Feb 2001
Constructor Summary | |
(package private) |
Column(org.jdom.Element pxData,
Table pxTable)
Constructs a column in a relational table from a node in a DOM tree. |
Method Summary | |
String |
getCompoundName()
Returns the compound name of the column. |
String |
getCreateSQL()
Returns a string that would best define this column in 'create table' SQL statement. |
int |
getLength()
Returns the length of the column. |
String |
getName()
Returns the name of the column. |
String |
getType()
Returns the type of the column. |
boolean |
isNullable()
Returns true if the column is nullable. |
boolean |
isSequence()
Returns true if the column is a sequence counter. |
void |
sequence(Connection pxConnection)
Creates and initializes the sequence in the database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Column(org.jdom.Element pxData, Table pxTable)
Method Detail |
public String getName()
public String getCompoundName()
public String getType()
public int getLength()
public boolean isNullable()
public boolean isSequence()
public void sequence(Connection pxConnection)
public String getCreateSQL()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |