|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.radrails.db.internal.ui.Database
Represents a Database in the DataNavigator.
| Constructor Summary | |
Database(java.lang.String databaseName,
Project parent)
Creates a new Database. |
|
| Method Summary | |
void |
addTable(Table table)
Adds a table to this database. |
void |
clear()
Clears this database of all tables. |
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 |
removeTable(Table table)
Removes a table from this database. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Database(java.lang.String databaseName,
Project parent)
databaseName - The name of the database.parent - The parent of the database.| Method Detail |
public IDatabaseElement getParent()
IDatabaseElement
getParent in interface IDatabaseElementIDatabaseElement.getParent()public void addTable(Table table)
table - The table to add.public void removeTable(Table table)
table - The table to remove.public java.lang.Object[] getChildren()
IDatabaseElement
getChildren in interface IDatabaseElementIDatabaseElement.getChildren()public boolean hasChildren()
IDatabaseElement
hasChildren in interface IDatabaseElementtrue if this element has children,
false otherwise.IDatabaseElement.hasChildren()public java.lang.String getName()
IDatabaseElement
getName in interface IDatabaseElementIDatabaseElement.getName()public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||