org.radrails.db.internal.ui
Interface IDatabaseElement

All Known Implementing Classes:
Column, Database, Project, Table

public interface IDatabaseElement


Method Summary
 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.
 

Method Detail

getName

public java.lang.String getName()
Gets the name of the element.

Returns:
The name of the element.

getParent

public IDatabaseElement getParent()
Gets the parent of this element.

Returns:
The IDatabaseElement that contains this element.

getChildren

public java.lang.Object[] getChildren()
Gets all of the children of this element.

Returns:
An Object[] of the children belonging to this element.

hasChildren

public boolean hasChildren()
Checks if this object has any children.

Returns:
true if this element has children, false otherwise.