|
|||||||||
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.DBMetaTableNode
This class represents a table within a database.
Field Summary | |
static java.lang.String |
ATT_TABLE_NAME
Key for accessing the table name in the attributes Map |
(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 | |
DBMetaTableNode(java.sql.DatabaseMetaData pdbMeta,
DatabaseMetaDataTreeModel pdbMetaTreeModel,
DBMetaSchemaNode pschemaNode,
java.lang.String pstrTableName)
Creates a new instance of DBMetaSchemaNode |
Method Summary | |
protected boolean |
_load()
Loads the columns for this table into the alChildren list. |
boolean |
getAllowsChildren()
|
java.lang.Class |
getPropertyEditorClass()
Return the property editor class for this PropertyEditorTarget. |
DBMetaSchemaNode |
getSchema()
Convenience access method to the schema this table is associated to. |
java.lang.String |
getTableName()
Convenience access method for the table name. |
boolean |
isLeaf()
|
java.lang.String |
toString()
|
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_TABLE_NAME
Constructor Detail |
public DBMetaTableNode(java.sql.DatabaseMetaData pdbMeta, DatabaseMetaDataTreeModel pdbMetaTreeModel, DBMetaSchemaNode pschemaNode, java.lang.String pstrTableName)
pdbMeta
- DatabaseMetaData implementation where this node gets its data from.pdbMetaTreeModel
- The TreeModel this node is associated to.pschemaNode
- The parent node for this node.pstrTableName
- The name of the table this node is representing.Method Detail |
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class ReverseDbTreeNode
ReverseDbTreeNode.isLeaf()
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class ReverseDbTreeNode
ReverseDbTreeNode.getAllowsChildren()
public java.lang.String getTableName()
public java.lang.String toString()
Object.toString()
public DBMetaSchemaNode getSchema()
public java.lang.Class getPropertyEditorClass()
PropertyEditorTarget
getPropertyEditorClass
in interface PropertyEditorTarget
protected boolean _load()
_load
in class ReverseDbTreeNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |