Package com.nt.udc.db
Class DBInfo
java.lang.Object
com.nt.udc.db.DBInfo
- All Implemented Interfaces:
com.nt.common.util.Persistable
,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDBInfo()
DBInfo
(String inDriverName, String inProtocol, String inSubname, String inUserId, String inPassword) Preferred Constructor for the class.DBInfo
(String inDriverName, String inProtocol, String inHost, String inSubsubname, String inUserId, String inPassword) Preferred Constructor for the class. -
Method Summary
-
Constructor Details
-
DBInfo
public DBInfo(String inDriverName, String inProtocol, String inSubname, String inUserId, String inPassword) Preferred Constructor for the class.- Parameters:
inDriverName
- The JDBC Driver name for the specfic RDBMSinProtocol
- 2nd componenet of the standard JDBC URL "jdbc:subprotocol:subname"inSubname
- 3rd component of standard JDBC URLinPassword
- Database passwordinUserid
- Userid for this Database
-
DBInfo
public DBInfo(String inDriverName, String inProtocol, String inHost, String inSubsubname, String inUserId, String inPassword) Preferred Constructor for the class.- Parameters:
inDriverName
- The JDBC Driver name for the specfic RDBMSinProtocol
- 2nd componenet of the standard JDBC URL "jdbc:subprotocol:subname"inHost
- Generally, combined with subsubname to make up subname component of standard JDBC URLinSubsubname
- Generally, combined with host to make up subname component of standard JDBC URLinPassword
- Database passwordinUserid
- Userid for this Database
-
DBInfo
-
DBInfo
public DBInfo()
-
-
Method Details
-
getDriverName
-
getSubProtocol
-
getSubName
-
getHost
-
getSubSubName
-
getUserId
-
getPassword
-
parseLine
-
toLine
- Specified by:
toLine
in interfacecom.nt.common.util.Persistable
-
fromLine
- Specified by:
fromLine
in interfacecom.nt.common.util.Persistable
-