|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties
org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.ReverseDbTreeNode
org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.DBMetaCatalogNode
This node represents a catalog of the database. Its children are DBMetaSchemaNode objects.
| Field Summary | |
static java.lang.String |
ATT_CATALOG_NAME
Attribute key for the accessing the catalog name |
(package private) static long |
serialVersionUID
|
| Fields inherited from class org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.ReverseDbTreeNode |
alChildren |
| Fields inherited from class org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties |
propertyChangeDelegate |
| Constructor Summary | |
DBMetaCatalogNode(java.sql.DatabaseMetaData pdbMeta,
DatabaseMetaDataTreeModel pdbMetaTreeModel,
DBMetaRootNode prootNode,
java.lang.String pstrCatalogName)
Creates a new instance of DBMetaCatalogNode. |
|
| Method Summary | |
protected boolean |
_load()
Loads the schemas associated to this catalog. |
boolean |
getAllowsChildren()
|
java.lang.String |
getCatalogName()
Convenience access method for the catalog name. |
java.lang.Class |
getPropertyEditorClass()
Return the property editor class for this PropertyEditorTarget. |
boolean |
isLeaf()
|
java.lang.String |
toString()
If the catalog name is specified, returns the catalog name, otherwise a constant string indicating that the catalog name is emtpy (which is legal for some databases, e.g. |
| Methods inherited from class org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.ReverseDbTreeNode |
children, getChildAt, getChildCount, getDbMeta, getDbMetaTreeModel, getIndex, getParent, load, loadWait |
| Methods inherited from class org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties |
addPropertyChangeListener, addPropertyChangeListener, getAttribute, removePropertyChangeListener, removePropertyChangeListener, setAttribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
public static final java.lang.String ATT_CATALOG_NAME
| Constructor Detail |
public DBMetaCatalogNode(java.sql.DatabaseMetaData pdbMeta,
DatabaseMetaDataTreeModel pdbMetaTreeModel,
DBMetaRootNode prootNode,
java.lang.String pstrCatalogName)
pdbMeta - DatabaseMetaData implementation where this node gets its data from.pdbMetaTreeModel - The TreeModel this node is associated to.prootNode - The parent node for this node.pstrCatalogName - The name of the catalog this node is representing. Some databases do not supports
catalogs, therefore null values are allowed for this parameter| Method Detail |
public boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeisLeaf in class ReverseDbTreeNodeReverseDbTreeNode.isLeaf()public boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodegetAllowsChildren in class ReverseDbTreeNodeReverseDbTreeNode.getAllowsChildren()public java.lang.String getCatalogName()
public java.lang.String toString()
Object.toString()public java.lang.Class getPropertyEditorClass()
PropertyEditorTarget
getPropertyEditorClass in interface PropertyEditorTargetprotected boolean _load()
_load in class ReverseDbTreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||