|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.radrails.db.internal.ui.Table
Represents a Table in the DataNavigator.
Constructor Summary | |
Table(java.lang.String tableName,
Database database)
Creates a new Table. |
Method Summary | |
void |
addColumn(Column column)
Adds a column to this table. |
java.lang.Object[] |
getChildren()
Gets all of the children of this element. |
java.lang.String |
getName()
Gets the name of the element. |
IDatabaseElement |
getParent()
Gets the parent of this element. |
boolean |
hasChildren()
Checks if this object has any children. |
void |
removeColumn(Column column)
Removes a column from this table. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Table(java.lang.String tableName, Database database)
tableName
- The name of the table.database
- The database this table belongs in.Method Detail |
public void addColumn(Column column)
column
- The column to add.public void removeColumn(Column column)
column
- The column to remove.public IDatabaseElement getParent()
IDatabaseElement
getParent
in interface IDatabaseElement
IDatabaseElement.getParent()
public java.lang.Object[] getChildren()
IDatabaseElement
getChildren
in interface IDatabaseElement
IDatabaseElement.getChildren()
public boolean hasChildren()
IDatabaseElement
hasChildren
in interface IDatabaseElement
true
if this element has children,
false
otherwise.IDatabaseElement.hasChildren()
public java.lang.String getName()
IDatabaseElement
getName
in interface IDatabaseElement
IDatabaseElement.getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |