org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel
Class DBMetaRootNode
java.lang.Object
org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties
org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.ReverseDbTreeNode
org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.DBMetaRootNode
- All Implemented Interfaces:
- PropertyEditorTarget, java.io.Serializable, javax.swing.tree.TreeNode
- public class DBMetaRootNode
- extends ReverseDbTreeNode
- implements java.io.Serializable
This is the root node for the DatabaseMetaTreeModel. Its children are
DBMetaCatalogNode objects.
- Version:
- $Id: DBMetaRootNode.java,v 1.4 2004/01/07 11:41:20 thma Exp $
- Author:
- Florian Bruckner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
DBMetaRootNode
public DBMetaRootNode(java.sql.DatabaseMetaData pdbMeta,
DatabaseMetaDataTreeModel pdbMetaTreeModel)
- Creates a new instance of DBMetaRootNode
- Parameters:
pdbMeta
- DatabaseMetaData implementation where this node gets its data from.pdbMetaTreeModel
- The TreeModel this node is associated to.
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interface javax.swing.tree.TreeNode
- Specified by:
isLeaf
in class ReverseDbTreeNode
- See Also:
ReverseDbTreeNode.isLeaf()
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interface javax.swing.tree.TreeNode
- Specified by:
getAllowsChildren
in class ReverseDbTreeNode
- See Also:
ReverseDbTreeNode.getAllowsChildren()
toString
public java.lang.String toString()
- See Also:
Object.toString()
getPropertyEditorClass
public java.lang.Class getPropertyEditorClass()
- Description copied from interface:
PropertyEditorTarget
- Return the property editor class for this PropertyEditorTarget. Depending
on the GUI implementation this could for example be an extension of
JPanel. The Property editor is responsible for the layout, so the property
editor has to know which properties this target has.
- Specified by:
getPropertyEditorClass
in interface PropertyEditorTarget
_load
protected boolean _load()
- Loads the catalogs of this database.
- Specified by:
_load
in class ReverseDbTreeNode
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14