Class symantec.itools.db.beans.dbnav.model.item.ConnectionItem
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.db.beans.dbnav.model.item.ConnectionItem
Object
|
+----symantec.itools.db.beans.dbnav.model.item.ConnectionItem
- public class ConnectionItem
- extends Object
- implements DataItem
The class represents the Connection node of dbNavigator tree
- Version:
- 1.0 06/13/98
- Author:
- Hristo Tonev
-
databaseMetaData
- Database meta data
-
userName
- cache java.sql.DatabaseMetaData.getUserName() return value
-
symantec.itools.db.beans.dbnav.model.item.ConnectionItem()
- Default constructor
-
symantec.itools.db.beans.dbnav.model.item.ConnectionItem(DatabaseMetaData, String, boolean)
-
-
getDatabaseMetaData()
-
-
getUserName()
-
-
getUserOnly()
-
-
setDatabaseMetaData(DatabaseMetaData)
-
-
setUserName(String)
-
-
setUserOnly(boolean)
-
-
toString()
- This method return the string that gets displayed
in the tree for the root node
databaseMetaData
protected java.sql.DatabaseMetaData databaseMetaData
- Database meta data
userName
protected java.lang.String userName
- cache java.sql.DatabaseMetaData.getUserName() return value
ConnectionItem
protected ConnectionItem()
- Default constructor
ConnectionItem
public ConnectionItem(DatabaseMetaData dbmd,
String userName,
boolean userOnly)
getDatabaseMetaData
public synchronized java.sql.DatabaseMetaData getDatabaseMetaData()
getUserName
public synchronized java.lang.String getUserName()
getUserOnly
public synchronized boolean getUserOnly()
setDatabaseMetaData
protected synchronized void setDatabaseMetaData(DatabaseMetaData databaseMetaData)
setUserName
protected synchronized void setUserName(String userName)
setUserOnly
public synchronized void setUserOnly(boolean userOnly)
toString
public java.lang.String toString()
- This method return the string that gets displayed
in the tree for the root node
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index