org.pentaho.di.ui.core.database.dialog
Class XulDatabaseExplorerModel

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerModel
All Implemented Interfaces:
org.pentaho.ui.xul.XulEventSource

public class XulDatabaseExplorerModel
extends org.pentaho.ui.xul.XulEventSourceAdapter


Nested Class Summary
static class XulDatabaseExplorerModel.XulDatabaseExplorerNode
           
 
Constructor Summary
XulDatabaseExplorerModel(DatabaseMeta aDatabaseMeta)
           
 
Method Summary
 DatabaseExplorerNode findBy(String aSchema, String aTable)
          Finds the node.
 XulDatabaseExplorerModel.XulDatabaseExplorerNode getDatabase()
           
 DatabaseMeta getDatabaseMeta()
           
 String getSchema()
           
 DatabaseExplorerNode getSelectedNode()
           
 String getTable()
           
 void setDatabase(XulDatabaseExplorerModel.XulDatabaseExplorerNode aDatabase)
           
 void setSelectedNode(DatabaseExplorerNode selectedNode)
           
 
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XulDatabaseExplorerModel

public XulDatabaseExplorerModel(DatabaseMeta aDatabaseMeta)
Method Detail

getDatabaseMeta

public DatabaseMeta getDatabaseMeta()

getDatabase

public XulDatabaseExplorerModel.XulDatabaseExplorerNode getDatabase()

setDatabase

public void setDatabase(XulDatabaseExplorerModel.XulDatabaseExplorerNode aDatabase)

getTable

public String getTable()

getSchema

public String getSchema()

findBy

public DatabaseExplorerNode findBy(String aSchema,
                                   String aTable)
Finds the node.

Parameters:
aSchema - can be null
aName - can be null
Returns:
node

getSelectedNode

public DatabaseExplorerNode getSelectedNode()

setSelectedNode

public void setSelectedNode(DatabaseExplorerNode selectedNode)