|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IColumn
Column
models a column of a table.Method Summary | |
---|---|
java.lang.String |
getDefaultValue()
Returns the default value or null if none. |
java.lang.String |
getName()
Returns the column name. |
java.lang.String |
getOwnerTable()
Return the owner table name. |
java.lang.String |
getRemarks()
Returns the explanatory remarks set on the column or null if none |
int |
getScale()
Return the scale of the column. |
ITable |
getTable()
Return the owner table. |
java.lang.String |
getTypeName()
Returns the string represenation of the columns dataType. |
java.lang.String |
getUserType()
Return the user type. |
int |
getWidth()
Returns the width of the column. |
boolean |
isForeignKey()
Returns true if this IColumn is part of a
foreign key constraint. |
boolean |
isNullable()
Returns true if this IColumn is nullable. |
boolean |
isPrimaryKey()
Returns true if this IColumn is part of a
primary key constraint. |
boolean |
isUnique()
Returns true if this IColumn is part of a
unique constraint. |
void |
setTable(ITable table)
Set the owner table. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getDefaultValue()
int getWidth()
int getScale()
java.lang.String getTypeName()
boolean isForeignKey()
IColumn
is part of a
foreign key constraint.
boolean isNullable()
IColumn
is nullable.
boolean isPrimaryKey()
IColumn
is part of a
primary key constraint.
boolean isUnique()
IColumn
is part of a
unique constraint.
java.lang.String getRemarks()
java.lang.String getUserType()
java.lang.String getOwnerTable()
ITable getTable()
void setTable(ITable table)
table
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |