Tag: cws_src680_qiq User: fs Date: 2006/06/27 01:06:06 Modified: dba/dbaccess/qa/complex/dbaccess/CRMDatabase.java
Log: some docs File Changes: Directory: /dba/dbaccess/qa/complex/dbaccess/ ============================================= File [changed]: CRMDatabase.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/CRMDatabase.java?r1=1.1.2.1&r2=1.1.2.2 Delta lines: +13 -3 -------------------- --- CRMDatabase.java 26 Jun 2006 21:10:50 -0000 1.1.2.1 +++ CRMDatabase.java 27 Jun 2006 08:06:03 -0000 1.1.2.2 @@ -4,9 +4,9 @@ * * $RCSfile: CRMDatabase.java,v $ * - * $Revision: 1.1.2.1 $ + * $Revision: 1.1.2.2 $ * - * last change: $Author: fs $ $Date: 2006/06/26 21:10:50 $ + * last change: $Author: fs $ $Date: 2006/06/27 08:06:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -45,6 +45,10 @@ import connectivity.tools.HsqlDatabase; import connectivity.tools.HsqlTableDescriptor; +/** implements a small Customer Relationship Management database + * + * Not finished, by far. Feel free to add features as you need them. + */ public class CRMDatabase { private XMultiServiceFactory m_orb; @@ -52,6 +56,8 @@ private DataSource m_dataSource; private XConnection m_connection; + /** constructs the CRM database + */ public CRMDatabase( XMultiServiceFactory _orb ) throws Exception { m_orb = _orb; @@ -63,12 +69,16 @@ } // -------------------------------------------------------------------------------------------------------- + /** returns the database document underlying the CRM database + */ public final HsqlDatabase getDatabase() { return m_database; } // -------------------------------------------------------------------------------------------------------- + /** returns the default connection to the database + */ public final XConnection getConnection() { return m_connection; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
